I found it out myself:

In order to link properly, you have to set the flag "/Zc:wchar_t-" 
(Treat wchar_t as Built-In Type: NO).

Florian


Florian Winkler schrieb:
> bob_me schrieb:
>> Maybe I'm missing a library or a preprocessor flag? Any ideas are
>> welcome.
>>
>> When I build winEmbed via Mingw32 the executable gets compiled and
>> linked correctly, but it's not running. I only get the message "You
>> are embedded, man!".
>>
> Hi bob,
> 
> this problem is due to the fact that winembed is making use of 
> XUL_Runner at runtime, i.e. it loads XULRunner dll's when winembed 
> starts. For that to work, the dll's have to be found which can be 
> accomplished by registering XULRunner to the system (registry).
> You can do that by going to the dist/bin folder of your compiled 
> XULRunner and executing "xulrunner --register-global".
> After that, try running winembed. You will see it will start up and show 
> you a browser-like window.
> By the way: to unregister XULRunner from your system, execute
> "xulrunner --unregisrer-global".
> 
> BUT: the Linker errors you mentioned also occur for me. Have you found a 
> solution to that? I am slowly getting nuts here.
> I also used VC8 (VS2005) and want to compile winembed with it.
> 
> Cheers
> 
> Florian
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to