Re: [xplc-general] Re: strange behavior in xplc_ptr
Cross-platform lightweight components
Status: Alpha
Brought to you by:
pphaneuf
From: Avery P. <ape...@ni...> - 2005-08-18 20:16:12
|
On Thu, Aug 18, 2005 at 04:07:54AM -0400, Pierre Phaneuf wrote: > Finding the global component list is the trickier part, particularly in > the face of static libraries. If you don't have static libraries, you > can use static global C++ objects that registers components with the > static service handler, and you're good to go. But here goes a warning > that this doesn't work for static libraries, at least not without rather > horrid and non-portable hacks (Avery knows about them in more detail, > you could ask him). Hey, my hacks aren't non-portable. Horrid, yes. Hacks, yes. But it's just some #defines that generate extern references. Nothing fancy. wvlinkerhack.h in wvstreams. Have fun, Avery |