XRE_InitEmbedding2 unidentified - compiler error

Kubas <[email protected]>
Newsgroups gmane.comp.mozilla.devel.embedding
Organization http://groups.google.com
Message-ID <[email protected]>
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?
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.