Currently I am using the statement:
#import "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\test.tlb" named_guids
But I am getting the folder path programatically. i.e., "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727"
I have to load test.tlb
from this path which resides in a variable say, folderpath
. I have to import the tlb programatically by concatenating folderpath+test.tlb
. How can I do this?