and this includes a file #include "nsXPIDLString.h" the file is not available anywhere in the SDK. It would be great if you give me a fix for this as well.
Hm... while I don't know a solution for that exact problem, I can suggest a workaround:
An nsXPIDLString is just a wrapper around a PRUnichar*. So instead of this:
nsXPIDLString foo; bar->asdf(getter_Copies(foo));
You can write this: PRUnichar* foo; bar->asdf(&foo); ...do something with the string... nsMemory::Free(foo);
(note, I am not sure how nsMemory and the SDK interact...)
