Hello. I'm having trouble getting xpidl to run when using either the -m
header or -m java switches under both windows and linux. In each case
xpidl crashes. Under windows I get one of those "pease tell microsoft
about this error" dialogs that pop up when apps crash. Using the -m
typelib switch produces no error.

I'm trying to write what should be a simple "hello world" for XPCOM. My
IHelloComponent.idl file is defined as follows:

#include "nsISupports.idl"

[scriptable, uuid(C7D3E3B4-4043-4ab0-9913-21D55841E4DA)]
interface IHelloComponent : nsISupports
{
        string SayHello(in string name);
};

I've downloaded the gecko-sdk, libidl, glib, etc on both windows and
linux. I've also downloaded the moztools package. The path has been set
for all.

If anyone can fill me in on what I'm doing wrong, or what dependencies
I'm missing, I'd greatly appreaciate the help.

_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to