No , what I meant is that a null pointer exception is thrown in C++ (or
access violation in my case since I use Visual Studio). Basically it tries
to access a null pointer.

It would be great if I could see under the hood what happens in that
dispatchEvent. I tried to manually look through the code but it's just too
confusing. It would be great if I could use a debugger somehow to see what
is going on in dispatchEvent and what exactly fails there.  
 
-----Original Message-----
From: dev-embedding-bounces+walter.fettich=lasting...@lists.mozilla.org
[mailto:dev-embedding-bounces+walter.fettich=lasting...@lists.mozilla.org]
On Behalf Of Boris Zbarsky
Sent: Thursday, January 22, 2009 5:27 PM
To: [email protected]
Subject: Re: Why can't I send my custom event?

Walter Fettich wrote:
> My intuition tells me something is not quite right in that
> GetInternalNSEvent(..) call but I don't know what that function does and
> what it should return. It gets called and the pointer returned is valid
> though.

That function seems fine to me.

You say that dispatchEvent returns NS_ERROR_NULL_POINTER in your case? 
That seems somewhat odd, since I see nothing in the event dispatcher 
that returns that error code...

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

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

Reply via email to