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.

Geek Culture / How do you make a dll? (no, I'm not a n00b.)

Author
Message
TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 20th Sep 2003 03:23
I know the questions sounds like one a n00b would make, but I couldn't find the information anywhere else. So, if anybody has ever made a dll in VB can you tell me how to export a function? I've been trying for a LOOOOOOONG time to no end.
I've followed the instructions that come with VB and I just can't get the activeX dll to export it's functions. What am I supposed to do?

I need an animator!!! HELP ME!!
DrakeX
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location:
Posted: 20th Sep 2003 05:18
you can't use VB DLLs in DB.. just not possible

stop looking at me!
TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 20th Sep 2003 05:36
oh.
so...what am I supposed to make dlls in? VC++?

I need an animator!!! HELP ME!!
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 20th Sep 2003 05:37
VC++
Delphi
PureBasic
PowerBasic

Visual Basic DLLs are not DLLs in the traditional sense, they are ActiveX controls.

TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 20th Sep 2003 06:00 Edited at: 20th Sep 2003 06:01
I thought there was a difference...
thanks for the help.

I need an animator!!! HELP ME!!
Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 20th Sep 2003 06:51
I think VB.NET may be an exception, DLL's made in VB.NET are no longer ActiveX but are now based on the .NET Framework so it could be possible to make one in VB.NET as long as the Framework is installed, we won't know for sure though until it's tested.


"Computers are useless they can only give you answers."
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 20th Sep 2003 14:33
They don't work either.

Think of .NET DLLs as the next evolution of ActiveX ...
TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 20th Sep 2003 15:13
Does anybody know how to program with winsock in vc++? I've never tried. I've always used VB for programming net related stuff.

I need an animator!!! HELP ME!!
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 20th Sep 2003 20:48
can one get PureBASIC or PowerBASIC for free? And which of those would you guys recommend, and why?

I may at some point want to make some slick dll's but I don't program in any C based lang, just VB6, VB.NET, some DBP

Thanks

-RUST-
lagmaster
22
Years of Service
User Offline
Joined: 26th Aug 2002
Playing:
Posted: 20th Sep 2003 22:25
i can create a example dll in delphi if you want.

vb is not my thing

lagmasteruk - lagmaster.net is alive! r.nash@ntlworld.com
specs: new specs: amd xp 2000+, 512mb ram, ati radeon 9000 pro dvi, 180gb total hdd capasity, custom built
TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 20th Sep 2003 23:21 Edited at: 20th Sep 2003 23:24
Can you program winsock in Delphi?
I want to make a DLL that will use winsock to handle multiplayer without a master server. Actually, there will be a master server but only for finding the other player's IP. It'll probably be faster than the multiplayer commands that come with DB. And it'll be perfect for an MMORPG.

I need an animator!!! HELP ME!!
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 20th Sep 2003 23:30
thanks lagmasteruk but I'll pass for now _ I already prog in forms of basic, so I just need to know about availability of those basics vs. $$.

Thanks tho
I have VC++ and C# enterprise studio so if down the road I want to endeavor into the world of C I have a route. But I will make note of your offer - any examples, when trying to learn, are always helpful, just not at this juncture.

Thanks!
C_RUST

-RUST-
empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 21st Sep 2003 00:39
Quote: "Can you program winsock in Delphi?"


Yes.

I awoke in a fever. The bedclothes were all soaked in sweat.
She said "You've been having a nightmare and it's not over yet"
lagmaster
22
Years of Service
User Offline
Joined: 26th Aug 2002
Playing:
Posted: 21st Sep 2003 01:18
client/server sockets spring to mind

comes with most versions of delphi.

lagmasteruk - lagmaster.net is alive! r.nash@ntlworld.com
specs: new specs: amd xp 2000+, 512mb ram, ati radeon 9000 pro dvi, 180gb total hdd capasity, custom built
MushroomHead
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 21st Sep 2003 03:07 Edited at: 21st Sep 2003 03:13
Quote: "can one get PureBASIC or PowerBASIC for free? And which of those would you guys recommend, and why?"


You can get a demo of PureBasic on their website, I use PowerBasic. In terms of speed, both BASICs should be fast as they're written in assembler. As for which one to get, it depends on you ... if you're on a tight budget and want multi-platform support, PureBasic might be right for you. Additionally PureBasic uses NASM inline assembly whereas PowerBasic uses MASM ... I prefer MASM syntax. PowerBasic contains some influence of the old A500 AmigaBASIC/Amiga ACE and most people on their forums come from a M68000 background ... it's a little pricy too.
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 21st Sep 2003 03:51 Edited at: 21st Sep 2003 03:52
Hey Rust,

I am learning C++ with VC++ 6.0 Enterprise and maybe we could help each other out, be cool to learn C++ with someone. Hard to do it by yourself

Got a knack for finding secrets??? Jingot Racing --- A new brand of Racing --- Only from Nightwatch Studios
"hey, it's tomorrow" --- Hamish

Login to post a reply

Server time is: 2024-09-20 13:32:21
Your offset time is: 2024-09-20 13:32:21