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.

Newcomers DBPro Corner / Writing DLLs for enhanced

Author
Message
Arkheii
21
Years of Service
User Offline
Joined: 15th Jun 2003
Location: QC, Philippines
Posted: 29th Jan 2004 13:53
I've tried, and failed. It's a shame that the source for the DLL example had to be in freak Delphi, which I don't understand. Me wants simple C++ example. Can anyone help? Thanks.

Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 30th Jan 2004 04:20
Umm, the example on this website is written for C++.

I can't remember if Delphi is interpreted or not, but if it isn't, then it probably looks just like C.

"eureka" - Archimedes
zircher
21
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 30th Jan 2004 05:13
Delphi is compiled and is pascal-like.

Arkheii
21
Years of Service
User Offline
Joined: 15th Jun 2003
Location: QC, Philippines
Posted: 30th Jan 2004 10:14
I was talking about the example that came along in the help file. Look:



That is 100% delphi if you ask me. Is there any dll written on c++ in this site? All I found were those that didn't work.

waffle
22
Years of Service
User Offline
Joined: 9th Sep 2002
Location: Western USA
Posted: 2nd Feb 2004 09:42
before anyone can help you, you need to provide more information:

Which Compiler are you using?
Show sample code ?

Show a DLL source that you have compiled that works with other
laguages but not with DB....
Did you remember to use standard call or whatever (CDEC) to properly declare your DLL?

Whats the DB code you are using to call your DLL?
Are you trying to do a plug-in or a regular DLL?
Whats your string resource look like?

For demo DLL C++ projects, most C++ compiler sites have them.
Post here to get help on converting existing DLL projects for use by DB.

internet gaming group
current project http://home.comcast.net/~norman.perry/Archon.html
comando 300
20
Years of Service
User Offline
Joined: 23rd Nov 2003
Location:
Posted: 5th Feb 2004 00:11
DLL's are function files for the programs(like call it when the user click a button or something) or what?

Is just of those days when you don't wanna wake up everything is *****, everybody sucks you really don't know why, but you wanna justify rippin' someone head off!
waffle
22
Years of Service
User Offline
Joined: 9th Sep 2002
Location: Western USA
Posted: 5th Feb 2004 01:57
camando300

DLL are windows third party command files....
some can be used as plug-ins (native DBPro commands)
while most are simply external commands like the windows API.
Basically, if you do not know what they are, you probably don't need them ..... yet.

internet gaming group
current project http://home.comcast.net/~norman.perry/Archon.html

Login to post a reply

Server time is: 2024-09-21 21:16:00
Your offset time is: 2024-09-21 21:16:00