| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Hi I use V.O. 2.8 OleAutoObject to call a method in a C# DLL to submit SOAP transactions. This works well except for large transactions. When the C# method is called, the VO application is unable to refresh it's windows until after the C# method returns. Is it possible for a VO application to receive events from a C# program. This would allow me to call Exec(EXECWHILEEVENT) to update the window. I am able to do this with 32-bit window DLLs, such as XceedZip, but not with dotNET DLLs. Any advice would be appreciated. Ted |
|
#2
| |||
| |||
| Ted, I can't answer your question, but another option would be to call the C# method in a worker thread while using the main thread to keep the GUI up-to-date. Mike "Ted Rouen" <tr@xxx.com.au> wrote in message news:48bf35c9$0$21365$c30e37c6@pit-reader.telstra.net... > Hi > > I use V.O. 2.8 OleAutoObject to call a method in a C# DLL to submit SOAP > transactions. > > This works well except for large transactions. When the C# method is > called, the VO application is unable to refresh it's windows until after > the C# method returns. > > Is it possible for a VO application to receive events from a C# program. > This would allow me to call Exec(EXECWHILEEVENT) to update the window. I > am able to do this with 32-bit window DLLs, such as XceedZip, but not with > dotNET DLLs. > > Any advice would be appreciated. > > Ted > > |
|
#3
| |||
| |||
| Mike Thanks for the tip the worker thread works well. Ted "Mike Jones" <michael.jones.nospam@rogers.com> wrote in message news:g9ngmi$kka$1@aioe.org... > Ted, > > I can't answer your question, but another option would be to call the C# > method in a worker thread while using the main thread to keep the GUI > up-to-date. > > Mike > > "Ted Rouen" <tr@xxx.com.au> wrote in message > news:48bf35c9$0$21365$c30e37c6@pit-reader.telstra.net... >> Hi >> >> I use V.O. 2.8 OleAutoObject to call a method in a C# DLL to submit SOAP >> transactions. >> >> This works well except for large transactions. When the C# method is >> called, the VO application is unable to refresh it's windows until after >> the C# method returns. >> >> Is it possible for a VO application to receive events from a C# program. >> This would allow me to call Exec(EXECWHILEEVENT) to update the window. I >> am able to do this with 32-bit window DLLs, such as XceedZip, but not >> with dotNET DLLs. >> >> Any advice would be appreciated. >> >> Ted >> >> > > |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.