Sign in to follow this  

Compiling on windows 7 for windows Vista/XP ?

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

Hi guys,

I've been studying an issue for 24hours and I don't know how to investigate it anymore, maybe you can give me an idea of what is wrong:

I've been working on a small indy shmup, compiling and running on Windows 7 using VS 2008 (Multi-threaded DLL (/MD) C Runtime) . All is good when I test on my machine.

Now I want to send it to my friends, I built a zip and I join the openAL installer and the redistributable 2008:

http://fd.fabiensanglard.net/dEngineRelease.zip

I've setup an XP machine on the side: download the zip, install openAL and the redistributable package. And when i start the app:


FAIL...in an unusual way.

It terminates right away. No overflow, no segmentation fault, no dll missing not even the common error message when you need to download the Redistributable exe.

I've tried to load OllyDbg but it didn't help at all (at least I know the DLL are all found:

[source ]
Log data
Address Message
OllyDbg v1.10
Bookmarks sample plugin v1.06 (plugin demo)
Copyright (C) 2001, 2002 Oleh Yuschuk
Command line plugin v1.10
Written by Oleh Yuschuk

Console file 'D:\Documents and Settings\Fab\Desktop\dEngine\win32\build\dEngine.exe'
New process with ID 00000CDC created
004122F7 Main thread with ID 00000350 created
00340000 Module D:\Documents and Settings\Fab\Desktop\dEngine\win32\build\ILU.dll
00360000 Module D:\WINDOWS\system32\OpenAL32.dll
00400000 Module D:\Documents and Settings\Fab\Desktop\dEngine\win32\build\dEngine.exe
00480000 Module D:\Documents and Settings\Fab\Desktop\dEngine\win32\build\DevIL.dll
10000000 Module D:\Documents and Settings\Fab\Desktop\dEngine\win32\build\libGLES_CM.dll
76B40000 Module D:\WINDOWS\system32\WINMM.dll
77C10000 Module D:\WINDOWS\system32\MSVCRT.dll
77DD0000 Module D:\WINDOWS\system32\ADVAPI32.dll
77E70000 Module D:\WINDOWS\system32\RPCRT4.dll
77F10000 Module D:\WINDOWS\system32\GDI32.dll
78520000 Module D:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_d08d0375\MSVCR90.dll
7C800000 Module D:\WINDOWS\system32\kernel32.dll
7C900000 Module D:\WINDOWS\system32\ntdll.dll
7E410000 Module D:\WINDOWS\system32\USER32.dll
76390000 Module D:\WINDOWS\system32\IMM32.DLL
5ED00000 Module D:\WINDOWS\system32\opengl32.dll
68B20000 Module D:\WINDOWS\system32\GLU32.dll
73760000 Module D:\WINDOWS\system32\DDRAW.dll
7C918FEA Access violation when writing to [00000010]
[/source ]

I have absolutely now idea how to investigate this further. If someone could confirm that it at least working on a windows7 machine....


[Edited by - nicolasbol on September 2, 2010 7:15:57 PM]

Share this post


Link to post
Share on other sites
Well the "Access violation when writing to [00000010]" seems bad. The easiest thing would be to debug the thing right on his hardware, but if it's impossible I guess you can add some logs or more error handling to find where it goes bad.

Just for the record, I tried it and it loads a console with some tokens, then crash at "Initializing material library".

Share this post


Link to post
Share on other sites
If you cant debug on the machines in question, set it up to create a minidump which they can then send to you and allow you to debug on your machine.

From that access violation I would guess it is a null pointer, possibly because something else failed on those platforms (be sure to check return codes from Win32 API's).

Generally speaking the code should work on all the more recent Windows versions as long as you didn't do anything that depends on a certain version (eg used on of the new API's).

Share this post


Link to post
Share on other sites

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