Statically linked build of an application that embeds Gecko using MSVC

2005-07-08 Thread Callum Prentice
Does anyone know how to build a Gecko embedding application that is statically linked against the Mozilla SDK using MSVC 6.0 or MSVC.net rather than makefiles? I understand that it's possible but everything I've tried has failed for one reason or another - any advice or examples appreciated. I kn

gecko-sdk header files trying to includ headers that are not in the sdk

2005-07-08 Thread Brian
I'm working on embedding gecko into a win32 application using mozilla 1.7.5. I've included "nsILocalFile.h" from the gecko-sdk, and it seems to be including "nsDirectoryServiceUtils.h" which is not in the gecko-sdk. It does, however, show up in mozilla/objdir/dist/include. This seems odd to me

UPDATE: I Found the problem

2005-07-08 Thread Niky Williams
Never fails...I ask for help and a few minutes later I find the problem. I wanted to update this incase anyone else ever has a similar problem. Quite simply put, I forgot to implement the nsIWebBrowserChrome::DestroyBrowserWindow() function. I was returning NS_ERROR_NOT_IMPLEMENTED instead of do