Tau wrote:
Because vc8 uses MFC80.dll, and many PCs don't have these libraries...
So I wonder if I can use vs2005's IDE to write a vc6 program? I mean
just using mfc42.dll, etc...to make it runnable on other machines.
Thanks in advance.
It is possible to certain extent. Microsoft keeps LIB format pretty much
compatible across generations of VC++ and I have successfully used
MSVCRT.DLL and MFC42.DLL with VS2003 and VS2005 on smaller utilities,
then CArray broke my code :)
Anyway, the method is:
1. Get VC6 libraries (e.g. from Windows 2003 DDK available for nominal
S&H fee from MS)
2. Disable "Buffer security check" in project property page -> C++ ->
Code Generation
3. Add path to your VC6 include files in C++ ->General -> Additional
Include Directories (e.g. C:\WINDDK\3790\inc\mfc42)
4. Add path to your VC6 libraries in Linker -> General -> Additional
Library Directories (e.g. C:\WINDDK\3790\lib\w2k\i386)
Good luck
Roman Ziak