Sign in to follow this  

HGE based .exe runs fine on my computer, but crashes on others [SOLVED]

This topic is 3633 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

I've started programming in VC++ express 2008 with the HGE library. I've written a simple app to try out the compiler, and while it runs fine on my machine (running Windows Vista 64bit Home Premium), it gives the following error message when my friend tries to run it on his computer (WinXP pro SP2): "The application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem." I have supplied the hge.dll file and the single graphic file required by the app. Any idea what might have caused this? I assume it's somewhere in the compiler setting, but I don't know where to start. I could upload the project file / .exe if you think that would be necessary. Thanks! [Edited by - padli on January 6, 2008 12:29:15 PM]

Share this post


Link to post
Share on other sites
I don't know the solution to your problem (and I don't know what HGE is either), but: did you perhaps compile it as 64bit, but trying to run it on a 32bit version of windows? Just a thought.

Share this post


Link to post
Share on other sites
I've thought about that, but since I'm new to VC++ I'm not sure how to set it to compile in 64-bit/32-bit mode. If the default was 64-bit, then that might be it. I'll look around the docs for the setting, thanks for reminding me.

EDIT: Also, HGE is Haaf's Game Engine, to avoid any ambiguity.

Share this post


Link to post
Share on other sites
I have no idea, since I do not normally use VC++. I figured since you are running Windows 64bit and it runs on your machine, perhaps the default is whatever your machine is.

I guess google is your friend regarding VC++. Also, perhaps this will help.

EDIT: Another thought - is the hge.dll file which you are providing for your friends computer perhaps a 64bit version? That would explain why it complains about a "incorrect configuration".

Share this post


Link to post
Share on other sites
"64-bit tools are not available on Visual C++ Express Edition by default. To enable 64-bit tools on Visual C++ Express Edition, install the Windows Software Development Kit (SDK) in addition to Visual C++ Express Edition. Otherwise, an error occurs when you attempt to configure a project to target a 64-bit platform using Visual C++ Express Edition."

Well, I guess this rules out 32/64-bit incompatibility as the cause, since I'm completely sure I didn't manually configure it to build 64-bit apps.

EDIT: The hge.dll was not custom built, but provided with the dev kit, so it is certainly 32-bit.

Share this post


Link to post
Share on other sites

This topic is 3633 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this