Incidently, "program.exe" is a VB program, with Declare Function Blah Lib "wayne.dll" in it - Im not sure if VB exes load with an import table or through LoadLibary, or...
But I think (and I know PB works this way) if a procedure is DECLAREd with a "LIB" in it and is used, that DLL will be in the import table and is loaded when the program starts, and must be present to allow the program to even start up.
See the PB CALL DWORD in the help file; it shows that when you declare the function prototype you do NOT use a "LIB" clause, so the DLL will not have to be present to run.
(I am using this "loadlibrary" method on my current project. There are three separate DLLs you can use with the product; you only get those you license. But all the rest of the code is common, so it will load and run even if you have no "component" DLLs.) (It don't do much then, but it DOES run and tells you no options are installed).
MCM
* If you get a Streamwood IL address for Prudens, Inc. in the ZIP file, it's bad (my check was returned). The correct address is in Schaumburg IL.
Leave a comment: