Hi,
im trying to embedd gecko 1.9.2apre But after calling XPCOMGlueStartup,
all sscanf_s calls in TinyXML xml parsing fail.
for example:
const char* cpValues = "0.0000000000, 0.0000000000, 0.0000000000";
float3 kFloat3;
const int iValues = sscanf_s( cpValues, "%f, %f, %f", kFloat3.x,
kFloat3.y, kFloat3.z );
Assertion( iValues == 3 );
iValues is always 1.
When not calling XPCOMGlueStartup everything works as intended.
To compile our integration I'm using the "No (/Zc:wchar_t-)" compiler
flag to avoid linker errors to gecko. could this be a problem? Because
we are not using this flag in any other project we have.
We are using Visual Studio 2005/8
regards,
Ulrich
_______________________________________________
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-embedding