I am working with vb.net .. I am new in vc++. I need to write some code in vc++ in some case. I need vc++ for following reason.
I created one dll in vb.net and make a tlb file based on vb.net dll. I import physical tlb file in my vc++ code with static value, as mentioned following.#import
"C:Documents and SettingsAnkit.assMy DocumentsVisual Studio 2010ProjectsSetupValidationProSetupValidationProinDebugSetupValidationPro.tlb" named_guids raw_interfaces_only
That's work fine.. My problem is that, I want to create a tlb file dynamically or runtime using vc++ and load that tlb file dynamically.
So, I need to embed a dll in vc++. How can I embed dll in vc++?
Now, I want to extract my embed dll to some physical file. so how can I extract my dll to physical location in vc++?
And, at the last step I want to create a tlb file dynamically using that extracted dll using vc++.. and load tlb file dynamically.
How can I achieve this?