
DLL or something like "#"#¤#"!"#
Quote:
>>Problem: I have 5 different programs with 80% the same code.
>Question: Is there a way to use smaller .EXE files and "reuse" the "same"
>code as a DLL or something???
>/ Mike
You can make a stand alone app which will contain the "same" code.
Then you can call that app from within every other application.
(this means also that you must reorganize your programs).
If there is code like functions not bounded to specific forms, you can make
an application with only a module that accepts commands from command line
(in sub main() assign Command$ to a string and break it appart)
If there is code attached to specific windows then in command line pass
also a hwnd or something which in turn will trigger the
appropiate events in the 'cut down' app.