hi,
If you have made an xpcom component , then why are you trying to allocate it using new ? Should you not be using the CID (CLSID) instead?
If you are trying to use your class *in* an xpcom object, then I guess all you have missed is a #include.
hth
gangadhar
none wrote:
I built my own xpcom component and wanted to reuse the class ProfileStruct defined in nsProfileAccess.h.
For example:
ProfileStruct* profileItem = new ProfileStruct();
// using profileItem... //


I got an error about undefined reference to `ProfileStruct::ProfileStruct[in-charge]()' during compilation.

How can I fix this?

Thanks,
Adele

_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to