I am using VStudio Express 2005 (VC++) with Platform SDK, and Allegro programs I build work fine. However, the tools ask for MSVCR80.DLL and will not run. The example programs give a runtime error too. Is there a trick with using Express and Allegro I don't know about?
Thanks a bunch!
Larry.
Locate MSVCR80.DLL on your hard drive and put it in c:\windows\system32.
OK, that solved that problem but now I get immediately after:
"Microsoft Visual C++ Runtime Library"
Runtime Error
R6034
An application has made an attempt to load the C runtime library incorrectly.
Thank you for the 1rst fix, any ideas now?
Larry.
All of your .exe files that were built with MSVC8 during the "make" process should have .manifest files with them. If the .manifest file is missing, it won't work. Your MSVC8 applications you make within the IDE work fine because the manifest is embedded inside the exe file.
You could just download the Tools & Examples from http://www.allegro.cc/files/.
I am using Allegro from that page. It is the tools that are precompiled that give me the errors. I don't understand why the grabber.exe utility for example gives me the two errors I explained before. Putting the MSVC8 lib in the system32 library solved that issue but the next error of the runtime error now happens. I wonder if I have a global variables problem?
Thank you for your time, Larry.
I don't understand why the grabber.exe utility for example gives me the two errors I explained before.
I just explained what the problem was in my previous post. I don't know why the files from the download on that page don't work. I just tested the following things:
MSVC 6.0 Application with MSVC 6.0 Allegro DLL: works fine, no .manifest needed (obviously)
MSVC 6.0 Application with MSVC 8.0 Allegro DLL: works fine, no .manifest needed
MSVC 8.0 Application with MSVC 6.0 Allegro DLL: works fine, .manifest is needed
MSVC 8.0 Application with MSVC 8.0 Allegro DLL: works fine, .manifest is needed
The examples package on the download page is made with MSVC 6, and as you see from my above tests, they should work with the Allegro DLL regardless of whether it was made with version 6 or 8.
I'm going to run more tests on some other machines, but I expect the same results.
OK on all. That really has me stumped now that I know Allegro was compiled with VS6. It should NOT be asking for MSVC8. Well tomorrow is another day! I will check back in the morning, and thanks again for your help and time.
Larry.
Using DLLs made with MSVC6 might help for now:
That fixed it! Great job! The tools load and work fine now. Thanks for your help.
Larry.