I like the NS_GetStringService idea, there can have a system provided StringService, same as componentmanager -- though I understand that StringService is not "really essential" to the system.

With NS_GetStringService, the whole XPCOM system can achieve the same goal of COM/OLE as a binary standard and be language independent (I guess this is not a goal of XPCOM for now, at least it clearly says XPCOM will depend on the compiler). I would think that will be a great feature for XPCOM.

I will have a look at the sdk, if it require too much C/C++ knownledge and too much configuration time, I will give up and just use webclient :-(

Thanks

jml

Doug Turner wrote:
I am kicking around the idea of enabling the string service. See http://bugzilla.mozilla.org/show_bug.cgi?id=186564

So far, seemed I must write more C/C++ code and write my own nsAString implementation. The hardest thing then is how to set up the environment. Do I need to download all the mozilla source code and get it compiled? Or there is a set of lib file and .h file that I can download and include in my C++ project? Is there any sample or document how to set up a VC6.0 project for this?


Try the SDK. That may get you pretty far. If you just need a simple string implementation, there is a xpcom glue library that has a simple implementation of nsAString nsACString.
ftp://ftp.mozilla.org/pub/mozilla/releases/mozilla1.2.1/gecko-sdk-1.2.1-win32.zip




Reply via email to