VC++6.0->VC++.NET
-
I've got troubles to build a project (in debug mode): under VC++6.0 it works very well, but when I try to compile it on another PC with VC++.NET, I got some link issues: mfc libs were missing (msc42d.lib, mscn42D.lib....). When I finally got all that missing dlls, I had this message: "external unresolved: _iid_iactivescriptdebug" and "external unresolved: _iid_iactivescriptparse". Wich I suppose are defined in another (more recent) version of these dlls. Anyway, does anybody have a clue to this pb. Maybe I didn't install well the .NET software, but I reinstalled it with all the options I found, and it didn't help... Please HELP..............
-
I've got troubles to build a project (in debug mode): under VC++6.0 it works very well, but when I try to compile it on another PC with VC++.NET, I got some link issues: mfc libs were missing (msc42d.lib, mscn42D.lib....). When I finally got all that missing dlls, I had this message: "external unresolved: _iid_iactivescriptdebug" and "external unresolved: _iid_iactivescriptparse". Wich I suppose are defined in another (more recent) version of these dlls. Anyway, does anybody have a clue to this pb. Maybe I didn't install well the .NET software, but I reinstalled it with all the options I found, and it didn't help... Please HELP..............
I'm sorry I used the word DLL, but it is LIB that I meant: I had all the dll required, only LIBs were missing
-
I've got troubles to build a project (in debug mode): under VC++6.0 it works very well, but when I try to compile it on another PC with VC++.NET, I got some link issues: mfc libs were missing (msc42d.lib, mscn42D.lib....). When I finally got all that missing dlls, I had this message: "external unresolved: _iid_iactivescriptdebug" and "external unresolved: _iid_iactivescriptparse". Wich I suppose are defined in another (more recent) version of these dlls. Anyway, does anybody have a clue to this pb. Maybe I didn't install well the .NET software, but I reinstalled it with all the options I found, and it didn't help... Please HELP..............
VC++ .NET installs the MFC version 7.1 files on your computer. These files are 'almost' backwards compatible with the MFC version 4.2 ones, which are installed by VC++ 6.0. You should modify your project settings to include mfc71d.lib and mfcs71d.lib, respectively (Yes, you have typoed there). The reason that your builds fail might be because you're using a interface definitions that are possibly deprecated (== not supported anymore). The only option is to go through the code and change these to the appropriate, supported values. Because it's a linker error, you should use a feature like "Find in Files..." in the IDE. If these are, like I believe, GUID identifiers of COM interfaces, you can always use the command
__uuidof( _interface name_ )
to return the GUID where needed. This command always gets the correct GUID for the current file version, regardless of what version you're using. -Antti Keskinen ---------------------------------------------- The definition of impossible is strictly dependant on what we think is possible.