On 22 Sty, 00:08, Kubas <kuba...@gmail.com> 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/ _______________________________________________ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding