> 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.
Surprising... Does this mean there is no sample project that will compile correctly under VC++ within mozilla ? Anyways, then how can I compile winEmbed using "start-msvc9" shell ? ************ winEmbed does not compile under VC++ 9 IDE ******************* > > 6. I searched google and read mozilla developer document. It is > > confusing and not very up to date. > > Which document did you read? Gecko Embedding Basics and embedding projects documentation that links. anything related to sample codes are all confusing and not up to date whatsoever. And I am not the only one who say it is out of date. > > 1. Do I need to download firefox source code for this task ? > > Not necessarily, I think you can probably just use > thehttps://developer.mozilla.org/En/Gecko_SDKand 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. Anything related to building with VC++ 9 is very vague. > > 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. Seehttps://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. I just can't believe that there is no sample code that works correctly with VC++ 9 when it comes to embedding. I have to jump through hoops to get a sample code compile with VC++ 9. Hmmm.... > > 4. Is there binary Win32 gecko I can get without compiling firefox > > myself for embedding task ? I assumed incorrectly that once firefox is installed I should be able to get a gecko embedding sample to work without anything. As it is, I have: "hg clone http://hg.mozilla.org/releases/mozilla-1.9.1/ 191src" and built it... no sample that works... I wanted to ask whether there is a packaged distribution binary to include for embedding and other update issue along side with existing firefox installation if any. At this point, I am fast losing confidence if I can even get this within reasonable time. Apparently, embedding mozilla/gecko within c++ app is more difficult and larger topic than I have initially imagined. According to several postings like: ---- http://www.nabble.com/embedding-build-in-firefox-3.*---xulrunner-1.9--td21849094.html http://groups.google.com/group/mozilla.dev.embedding/browse_thread/thread/31a22e981127c878 ---- Please someone clarify. Thanks very much _______________________________________________ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding