Set a COM reference in your project to the Packbuilder object.
Right-click on References in your solution pane, click "Add", and go to the COM tab.
This will do a early-binding. If you want to do a late-binding, you'll need to do several things:
1) Use tlbimp.exe to create a COM-Callable Wrapper from your .tlb file.
2) Create a co-class using the ComImport attribute, and put it in it's own assembly.
3) You can then use the System.Activator to load it dynamically at runtime.
Chip H.
____________________________________________________________________ Click here to learn Ways to help with Tsunami Relief If you want to get the best response to a question, please read FAQ222-2244 first
thanks it's work. I work on delphi 2005 with C# IDE and i had seen that if you add the .tlb to your project it's work too but your .tlb is not refenced in frame work.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.