Menu

#100 Runtime library linkage error

open
nobody
win32 (16)
5
2010-01-21
2010-01-21
No

Compiled program does not run on WindowsXP (compiled on the same system). Program is simple Hello world (3 lines), compilation and linking succeed without warnings. Though when trying to run executable it does the following:
On WinXP Home SP2 it ends immediately with error (I'm translating from Polish): "Executing this appliaction has failed, because MSVCR80.dll was not found. Reinstalling this application may solve a problem."
If this file is supplied from another program, error changes to: "Runtime error! Program: (full path) R6034 An application has made an attempt to load the C runtime library incorrectly. Please contact the application's support team for more information." And then (translating again) "Application has not been properly initialized (0xc0000142). Click OK to terminate it."
What's funny: If you uninstall Unicon and try running it again it shows the same error like the first time, but this time "libjpeg.6.dll" is missing (and I have none to try it).
On WinXP Professional SP3 (on VirtualBox) and with less applications installed it displays the second message (with Runtime error) and after uninstalling Unicon that about "libjpeg.6.dll".
I compile it both running "unicon" and "wicont -s -c" the results are the same.
If run from GUI... it works apparently. Though executable created this way does the same as described above.
I'm talking about binary version from the site. Didn't manage to compile latest CVS revision.

Discussion


Log in to post a comment.