Re: [GD-General] Missing DLL: MSVCP70.DLL
Brought to you by:
vexxed72
From: <cas...@ya...> - 2003-06-22 23:12:29
|
Colin Fahey wrote: > Okay, I downloaded discreet's "VC7 memory wrapper for 3ds max 5.1" > and looked at it. > > So, if I wanted to eliminate dependency on MSVCR70.DLL and MSVCP70.DLL > would I have to wrap all C runtime functions, compile with VC6 in to a > DLL, and then only use my wrapped functions? > > That seems like a lot of work. Would it also be a speed hit > (indirect function calls)? No, you only have to wrap the functions that do memory allocations, like strdup. The discreet documentations says it's strcpy, but I belive that's a bug... But now that I think about it, that doesn't fix your problem, because you still have to provide msvcrt70.dll :-P > There isn't, say, a compiler switch, like: /vc6 ? :-) Note, that the only problem is just that vc7 is linking with a different runtime library. What you can do, is to put MSVCRT70.LIB in the ignored list, and add msvc6's MSVCRT.LIB to the library list. That's a bit dirty, but it 'might' work. I haven't tried that myself, though. Ignacio Castaño cas...@ya... |