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 / dbInput don't seems to work

Author
Message
hackinc 2000
14
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: Puerto Rico
Posted: 12th Dec 2004 08:48
dbPrint Don't seems to work!

In the Documentation File:
void dbInput ( char* szStatement, int iInput )

i supose:
dbInput ("Enter your Name", Name);

When compile it said: 'dbInput' : function does not take 2 arguments
Jizzah
14
Years of Service
User Offline
Joined: 9th Dec 2004
Location:
Posted: 12th Dec 2004 12:43
Is it dbPrint not working or dbInput? I'll take a look at it, ordering the SDK now got all my questions answered perfectly.
OSX Using Happy Dude
16
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 12th Dec 2004 18:24
dbInput should be :

char* dbInput( void );

Beware the cat... The alien... The heretic...
hackinc 2000
14
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: Puerto Rico
Posted: 12th Dec 2004 22:26
The only way i dont guet any errors whit the dbInput command its if i use it like : dbInput(); alone!

So how I'm going to pass the input to a variable?
Jizzah
14
Years of Service
User Offline
Joined: 9th Dec 2004
Location:
Posted: 14th Dec 2004 12:30
I'm at work now but if the function prototype is:

char* dbInput(void);

Then you can get it into a variable by doing:

char buffer[100];
buffer = dbInput();

But I'll have to check when I get home and have access to the SDK docs. And I'll clarify a bit more.
Smithy
14
Years of Service
User Offline
Joined: 8th Dec 2004
Location: Switzerland
Posted: 16th Dec 2004 15:51
Yes,... this should work:



//Pentium IV 3200E/Prescott; 800Mhz FSB; Hyperthreading; WinXP Pro (!XP2); ATI R9700PRO; 1024MB RAM (2x 512MB "DualChanneled"; VC++; Delphi; ADSL;

Login to post a reply

Server time is: 2019-10-17 13:43:46
Your offset time is: 2019-10-17 13:43:46