🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: a.bsu.programming
Article #86790

Re: VB and DLL's

#86790
From: William Harvey
Date: Tue, 14 Jan 1997 00:00
47 lines
2762 bytes
"Gavin W. Landon" <gavin1@airmail.net> wrote:

The reason for putting the "guts" of the program in a DLL written in
another language and using VB for the front end is primarily speed and
also versatility.

VB handles repeated calculations and loop very slowly when compared to
the same thing done in C or borland pascal.  For example, a routine I
did for generating fractals took almost 5 minutes on my 100dx to
finish.  By putting all the computations in a dll writting using BP
V7, I cut the time down to just over 2 minutes and this was without
doing any other optimizations.

>K,

>( 1 ) What are the advantages of putting the guts of the program in DLLs
>and putting the RC files in the EXE.. Or the other way around..
>Or better said.. When designing a system what criteria is used to make a
>decision about what goes into a DLL & why?

>( 2 ) We have a prototype of the program in VB4 16 bit..  We would like  to
>use this as a front end and use VC 1.52 as the back end..   What is the
>best way to do this or is it easier to just do the whole thing over in VC..

>This is a 16 bit app only!

>( 3 ) What are the considerations regarding DLL & OOD?

>( 4 ) Does VB auto unload DLL's when done useing the function?


>L8r,
>Gavin W. Landon
><work>
>gavin1@airmail.net
>Custom Programming Service Inc.

><personal>
>chizl@gte.net

-------------------------------------------------------
William
wharvey@texas.net
http://www.texas.net/~wharvey
team-OS2
------------------------------------------------------
Technical Details
Message-ID: <5bfcm4$p55@news3.texas.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <01bc0174$57606320$a6477cce@internetamerica.airmail.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fa40b,f11e495252c5100e
X-Google-Attributes: gidfa40b,public
X-Google-Thread: f5380,f11e495252c5100e
X-Google-Attributes: gidf5380,public
X-Google-Thread: 10385a,f11e495252c5100e
X-Google-Attributes: gid10385a,public
X-Google-Thread: 10804c,f11e495252c5100e
X-Google-Attributes: gid10804c,public
X-Google-Thread: fc8d0,f11e495252c5100e
X-Google-Attributes: gidfc8d0,public
X-Google-Thread: 107d8b,f11e495252c5100e
X-Google-Attributes: gid107d8b,public
X-Google-Thread: 11431d,f11e495252c5100e
X-Google-Attributes: gid11431d,public
X-Google-Thread: 102bfa,f11e495252c5100e
X-Google-Attributes: gid102bfa,public
From: wharvey@texas.net (William Harvey)
Subject: Re: VB and DLL's
Date: 1997/01/14
Message-ID: <5bfcm4$p55@news3.texas.net>
X-Deja-AN: 209749756
references: <01bc0174$57606320$a6477cce@internetamerica.airmail.net>
organization: Texas Networking, Inc.
newsgroups: a.bsu.programming,adass.iraf.programming,alt.2600.programz,alt.comp.shareware.programmer,alt.msdos.programmer,alt.mud.programming,alt.sb.programmer,alt.winsock.programming,amiga.amok.programmer,amiga.ml.amitcp.programmer,bfm.programmers.cvs-upda