[Gambas-user] Explicitly load a library

adamnt42 at ...626... adamnt42 at ...626...
Mon May 29 05:30:23 CEST 2017


Is there any way to explicitly load a library similar to loading a component via Component.Load(name as String)?

I want to load a library used by another project and determine the exposed classes in the library. It's for a code generator.

So, my "target" project, say "AuctionCalendar" uses the "horse4.gambas" library. My code generator "GenCode2" interrogates the .project file for AuctionCalendar and can load any components it uses and determine the exposed classes therein. But I can't find a way to do the same for the horse4 library.  Note, I can't use the source project for horse4 because it may not match the installed version, so I need to get the classes out of the executable archive. 

-- 
B Bruen <adamnt42 at ...3379... (sort of)>




More information about the User mailing list