Re: Switchto retry error

Dennis Lloyd Jr <[email protected]> Fri, 19 Apr 2002 11:02:13 -0700
Newsgroups gmane.comp.windows.devel.vbcom
Message-ID <[email protected]>
Hello Hitesh,
Everytime I've seen a Switch To/Retry problem it was
because of a long running function or procedure. You
may want to investigate why this particular procedure
is taking so long to complete. Look for long running
loops or waiting for locks to be released.

Some potential solutions include making the call to
the procedure asynchronously (using MSMQ) or using a
call to DoEvents to periodicallly tell Windows to
respond to events.

Good luck,
~Dennis

--- hitesh shah <[email protected]> wrote:
> Hi.
> While using function/proc  of DLL  some time its
> give switch to - retry
> error .
> i am using MTS components .
> Pls suggest any things
> Thanks in advance
>
> Rgds
> Hitesh Shah
>
> You can read messages from the VBCOM archive,
> unsubscribe from VBCOM, or
> subscribe to other DevelopMentor lists at
http://discuss.develop.com.


__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

You can read messages from the VBCOM archive, unsubscribe from VBCOM, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.