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 / [GDK.NET] Compiled EXE does not run on anyone else's PC

Author
Message
RanQor
17
Years of Service
User Offline
Joined: 8th Jun 2007
Location:
Posted: 14th Dec 2008 23:51
I've got a problem here that all my friends cant run the exe that is generated with GDK.net.

Just as a most basic test, I created a new project (default project template), compiled and it runs successfully on my PC(I also moved the EXE to my desktop and ran it to make sure it didnt have any File dependencies). I gave the EXE to several of my friends which actually have a good mix of Vista 32/64-bit, as well as XP 32/64bit editions.

When the test application runs, they all received a "Test.exe has stopped working".

So I told them all to install DirectX August 2008 (Redist).
No luck.
VC++ 2008 Redist
No Luck.
.NET 3.5 Redist
No Luck.
and finally a Restart
Still No Luck.

Three of them have a DirectX 10 Graphics card, and Dxdiag shows DirectX 10 installed, so I know DirectX isnt the issue (I also have DirectX 10 and it works just fine on my PC)

So I guess ultimately my question is, are there any other runtimes that I would need to install to get a GDK app to run on someone's PC?
Benjamin
22
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 15th Dec 2008 02:58
Quote: "Three of them have a DirectX 10 Graphics card, and Dxdiag shows DirectX 10 installed, so I know DirectX isnt the issue"

Well it could be an issue as GDK doesn't work with DirectX 10. Make sure they have the latest version of DirectX 9.

RanQor
17
Years of Service
User Offline
Joined: 8th Jun 2007
Location:
Posted: 15th Dec 2008 03:25
I had them all install "DirectX August 2008 (Redist)" (the latest directX redistributable from Microsoft), but like I said, I have a DirectX 10.1 graphics card as well, and it's running on my PC without problems.

Is there a GDK dll I need to include along with the exe or something?
Matt G
20
Years of Service
User Offline
Joined: 26th Oct 2004
Location: Australia
Posted: 15th Dec 2008 04:49
ill second that question, im having the exact same issue with normal dark GDK.

it would seem dark GDK/.NET has some other dependencies other than just directX.

What are they though? Anyone? TGC staff?
enablerbr
21
Years of Service
User Offline
Joined: 22nd Jun 2003
Location: United Kingdom
Posted: 15th Dec 2008 07:39
did you run DarkGDK.NET Redistributable setup.exe on the other computers. the files should be contained in the "\The Game Creators\DarkGDK.NET\Redistributable" ?
RanQor
17
Years of Service
User Offline
Joined: 8th Jun 2007
Location:
Posted: 15th Dec 2008 15:25 Edited at: 15th Dec 2008 15:33
I had no clue that I had to do that. I was under the impression that DarkGDK created a "machine code exe" which wouldn't require a redist(similar to DarkBasic Pro). I'll try that later this evening.

It may be good if they would add a link to that folder from the Start menu TGC/GDK folder and label it "DarkGDK Resdist".

Edit:
BTW - Is there anywhere on TGC's website I can download this Redist from?
AlexI
19
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 15th Dec 2008 17:29
Are you trying to run the debug version on anohter machine? Run the release verion

RanQor
17
Years of Service
User Offline
Joined: 8th Jun 2007
Location:
Posted: 15th Dec 2008 17:32
I've tried both release and debug versions on their PC's.
tiresius
22
Years of Service
User Offline
Joined: 13th Nov 2002
Location: MA USA
Posted: 15th Dec 2008 17:39
I'd definitely try the DarkGDK,Net redist next. I think that's the point of these fancy component-driven applications - they are installed "a la carte" to remain small, etc.

Of course, if it was the distribution stuff I'd expect a better error message than "Test.exe has stopped working"...

I'm not a real programmer but I play one with DBPro!
RanQor
17
Years of Service
User Offline
Joined: 8th Jun 2007
Location:
Posted: 15th Dec 2008 17:54 Edited at: 15th Dec 2008 17:55
Yeah, I think that will fix it, I just had no clue that there was a GDK Redist setting in my TGC program files.

I'll have to try it later this evening (I'm on Eastern time zone so I have several hours to go), but I'm almost 90% sure that would work. I had thought that it was a redist issue, since the application was crashing before the first line of code in Main was called.

I'll let you all know if it works.
Bishop
21
Years of Service
User Offline
Joined: 18th Dec 2002
Location: In my favorite chair...
Posted: 16th Dec 2008 00:40
Hmm...Is the redist only for .net? My VC++ executable port over to me brothers compy just fine without the redist. All he has is the current DX9.


Tux is my guildmaster.
RanQor
17
Years of Service
User Offline
Joined: 8th Jun 2007
Location:
Posted: 16th Dec 2008 01:21
The DarkGDK redist worked perfect!
tiresius
22
Years of Service
User Offline
Joined: 13th Nov 2002
Location: MA USA
Posted: 16th Dec 2008 23:27
Awesome! I still think it should have a better error message, but maybe that's out of the GDK's control... ?

I'm not a real programmer but I play one with DBPro!
RanQor
17
Years of Service
User Offline
Joined: 8th Jun 2007
Location:
Posted: 17th Dec 2008 02:47
That would be nice..

Login to post a reply

Server time is: 2024-11-25 10:00:06
Your offset time is: 2024-11-25 10:00:06