Hi Tjaart,
Oh, I see. It sounds very cool - I hope you'll post a bit more about
what you are doing (if it's not a trade secret).
The code you need for your step 2 is in AssemblyManager.cs in the
ExcelDna.Loader project.
You should make a copy of the ResourceHelper class for your code, and
you also need copies of the compression stuff under the Source\Lzma
directory.
Then you call ResourceHelper.LoadResourceBytes(hModule, typeName,
resourceName), where
* hModule is returned from GetMoudleHandle or LoadLibrary,
* typeName is "ASSEMBLY", and
* resourceName is something like "MYLIB".
Note that I see aspects like the compression and the naming of the
embedded resources as implementation details, so these might easily
change in future versions.
You'll need to check the source again if anything gets broken.
Regards,
Govert
> >
exceldna+u...@googlegroups.com<exceldna%2Bunsubscribe@googlegroups.c om>
> > .