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.

Code Snippets / making a dll

Author
Message
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 18th Feb 2004 10:40 Edited at: 18th Feb 2004 10:40
This is a very old code bit.
Just thought some ppl who want to make DLL's might like this. It's C++ code showing how to return different results.



And for someone like me, I found the bit about how to return a string useful.

"eureka" - Archimedes
Big Al
20
Years of Service
User Offline
Joined: 15th Feb 2004
Location: infront of the PC
Posted: 24th Feb 2004 23:49
uhhhh....isnt this like....a darkbasic thingie?

If quizes are quizical then what are tests?
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 25th Feb 2004 07:03
the code shows how to make a dll compatible with darkbasic

"eureka" - Archimedes
Arkheii
21
Years of Service
User Offline
Joined: 15th Jun 2003
Location: QC, Philippines
Posted: 25th Feb 2004 08:00
Does it work with DBC? I tried using call dll 1,SimpleFunction but it keeps failing. I compiled the DLL using mingw

Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 26th Feb 2004 08:06
not sure. I think maybe classic was a little different with dll's. i dont really know.

"eureka" - Archimedes
Axel Ribenkopf
20
Years of Service
User Offline
Joined: 19th Jan 2004
Location: Paris
Posted: 27th Feb 2004 15:49
If someone would have the same kind of very simple example in Virtual Basic 5.0. I would be most grateful.

I am trying to compile a dll in VB5.0 source to unse it into DBPro. Success is not guaranteed...

Thanks.

A_R
TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 5th Mar 2004 16:16
You can't make DB compatible DLL's with VisualBasic, if that's what you're talking about. I've never heard of "VirtualBasic".

Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 5th Mar 2004 17:01
Some people (I think Exeat was one) made a wrapper for VB Dlls. Check out the Darkbasic Professional forum, its in there somewhere iirc.

Its not a bug, its a feature!
TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 5th Mar 2004 17:11
Yeah, I tried that, but I felt it was more work than simply making the DLL in VC++.

Login to post a reply

Server time is: 2024-11-23 21:25:25
Your offset time is: 2024-11-23 21:25:25