2012/6/5 Antonio Scuri <[email protected]>
> Hi Benoit,****
>
>
>
> I was not aware that this would affect also the Visual Styles. I
> searched through the Win32 API documentation and found no relation between
> the two.****
>
In fact I observe the same thing when switching between LfW's lua.exe and
wlua.exe to run a given "iup-only" script: wlua.exe gives me W7 style (tabs
with white background, rounded buttons), whereas lua.exe gives me WXP
visual style (gray background, square buttons). I don't know if this is
expected or not, but there might be a relation.
> **
>
> I think you can call CoInitializeEx with COINIT_MULTITHREADED in a
> second thread without affecting the main thread. ****
>
There are some points where I access my libraries from the same thread as
IUP (most notably to create a custom file explorer dialog that inspects
locations provided by my library). I must therefore CoInitializeEx() my
binding in the same thread as IUP. To avoid this, I would have to perform
some architectural changes to swap requests and replies back and forth
between the main thread where iup is used and another "service" Lane. It is
doable, but not easy.
Regards,
--
Benoit.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users