Re: HELP!!! swt + mozilla (adtional questions)

jml <[email protected]> Fri, 27 Dec 2002 16:49:43 +0800
Newsgroups gmane.comp.mozilla.devel.xpcom,gmane.comp.mozilla.devel.embedding,gmane.comp.mozilla.devel.java
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
At last got some free time can play with the gecko-sdk. The first 
problem I met is: why not ToNewUnicode() part of the API? This will be 
very useful when I want to convert nsAString or nsACString to java string.

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 
> 
>