🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.basic.visual.3rdparty
Article #44

Re: Creating Dll's from functions in modules

#44
From: David Wise
Date: Sat, 14 Mar 1998 00:00
28 lines
1997 bytes

There are a number of ways but the easiest is to:
- create a new class
- move all of your functions into that class as public members
- set the Instancing property of the class to 'Global Single Use'
- compile as an ActiveX library.

Simply add the DLL to the references in your other projects to have those 
functions available.


----------------------------------------
> How can I take all my functions and procedures i have in a module in VB5, and put it in a DLL?
> If possible, do I then use the same function name as the declaration of the function in the dll?
> 
> Please add my email to CC when replying.
> Thanks for help
> 
> TeeBee
> TeeBee@geocities.com

-- 

David Wise
dwise5@fordYspam.com

(to reply, remove the Yspam from the address)
Technical Details
Message-ID: <MPG.f74db09cdf85e129896a9@news.ford.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6edtpt$gms@news1.saix.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 108062,92f41f7eb5b8a3b4
X-Google-Attributes: gid108062,public
X-Google-Thread: 1143a7,92f41f7eb5b8a3b4
X-Google-Attributes: gid1143a7,public
X-Google-Thread: 11dbad,92f41f7eb5b8a3b4
X-Google-Attributes: gid11dbad,public
X-Google-Thread: 10b213,92f41f7eb5b8a3b4
X-Google-Attributes: gid10b213,public
X-Google-Thread: 110e3b,92f41f7eb5b8a3b4
X-Google-Attributes: gid110e3b,public
X-Google-Thread: f7033,92f41f7eb5b8a3b4
X-Google-Attributes: gidf7033,public
X-Google-Thread: f5f6f,92f41f7eb5b8a3b4
X-Google-Attributes: gidf5f6f,public
X-Google-Thread: 11427d,92f41f7eb5b8a3b4
X-Google-Attributes: gid11427d,public
From: dwise5@fordYSpam.com (David Wise)
Subject: Re: Creating Dll's from functions in modules
Date: 1998/03/14
Message-ID: <MPG.f74db09cdf85e129896a9@news.ford.com>
X-Deja-AN: 334113858
References: <6edtpt$gms@news1.saix.net>
Organization: Ford Motor Company
Newsgroups: comp.lang.basic.visual.3rdparty,comp.lang.basic.visual.database,comp.lang.basic.visual.misc,comp.os.ms-windows.programmer.controls,cz.comp.lang.basic.visual,microsoft.public.usasalesinfo.developer.visualbasic,microsoft.public.vb.controls,pl.comp.la