Two observations:

> It is now working in my code.
> Seems like a call to CoInitialize() for some reason disabled 
> DND-events.

Firstly: You should never use CoInitialize() in new code, your really
ought to use CoInitializeEx() explicitly instead. In particular, the
single-thread approach that CoInitialize() implies might not fly all
that well with fltk etc...


> I moved that call to after doing all the fltk-initialization 
> and it now works.

Secondly: If you are using COM with fltk... Well, you might be on your
own out there; that could well be "exciting new ground". If you get into
difficulties with that, I'm not sure there will be anyone who can help
out!

One of my main reasons for using fltk is for portability between
platforms - but I'd guess that using COM makes the code platform
specific, so that seems like an odd combination to me.




SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to