|
-
August 3rd, 2006, 10:00 PM
#1
A Win32 Dll Question
Dear All:
I using MFC 6.0 to build a "Win32 Dynamic Link Library", and output "a.dll, a.lib" files . The dll file exports functions to used.
After finished it , I use "a.dll a.lib a.h" in another MFC project and build an .exe file correctly(the exe file is build with "using MFC in static lib"). It works well in my OS , and I can use the .exe to control an instrument.
Problem occur:
If I use debug mode to create dll & lib file, and using the two files to buile the .exe file, it work will in my OS and another OS(the new OS doesn't install VC 6.0).
But if I use released mode to create dll & lib file, and using the two file to build .exe file, it's just work will in my OS, not in the new OS.
What is the problem!? Please help me~~ ><
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|