On 10/26/09 4:49 AM, graniteglory wrote: > 3. I can not find MFCEmbed anywhere including "mozilla-1.9.1/embedding/ > tests"
MFCEmbed was very old, unmaintained and broken code and has been removed. > 4. Other tests (winEmbed, wxEmbed) do not compile correctly or VC++ > project does not convert or work wxEmbed is also unmaintained and broken, and has been removed in later versions. winEmbed does work, last I checked, but I don't know about any VC++ project file: it probably only builds with the standard mozilla makefiles. > 6. I searched google and read mozilla developer document. It is > confusing and not very up to date. Which document did you read? > 1. Do I need to download firefox source code for this task ? Not necessarily, I think you can probably just use the https://developer.mozilla.org/En/Gecko_SDK and prebuilt XULRunner binaries. > 2.4 (yes or no) MozillaBuildSetup-Latest.exe (ftp://ftp.mozilla.org/ > pub/mozilla.org/mozilla/libraries/win32/) If you are using MSVC projects to build your code, you probably don't need mozillabuild. > 3. Is there simple gecko sample application with VC solution/project > where I can look how to do ? Is it MFCEmbed or winEmbed ? No, there is not. But you can probably get things working by reading the winEmbed code and copying the bits that are relevant to you and creating your own MSVC project file. See https://developer.mozilla.org/en/XPCOM_Glue for the compile and linker flags you'd need to use. Note that this is not a common usage any more, so there aren't going to be a lot of examples out there to follow. Feel free to ask followup questions in this newsgroup if you get stuck. > 4. Is there binary Win32 gecko I can get without compiling firefox > myself for embedding task ? Yes, it's called XULRunner. --BDS _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
