• Post Reply Bookmark Topic Watch Topic
  • New Topic

DLL Error

 
Nikunjj Jhala
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello

We have desktop application ( Swing ) and that application calling 3rd party dll ( C# ) to access one website. We are facing some error mentioned below

Error Message:
The Callee(Server[not server application]) is not available and disappeared; all connections are invalid. The call may have executed.

I have also find out the description on Google and find out few point to setup Pop-up blocker in IE, disable Debug option but still facing same error.

Also attached the link for the error description.
http://support.microsoft.com/kb/187983
http://www.mail-archive.com/bdotnet@groups.msn.com/msg24940.html
http://support.microsoft.com/default.aspx?scid=kb;en-us;888021

After getting that error, if we restart the application then some time that error was not coming and application was working fine.

Could you please give some suggestions to fix the error?

Regards
Nikunj
 
Rob Spoor
Sheriff
Posts: 20822
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The problem is not in the GUI but in the calling of some function in the DLL. Since that is related to JNI I'm moving this thread to a more suitable forum.
 
Nikunjj Jhala
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello

I am just making some changes in my code.

While submitting the request that time I am calling the DLL and once the response get from DLL. I am trying to unload the DLL.
Earlier I was calling the DLL while opening the Dialog or JFrame.

I have attached the code to load DLL.


When 1st time I am making a request, I am getting proper response
Open dll - Enter Key
Loading jawin from hardcoded path D:\........\...........\jawin.dll


But for 2nd request , It's giving only "Open dll - Enter Key", because DLL is already loaded in the system.

Could you please suggest me how to unload the DLL?

Regards
Nikunj
 
Paul Clapham
Sheriff
Posts: 21892
36
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And why are you trying to unload the DLL?
 
Nikunjj Jhala
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply.

As per the comments on google, Error was generated when DLL was not able to release the connections/resources after sending the response to the Application. That time error was generated.

So I am trying to connect to DLL while sending command to DLL and after receiving response from DLL , I am trying to unload it and setting few variables to null. so I know every time DLL was loading and unloading from the application.

I know this might cause a few minute delay in response that users will going to receive.

Thanks Mate.

Regards
Nikunj
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!