Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Issues with running a compiled DarkGDK 2.0 program on other computers.

Author
Message
bergice
17
Years of Service
User Offline
Joined: 5th Jun 2007
Location: Oslo,Norway
Posted: 18th Jun 2013 22:59
Hey, I have been working on a project with DarkGDK 2.0 on my pc. It compiles and runs fine on my pc.

However when trying to run it on other computers it first complains about the dlls:

MFC71.DLL
MSVCR71.DLL


After adding those to the project it tries to initialize the gdkengine.dll and the program crashes on this part:



Here is the crash details:

Quote: "Problem Event Name: BEX
Application Name: Program.exe
Application Version: 0.0.0.0
Application Timestamp: 51c0b96a
Fault Module Name: StackHash_55bd
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Offset: PCH_04_FROM_ntdll+0x00016954
Exception Code: c0000005
Exception Data: 00000008
OS Version: 6.2.9200.2.0.0.256.48
Locale ID: 2068
Additional Information 1: 55bd
Additional Information 2: 55bdb125e5f5eebba32ff4470f6d6db1
Additional Information 3: d8e7
Additional Information 4: d8e728cfa3b4627b86f2920172200c49"



Any help will be greatly appreciated!!!
Rudolpho
18
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Sweden
Posted: 19th Jun 2013 02:41
Don't add them to the project, just drop them in the same folder as your executable.
Works for me


"Why do programmers get Halloween and Christmas mixed up?"
bergice
17
Years of Service
User Offline
Joined: 5th Jun 2007
Location: Oslo,Norway
Posted: 19th Jun 2013 03:03
Sorry for being unspecific, by saying that I meant that I put the dll's in the project folder.

I did some more digging and found out that running the program without the matrix utils plugins it worked without any errors, except my project relies on it so I need it to work.

The gdkengine.dll is compiled with newton, matrix utils and ezrotate. Excluding matrix utils made it run.

So I think the problem lies with the matrix utilities plugin. It works fine on the compiling computer, but when I tried it on my laptop or my friends computer it stops working.
Rudolpho
18
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Sweden
Posted: 19th Jun 2013 13:17 Edited at: 19th Jun 2013 13:20
Ah, hmm... well I don't use M1U with DGDK2 so I can't really say about that. It sounds weird if they would not work together though, both being just external dll calls.
I suppose there's no informative stack trace or error messages?

Edit: the BEX error seems to stand for buffer overflow exception.
Is it possible that you have an error in your program where you're writing out of bounds to some array / memory block and that that just doesn't happen to affect your program (yet!) until you include M1U?


"Why do programmers get Halloween and Christmas mixed up?"

Login to post a reply

Server time is: 2024-11-18 21:52:00
Your offset time is: 2024-11-18 21:52:00