Dll

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

What i have to do to make an dll in VB, and than have acecess to the functions in the dll, from another aplications
How i export the functions in the dl

Thaks
 
* "=?Utf-8?B?TWFyY28gQ2FybmVpcm8=?= said:
What i have to do to make an dll in VB, and than have acecess to the functions in the dll, from another aplications?
How i export the functions in the dll

If you are referring to native DLLs which export functions -- this
cannot be done with VB.NET.
 
Marco Carneiro said:
What i have to do to make an dll in VB, and than have acecess to the
functions in the dll, from another aplications?
How i export the functions in the dll

In (VB).NET we are building applications made of classes and objects. That's
why it is not possible to write "native" DLLs anymore. Design your
class/object model, put it in a Classlibrary and reference it from another
project. OOP is said to be closer to the way of human thinking.
 
OOP is said to be closer to the way of human thinking.

Yep. All we need to do now is to get some humans (namely code monkeys like
me) to start thinking for a change ;)
 
Trev Hunter said:
Yep. All we need to do now is to get some humans (namely code monkeys
like me) to start thinking for a change ;)

Why now? I did in VB4 (or 5?). ;) - or in those OO languages that existed
even before VB came out (or got popular). :) (man, I was SO disappointed
that VB5 still didn't support inheritance..)
 
Why now? I did in VB4 (or 5?). ;)

I was referring to "thinking" in general, not "thinking" in OO terms ;)
There are too many times I catch myself doing things without thinking it
through properly :S
(man, I was SO disappointed
that VB5 still didn't support inheritance..)

Just because the language doesn't support it, doesn't mean you can't do it.
Inheritance by delegation, while very error prone and a lot of work could be
done (strongly typed collections in VB6 via delegating the _NewEnum method
for an example). I wouldn't like to do it often or with big base classes
though ;)

Trev
 
Back
Top