
9 Dec
2004
9 Dec
'04
11:24 a.m.
Yes, it's a valid solution. Didn't occur to me that references to classes would be allowed in extern "C". Didn't think about that issue, but that is correct. So I change to use a pointer instead of the reference. This should be correct than...
But how can I load the function than after it got mangled?
You can use the mangled name. Something like ?DLLCreate <at> <at> YA?AV?$shared_ptr <at> VInterface <at> <at> <at> boost <at> <at> XZ. :-)