
01-26-2004, 04:40 AM
|
 |
Contributor
|
|
Join Date: Jan 2004
Location: Karlstad, Sweden
Posts: 401
|
|
Code executed at compile-time
|
Hi!
I need to have some code executed (or actually it's more like a metadata parser) at compile time. It should assign some values, for example builddate, and gather the versions and descriptions from all the loaded classes and modules ($version, $description etc.).
Is this possible using code? Is this possible by writing an addin or activex control. Is this possible *at all*? :|
One approach could perhaps be to write an addin that scans all the files and writes a .bas-file containing everything compiled as global variables or something... Or perhaps visual basic compiles from memory and not from disk? I don't know :/
|
|