• Welcome to Valhalla Legends Archive.
 

FFS!

Started by QwertyMonster, March 14, 2005, 01:33 PM

Previous topic - Next topic

QwertyMonster

Quote from: Blaze on March 15, 2005, 03:04 PM
If I were you, I would declare the dll if its always being used, but it if was a plugin of a sort, that changes, I would do the create object method.


Public Declare Sub Connect Lib "MyDLL"()

vs

Dim Obj1 As Object
Set Obj1 = CreateObject("BNLC.BNLCCore")

--

Connect

vs

Obj1.Connect



Ahh i see! The only thing im now thinking about is, what would the user put in his code in order to use my .dll :-\


The

dim blah as object
SetObject = blah blah(" blah blah ")


Would the person put that?

Blaze

Both of the two ways I posted before would work for them.
Quote
Mitosis: Haha, Im great arent I!
hismajesty[yL]: No

QwertyMonster

Execelent! Im 100% understand. Now Somebody, do NOT delete this topic. Else ill murder somebody!

Gotta hand it to you Blaze, ur good at teaching.

Thanks Blaze and all others who helped!  :-*  :-*

NetNX

I learned to do this from an example on pscode.com they accually have some well written examples and some pretty cool idea's i suggest you check it out if your still alittle unsure on what your doing.

QwertyMonster

Quote from: NetNX on March 16, 2005, 09:27 AM
I learned to do this from an example on pscode.com they accually have some well written examples and some pretty cool idea's i suggest you check it out if your still alittle unsure on what your doing.

Thanks NetNx. I heard pscode is a good website, ill check it out when i get some free time! :P