Click here to Skip to main content
15,887,371 members

Comments by martin_bisson (Top 1 by date)

martin_bisson 30-Jan-12 16:38pm View    
Deleted
As a matter of fact, it doesn't work across DLL boundaries. See http://www.codeproject.com/Articles/159454/A-Type-safe-Generic-Pointer?msg=3843433#xx3843433xx for a similar discussion.

I ended up using a one time hash of the string class name as the class ID to solve this problem. I guess you could also use some compile-time hash using clever meta-programming...