I meant CoInitializeEx(), just didn't take the time to proof read what I had 
written.

About the cross platform part; the application we are using this for is not 
cross platform (and as far as I know will not be anytime soon). The reason we 
use fltk is that some people on the team has used it before and like it.

Regarding me asking for help without providing example; sorry 'bout that. I was 
just getting a bit frustrated at that point and was just hoping that someone 
might have had problems with DND in fltk2 that sounded similar to mine. Next 
time I have a problem I will provide code!

Thanks everyone for your help!


> Two observations:
>
> > It is now working in my code.
> > Seems like a call to CoInitialize() for some reason disabled=20
> > 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=20
> > 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 SS=
> 14 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