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.

DLL Talk / BlueGui - Program crash/closes

Author
Message
Hayer
19
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 28th Jul 2007 19:14
Hi!
When I run the program it just closes its self..


What am i doing wrong?

Need webspace for your game?
Contact me at cpu1400@msn.com or msn (peder.husom@broadpark.no)!
Xolatron
18
Years of Service
User Offline
Joined: 12th Mar 2006
Location: The Star Forge Language: DBpro
Posted: 28th Jul 2007 19:57
Hi,

First of all, in DBpro, functions must be declared after the 'end' command (see code below). Second, BlueGUI requires the command 'startBlue "UserID","Key"', where UserID and Key are your UserID and Key that you had to type into the BlueGUI site to download it or that you were emailed by TGC.

Here's how the code should look:


Also, make sure you copy gui.dba from the BlueGUI extras folder into your program's folder and then attach it to your program by clicking on 'Files' in the project manager sidebar and then clicking 'Add New' and choosing gui.dba. This file has constant declarations that BlueGUI needs for many commands.

-Xol

Hayer
19
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 29th Jul 2007 10:29
thanks, trying to get it to work right now...

But what is userID and Key supposed to be set to?(Reading the manual atm)

Need webspace for your game?
Contact me at cpu1400@msn.com or msn (peder.husom@broadpark.no)!
Hayer
19
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 29th Jul 2007 10:37 Edited at: 29th Jul 2007 10:39
here is the current GUI code (without the function that I declare at the bottom)


Now I just get the error message "BlueGUI could not load. Wrong UserID or Key passed trough BlueGUI"...

Need webspace for your game?
Contact me at cpu1400@msn.com or msn (peder.husom@broadpark.no)!
Hayer
19
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 29th Jul 2007 11:23
omg, im so stupid.. Ofc, its supposed to be me login details on from the BlueGUI site!

Need webspace for your game?
Contact me at cpu1400@msn.com or msn (peder.husom@broadpark.no)!
Hayer
19
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Norway
Posted: 29th Jul 2007 11:25 Edited at: 29th Jul 2007 11:27
Now I get some thing about including gui.dba :s

Found the file and included it with the
#include "gui.dba"
(While in the same folder.)

But now I dont get the listbox that I created.. :s

Need webspace for your game?
Contact me at cpu1400@msn.com or msn (peder.husom@broadpark.no)!

Login to post a reply

Server time is: 2024-11-22 21:48:11
Your offset time is: 2024-11-22 21:48:11