Peter,

Where you answering my question, or did you answer another question?
Because I have no idea how PInvoke and COM-wrappers could solve the
issue I have with hanging Oracle client applications.

Greetings,

Joris


-----Oorspronkelijk bericht-----
Van: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] 
Verzonden: donderdag 2 februari 2006 14:29
Aan: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Onderwerp: Re: [ADVANCED-DOTNET] Oracle client hangs after network error

You would have to convert your lib project(s) to DLL project(s) in order
to P/Invoke them from C# (or any other .NET language).

The alternative, as you may have noticed, is to create a COM wrapper for
the functions (again, probably within a DLL) and have Visual Studio
reference the COM object(s).

http://www.peterRitchie.com/

On Wed, 1 Feb 2006 17:50:58 +0100, Joris Zwaenepoel
<[EMAIL PROTECTED]> wrote:

>Hi all,
>
>
>
>I have a problem with a VB.NET application that sometimes hangs when a
>network error occurs.  I ave been able to reproduce this behaviour by
>creating a small application that does a lot of database access, then
>starting multiple instance of this application and then disconnecting
>the network.  Most of the time, the application gets an exception, but
>now and then an instance does not get an exception and hangs < forever
>
>(that's what it looks like).
>
>
>
>I have seen this behaviour also a few years ago with clients written in
>VB6, and I have seen multiple posts in newsgroups about similar
>problems.
>
>
>
>Is this known behaviour for Oracle Client applications ?  If have read
>some posts in newsgroups where this is described as < by design >, but
>never with an official reference (something I can use to convince the
>end-user that this caused by an Oracle problem, not by bas
>VB-development).
>
>
>
>Does anyone know how to solvr this issue ?  I tried to keep the app
>running by doing all the database access on an other thread and
>implementing a timeout in VB.NET, and that worked.  But when the
>application (Windows Forms) is ended, the process is still running
>(because of the hanging threads that keep the process alive forever).
>
>
>
>I have no idea how this is handled by others?
>
>
>
>Joris Zwaenepoel
>
>MCSD
>
>
>This e-mail and any attached files are confidential and is legally
privileged. If you are not the intended recipient and/or if you have
received this transmission in error, please do not read, copy, use or
disclose this communication to others. Also please notify the sender by
replying to this message and then delete it from your system. PROMATIC
does not accept liability for the correct and complete transmission of
the
information, nor for any delay or interruption of the transmission, nor
for damages arising from the use of or reliance on the information. Any
views expressed in this email are those of the individual sender and may
not necessarily reflect the views of PROMATIC. If any doubt, please
contact management for confirmation.
>
>
>
>===================================
>This list is hosted by DevelopMentor(r)  http://www.develop.com
>
>View archives and manage your subscription(s) at
http://discuss.develop.com

===================================
This list is hosted by DevelopMentor(r)  http://www.develop.com

View archives and manage your subscription(s) at
http://discuss.develop.com

This e-mail and any attached files are confidential and is legally privileged. 
If you are not the intended recipient and/or if you have received this 
transmission in error, please do not read, copy, use or disclose this 
communication to others. Also please notify the sender by replying to this 
message and then delete it from your system. PROMATIC does not accept liability 
for the correct and complete transmission of the information, nor for any delay 
or interruption of the transmission, nor for damages arising from the use of or 
reliance on the information. Any views expressed in this email are those of the 
individual sender and may not necessarily reflect the views of PROMATIC. If any 
doubt, please contact management for confirmation.

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to