|
#1
|
||||
|
||||
|
Heya,
I lately started having a look at C++ again, now I finally managed to find something worth coding and I have some strange problems with that goddamn MFC and the MSVCR. Coding is fine and it compiles and runs on my comp properly. I then gave the app to some dudes via ICQ and IRC and it didn't run for about 9/10 of them :/ The problem seems to be up to the manifest that the compiler adds to the exe: Quote:
But if I also remove the VC80.CRT dependency it crashes with an error message like "unable to start blah 0x80000003". I debugged the app and I stopped at a DebugBreak() probably inside the Windows Loader's actions. It seems to load the MSVCR8.DLL but after DLLInit the DLL returns a string similar to "[...] trying to load msvcr8.dll in an inaccurate way. [...] exit". Why is that ? What is the assembly needed for ? I always thought an Import table entry for the DLL is enough :/ I found out how to 'fix' the problem, I simply bound the whole static MFC library to the app, making it 3 times as big x( Is there any other way to ensure compatible with most Windows version ? |
| Sponsored Links |
|
|