Richard wrote:
Found it.

I wasn't calling NS_InitEmbedding from my main thread and this is what was causing me some issues.

--Richard
"Richard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
dependant (xpcomglue_s.lib and xpcom.lib)

--Richard
"Benjamin Smedberg" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
Richard wrote:

I made the changes you sugested, which gave me a linking error with PR_GetCurrentThread. So I followed the instructions here : http://developer.mozilla.org/en/docs/XPCOM_Glue I assume after defining XPCOM_GLUE_USE_NSPR I also have to link in nspr4.lib?
Which changes did you make? Are you now using the dependent glue or the standalone glue?

--BDS




Ya, I've had some fun experience with threads in the recent past myself...they can bite you. So, have you been able to get it going now? Or are you still running into issues? I've found with a non-static build I don't have to do the component registration...just call NS_InitEmbedding () with the correct bin path and it works fine.

Niky Williams
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to