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.

DarkBASIC Professional Discussion / More questions on TPC dlls

Author
Message
Duffer
23
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 8th Nov 2003 16:16
(1) how do you make .ini files work for you in the Keywords subdirectory and what is their purpose...?

(2) how do you get more than the one command recognisable in your .dll?

anyone?
Duffer
23
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 8th Nov 2003 16:27
(3) could someone give a basic example of a two command noddy .dll ie. with what you'd have in the .ini and the c++...

if I could match that to the stuff already on the website it would certainly help...
OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 8th Nov 2003 16:50
1. They turn a command blue in the editor, and provide details on what the parameters are. The fact that its in the keyword directory determins that it lists keywords.

2. Add more strings to the string table in the DLL

Here's one of my INI files :

GETHWND=commands\handles\GETHWND.html=*No Parameters *
GETHINSTANCE=commands\handles\GETHINSTANCE.html=* No Parameters *

STRPOS$=commands\string\STRPOS.html=(string$,search$)
CHARSINNUM=commands\string\CHARSINNUM.html=(number)
FILLNUMBER$=commands\string\FILLNUMBER.html=(value,maxSize,[padCode | padString$])
ROTATESTRING$=commands\string\ROTATESTRING.html=(string$,direction)
MODSTRING$=commands\string\MODSTRING.html=(string$,position,text$)

SENDEMAIL=commands\internet\SENDEMAIL.html=(emailaddress$,emailname$,subject$,notetext$ [,attachments$])

The string file for the last command contains these two strings :

sendEMail[%DSSSSS%?sendEMail@@YAKPAD0000@Z%Send an e-mail (with or without attachments)
sendEMail[%DSSSS%?sendEMailShort@@YAKPAD000@Z%Send an e-mail (without attachments)


Avatar & Logo by Indi. Insert witty comment here...

Login to post a reply

Server time is: 2026-07-26 15:30:46
Your offset time is: 2026-07-26 15:30:46