Re: XRE_InitEmbedding2 unidentified - compiler error

wiget <[email protected]>
Newsgroups gmane.comp.mozilla.devel.embedding
Organization http://groups.google.com
Message-ID <0259f0b3-1b18-48fc-ac39-e9f746fcb4e3@v31g2000vbs.googlegroups.com>
On 22 Sty, 00:08, Kubas <[email protected]> wrote:
> Hi,
>
> I am trying to compile new embedding API sample test application that
> I got from here:https://wiki.mozilla.org/Embedding/NewApi
>
> Compilation results in such errors:
> Error   64      error C2146: syntax error : missing ';' before identifier
> 'XRE_InitEmbedding2'    c:\!code\dev projects\mozembed\common
> \embeddingsetup.cpp     72
> Error   50      error C2039: 'ToProvidedString' : is not a member of 'nsID'     c:
> \!code\lib\xulrunner-sdk\include\nsnetutil.h    1690
>
> I can't find any information on google about "XRE_InitEmbedding2Type"
> and it's not defined anywhere in Gecko SDK include files.
> I have tried all versions of Gecko SDK available here:https://developer.mozilla.org/En/Gecko_SDK
> All cause similiar problems.
>
> Can anyone help?

XRE_InitEmbedding2Type is introduced in (not yet released) Gecko 2.0.
You can fetch prerelease from http://ftp.mozilla.org/pub/mozilla.org/xulrunner/nightly/latest-mozilla-central/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.