there is a winEmbed (windows platform) application that works well.
You must get the source and compile it on mozilla.org.

-- 
B�atrice Philippe

[EMAIL PROTECTED]
"Nicolas Weber" <[EMAIL PROTECTED]> a �crit dans le message de
news:[EMAIL PROTECTED]
> Hi,
>
> I want to embed mozilla. However, all the available information on
> mozilla.org seems to be quite outdated, so I have some questions.
>
> 1. There is an embedding SDK. Is it usable or do I need to get the
> whole mozilla source?
>
> 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?
>
> 3. My long term goal is to let mozilla render html pages to an OpenGL
> texture (that means more or less rendering pages in a pixel buffer). I
> need only the HTML (and CSS, DOM and JavaScript) display capabilities.
> Can you give me a hint where to start? (Short term goal is to embed
> Moz into a win32 HWND, and this has a higher priority, though)
>
> TIA,
> Nico


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

Reply via email to