Re: [AD] problem with windows dialogs/ Win XP

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2005-06-04, Daniel Sauder <daniel.sauder@xxxxxxxxxx> wrote:
> _win_thread_init() can be found in wthread.c and loads the ole32.dll. I 
> compiled one of my projects and it seems working nice with that change. 
> So what is ole32 doing here? Is it effecting the stability of the system 
> not using it? Since WinApi programming is new to me (I'm learning it 
> since about 3 weeks) any comment might be useful.

The comment for _win_thread_init() says that it "Initializes COM
interface for the calling thread", i.e. so that that thread may start
calling COM library functions.  I assumed it would be necessary in order
to use DirectX, but it worked for you?  Maybe someone else knows more
about it.

Peter





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/