On 2/27/06, Darin Fisher <[EMAIL PROTECTED]> wrote:
> Does this sample code work for you?
> http://lxr.mozilla.org/mozilla/source/netwerk/test/TestServ.cpp

I think I found the bug, when converting the original code from
Javascript I made the event-queue-service into an instance instead of
a service. That messed up the pump mechanism.

   nsCOMPtr<nsIEventQueueService> eqs;
   rv = manager->CreateInstanceByContractID(NS_EVENTQUEUESERVICE_CONTRACTID,
                                            nsnull,
                                            NS_GET_IID(nsIEventQueueService),
                                            getter_AddRefs(eqs));

--
Jon Smirl
[EMAIL PROTECTED]
_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network

Reply via email to