Ok, made some progres...
> 2. What files do I need for my .exe to work? I wrote the following
> minimal program with the embedding sdk:
> #include <windows.h>
> #include "nsEmbedAPI.h"
>
> int WINAPI WinMain(HINSTANCE hInst, HINSTANCE old, LPSTR param, int
> show)
> {
> //init mozilla
> if(NS_FAILED(NS_InitEmbedding(nsnull, nsnull)))
> {
> MessageBox(NULL, "Failed to start mozilla", "", MB_OK);
> return -1;
> }
>
> //shut down mozilla
> NS_TermEmbedding();
> return 0;
> }
> NS_InitEmbedding() fails, I guess that's because it needs some more
> files. The .exe is currently alone with the four embedding dlls in a
> folder. Is documentation available on what other files are needed?
If I copy the .exe into the GRE directory (c:\program files\shared
files\mozilla.org\GRE\1.7_2004061609) it "works". Now I'll see if I
can create a browser window...
_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding