Working on the basis that it does not understand these macros in
weblock2.cpp, perhaps the files need to be compiled within mozilla
for this approach to work. So i have tried to compile the source code given in weblock1.cpp without the macros but am still having problems with my macros it appears!
again have addded an include to gecko-sdk #include "c:\gecko-sdk\mozilla-config.h"
any help would be very much appreciated
regards paul
Compiling...
weblock1.cpp
c:\program files\microsoft visual studio\myprojects\weblock\weblock1.cpp(4) : warning C4005: 'MOZILLA_STRICT_API' : macro redefinition
unknown(0) : see previous definition of 'MOZILLA_STRICT_API'
c:\program files\microsoft visual studio\myprojects\weblock\weblock1.cpp(39) : error C2143: syntax error : missing ';' before ':'
Error executing cl.exe.
weblock1.obj - 1 error(s), 1 warning(s) _______________________________________________ Mozilla-xpcom mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpcom
