Hello. I want to write a program in windows XP platform based on xulrunner-SDK. The following is what I want the program to do.
The main() function starts two threads. Thread A starts a xulrunner application, and thread B grabs the pixels of the xulrunner window started by thread A. In thread A, I can not start the xul application from "xulrunner.exe"(That is a process, not a thread). I can only use XRE_CreateAppData() and XRE_main(). But when trying XRE_main(), a error message shows : " Platform version '' is not compatible with minVersion >= 1.8 maxVersion<=1.9 ". The platform version is empty! So, what function(s) do I have to call before XRE_main()? I copied the source from nsXULRunnerApp.cpp, but it doesn't work either. For thread B, I have no idea at all. What interfaces should I use? I have read the source code of llMozlib. But llMozlib only grabs the pixels of a browser, not an arbitrary xulrunner application and thus it helps me nothing. _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
