Archived

This topic is now archived and is closed to further replies.

game error on other computers.

This topic is 5241 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

when my friend trys to run my game, she gets an error, a missing "MSVCIRTD.DLL" was not found. now since im not an idiot, im pretty sure that stands for microsoft visual c. the only thing is, i use nothing windows specific for my game (maybe bmps), but i use SDL for my API, so its nothing directx related. are there any includes (standard c++ inc files for vc6) that would cause them to need this file? im on XP and i think she uses 98. whats the deal? it works on my other system that runs ME. so i dont think its an XP issue. why would my game need that DLL if it is not windows specific? ps: i use #pragma once (which is vc6 exslusive) but isn''t that compiled into machine code? giving her that file doesnt seem to help! thanks!

Share this post


Link to post
Share on other sites
By the ''D'' at the end of the dll name i sense you gave her a debug exe. Don''t do that (unless you want to search for other referenced debug dlls and copy one after another).
When you installed Visual Studio/C/whatever you''ll get a lot of debug dlls in your system.
A default windows installation will only have the release versions of those, so probably she''ll have the right dll already (msvcirt.dll).

Share this post


Link to post
Share on other sites
ok. well then i have to build a release version of my game. no problem. the only thing is that when i change the configuration to Win32 Release, i get these errors:

--------------------Configuration: AeroDX2 - Win32 Release--------------------
Compiling...
main.cpp
Linking...
MSVCRT.lib(crtexe.obj) : error LNK2001: unresolved external symbol _main
Release/AeroDX2.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

AeroDX2.exe - 2 error(s), 0 warning(s)


its acting like im in a Win32 application, not a console (and it is a console). the code compiles just fine under debug. whats thae deal with that?

Share this post


Link to post
Share on other sites
quote:
Original post by Neen10do
its acting like im in a Win32 application, not a console (and it is a console).

No it''s not. It would be asking for winmain if it was. Check you don''t have any errant #ifdef _DEBUG (or some variation on that concept) in your code. Failing that, check all your project settings for both modes and see if any differ.

[ MSVC Fixes | STL Docs | SDL | Game AI | Sockets | C++ Faq Lite | Boost
Asking Questions | Organising code files | My stuff | Tiny XML | STLPort]

Share this post


Link to post
Share on other sites