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 / problems with string table...

Author
Message
Gen
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Oklahoma, USA
Posted: 20th Jan 2005 11:07
Quote: "Could not determine parameter type of 'MY COMMAND' at line 1"


I am trying to get it to return an integer. Here is the string from the string table:

Quote: "MY COMMAND[%L%?MyCommand@@YAHXZ"


Whats wrong?

Soon to come...
Dark IDE, New IDE for DarkBASIC Pro!
Two plug-ins, A Time/Date and New File commands.
Narf The Mouse
20
Years of Service
User Offline
Joined: 16th Jul 2004
Location:
Posted: 20th Jan 2005 11:36
I had a simalar problem with the 'PRINT TEXT' example. Removing the space fixed it.

Cheese!
Gen
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Oklahoma, USA
Posted: 20th Jan 2005 12:03
Still problems, same error...

Soon to come...
Dark IDE, New IDE for DarkBASIC Pro!
Two plug-ins, A Time/Date and New File commands.
Narf The Mouse
20
Years of Service
User Offline
Joined: 16th Jul 2004
Location:
Posted: 20th Jan 2005 12:26
No clue then. C++ is confusing.

Cheese!
Scilynt
22
Years of Service
User Offline
Joined: 13th Nov 2002
Location: .-#-.
Posted: 20th Jan 2005 13:59
It might be how you're calling it from DBP. If you use...

My Command()

...on it's own, then you will get the error you mentioned. If however you do something like...

A = My Command()

or

Print My Command()

...the error should go away.
Gen
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Oklahoma, USA
Posted: 20th Jan 2005 14:10
I found out what it was,

I was doing this:
My Command

But needed this:
My Command()

But now I have this fix the compiler crashes i got a bug running around, must kill

Soon to come...
Dark IDE, New IDE for DarkBASIC Pro!
Two plug-ins, A Time/Date and New File commands.

Login to post a reply

Server time is: 2024-11-23 09:45:38
Your offset time is: 2024-11-23 09:45:38