Multithreading
<@QueenDee> teh easiest way is to use an AX exe <@QueenDee> let me explain < LindaBob> ouch, I hate seeing shut up, but seeing you two, I can tell there is respect in that request <@QueenDee> sorry :)
* Joey__ is shutting up whilst Dee is explaining :)
< Joshuarez> o.O
* LindaBob is doing the same, short of making sure this is ONLY for case of AX EXE * Joey__ doesn't mind that Dee is bossing him arround, he kinda likes in it in a weird way
<@QueenDee> with thread per object, it will do as you say and each object will be in a new thread and all calls marshalled
accross but ONLY if created from outside
<@QueenDee> liek createobject
* LindaBob doesn't explore that last post
<@QueenDee> using set blah = new object bypasses it and it is the same thread <@QueenDee> so, you now have this object in another thread < LindaBob> QueenDee - thread per object is called ? btw... Is that Apartment ? I forget the two types, Apartment vs ? <@QueenDee> let me finish < LindaBob> ok <@QueenDee> it is still blocking the call from the main code so you need to start a callback timer (settimer api call or maybe
even a timer control if you are luicky)
<@QueenDee> return form the first function, the main process will then go off and do its stuff -!- G_AME [~icegoldgr@216.110.101.79] has joined #vb
* LindaBob remembers this now, you use the AX EXE as an 'outside instantiator'
-!- mode/#vb [+l 33] by X <@QueenDee> meanwhile in your new threadm teh timer calls back and taht will go off on its own <@QueenDee> you can then use COM to communicate between them < LindaBob> ya ya ya <@QueenDee> any questions? :) < LindaBob> yes < TwOOftens> whats COM? < LindaBob> the original question was just a class instance < LindaBob> TwoOftens - Component Object Model