G
Graham Charles
I've got several generic "library" routines that are used by many of my
controls & applications (things like string manipulation, generic error
handling, an "about" box generator, etc.). As I transition my apps from
VB6 to VB.NET, I'm curious about the best, most efficient way to
include those in my application. Here's what I'm considering:
1. My gut reaction is to compile these routines into separate class
libraries (AIID.SplashForm.dll, for example), and reference them from
whichever apps need them.
2. I could also include the source code right into my apps, using
SourceSafe for versioning.
Option 1 seems like it would be better, since only one version of each
set of shred library code would be loaded, no matter how many of my
apps are running. However, Option 2 might offer better performance (?),
since the code is compiled together. Or maybe that's my VB6 prejudice
coming through -- is there a performance hit in VB.NET for calling into
external DLLs?
Thanks for any advice.
controls & applications (things like string manipulation, generic error
handling, an "about" box generator, etc.). As I transition my apps from
VB6 to VB.NET, I'm curious about the best, most efficient way to
include those in my application. Here's what I'm considering:
1. My gut reaction is to compile these routines into separate class
libraries (AIID.SplashForm.dll, for example), and reference them from
whichever apps need them.
2. I could also include the source code right into my apps, using
SourceSafe for versioning.
Option 1 seems like it would be better, since only one version of each
set of shred library code would be loaded, no matter how many of my
apps are running. However, Option 2 might offer better performance (?),
since the code is compiled together. Or maybe that's my VB6 prejudice
coming through -- is there a performance hit in VB.NET for calling into
external DLLs?
Thanks for any advice.