Page 1 of 1

How to use a class which is built in the Dll (Create Object)

Posted: Wed Aug 02, 2006 7:22 am
by james.chengguangwang
just like the subject! Thank you!

Posted: Tue Aug 08, 2006 7:42 am
by Peer Sommerlund
Could you post 2 snippets of code:

a) a snippet of the code that creates the class in the DLL
b) a snippet of the code that declares the class in the DLL.

Posted: Tue Aug 08, 2006 9:18 am
by james.chengguangwang
Please turn to the following URL: ... hlight=dll

And when I close the dialog, it has some problems at the line:

Code: Select all

And the messagebox display the following text:

Windows has triggered a breakpoint in EXE.exe.

This may be due to a corruption of the heap, and indicates a bug in EXE.exe or any of the DLLs it has loaded.

The output window may have more diagnostic information
I don't know why, could you help me of it ?

Posted: Tue Aug 08, 2006 9:29 am
by upCASE
Please don't double post.

Posted: Tue Aug 08, 2006 9:43 am
by james.chengguangwang
Ok, I won't do it in the future,thanks for your reminding!