|
-
Jun 17th, 2000, 06:00 AM
#1
Thread Starter
Member
I have a program that uses different functions for lots of different data pieces.
is it possible to have a database of code and compile and use it only as needed??
or is it possible to have a database of exe files or such and call them from the database?
any advice will be greatly appreciated
-
Jun 17th, 2000, 08:29 PM
#2
Hyperactive Member
Make a DLL
Create a DLL application and put your common pieces of code in there. Compile it once, reference it properly from your base project and call as needed. Task code should be public in a basic module, and forms can be just loaded. Deliver both pieces and regsvr32 the DLL in its final destination. I said a mouthful, but it's a start, and probably just one way to do what you want.
-
Jun 17th, 2000, 09:50 PM
#3
you can do conditional compiles like this:
#If
#then
#end if
where the computer will actually ignore some of your code depending on certain local conditions. i have yet to find a place that this would be useful.
-
Jun 18th, 2000, 08:46 PM
#4
Thread Starter
Member
compiling
umm, i have no idea how to create a DLL program and reference it. Plus i presume that would mean starting the app again from scratch which would take quite a while as it is already over 2000 lines of code and not nearly finished.
Also, if someone could explain the #if # then #else thing wossname mentioned it would help greatly as i dont have access to the MSDN help library (Scratched CDs really suck ass)
-
Jun 18th, 2000, 10:26 PM
#5
Lively Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|