I'm real close to making this work now, I think...
I just need to fix up a small error which I can't seem to get rid of...

nsMsgComposeService.cpp:244: prototype for `nsresult 
nsMsgComposeService::OpenComposeWindowWithReplyTo(const char *, int, 
int, nsIMsgWindow *, PRUnichar *)' does not match any in class 
`nsMsgComposeService'
nsMsgComposeService.h:53: candidate is: nsresult 
nsMsgComposeService::OpenComposeWindowWithReplyTo(const char *, int, 
int, nsIMsgWindow *, short unsigned int)

but my .idl doesn't have a short unsigned int, but a PRUnichar;

void OpenComposeWindowWithReplyTo(in string originalMsgURI, in 
MSG_ComposeType type, in MSG_ComposeFormat format, in nsIMsgWindow 
aMsgWindow, in PRUnichar emailAddress);

Do I need to tell the .idl about PRUnichar, or is there an alternative?
I could perhaps make a cast from a string of some sort, But I can't find 
the appropriate cast...

I'll make a new diff of what I have, and attach it to my bug shortly.

   - Morten

:wq


Reply via email to