dynamically compile typelib to resource
hi there,
has anyone done this before:
- create an activex dll in vb. (easy)
- compile it. (very easy)
- insert a stringtable to the dll (i can figure that out, thank you)
- create a typelib on the fly (in memory) with an enum (containing a few constants). - this seems rather tricky!
- insert that typelib as a resource to the dll. even better: insert it into the dlls typelib.
why bother?
i want to create an error-handler-dll with a wrapper for the Err object, similar to the version in hardcore vb. now, i want to save all errorcodes of any class i ever create in a database and update the dll with that information.
this could be fun for anyone with a thourough understanding of com :)