I Have tried compiling the below iweblock.idl file from the cxc book
which results each time with include dependency problems that seem endless , i have not exprienced this problem when compiling weblock.cpp
Initially it couldn't find nsiSupport.idl in gecko-sdk\xpcom\idl which was expected as vc++ was not looking there by default
after correcting this nsIsupports.idl found a dependency file nsroot.idl which resides in the same directory but this file could not find a dependency file nscore.h which resides in a default place \xpcom\include and known to the compiler
fixing this problem by giving full a path to the include file only generates another dependency problem and so on ...
so in a nutshell then ...
can someone suggest how to to get all nested dependent include files to be looked for in default places known to the compiler ?
Many thanks Paul
#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;
}; _______________________________________________ Mozilla-xpcom mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpcom
