I'm trying to compile the weblock tutorial from Doug Turner (http://www.mozilla.org/projects/xpcom/book/cxc/), but when I try to build the IDL file with xpidl, it crashes with the following message:
Unhandled exception at 0x77f69ecd in xpidl.exe: 0xC0000005: Access violation writing location 0x00000010. Following Mozilla.org's advice, I downloaded the VC7 pre-built versions of the glib and libIDL libraries and added the directory containing them to my PATH. It still crashes with the same error (and the VC7 versions are the only versions of those libraries I have, so there's no chance it could be trying to link to older versions). The xpidl version I use is the one supplied with the Gecko sdk that I downloaded at (http://ftp.mozilla.org/pub/mozilla/releases/mozilla1.4a/gecko-sdk-win32-1.4a.zip) The IDL file I'm trying to compile is a simple copy-paste from the tutorial : ---------- #include "nsISupports.idl" interface nsISimpleEnumerator; [scriptable, uuid(ea54eee4-9548-4b63-b94d-c519ffc91d09)] interface iWeblock : nsISupports { void lock(); void unlock(); // assume strings are UTF-8 void addSite(in string url); void removeSite(in string url); attribute nsISimpleEnumerator sites; }; ---------- I try to compile using the following command : xpidl -m header -I C:\gecko-sdk\xpcom\idl iWebLock.idl Is there something I missed or is xpidl doomed on WinXP/VisualStudio .NET? Thanks a lot. Antoine _______________________________________________ Mozilla-xpcom mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpcom
