Is the CallingConvention property that you specify in the dllimport
attribute same as the actual calling convention of the method exported
from the dll? I would guess that this might be the problem.


-----Original Message-----
From: Johan Filipsson [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 05, 2003 8:28 AM
To: [EMAIL PROTECTED]

Hi !

I have some unexpected trouple when using the dllimport attribute in
vn.net.
At first everything works fine and I have no problems calling and using
the functionality in the unmanaged dll I use.

(a dll that contains a corba client which is initialized from the
unmanged
C++ code I call.

However after I'm finnished using my app that use the dllimport
attribute and I try to log out of windows I get an termination error
with the following message dialog.

- End program .Net-EventBroadcastWindow.1.0.330.....

I'm out of ideas of how to get rid of it.

===================================
This list is hosted by DevelopMentor(r)  http://www.develop.com NEW!
ASP.NET courses you may be interested in:

2 Days of ASP.NET, 29 Sept 2003, in Redmond
http://www.develop.com/courses/2daspdotnet

Guerrilla ASP.NET, 13 Oct 2003, in Boston
http://www.develop.com/courses/gaspdotnet

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

===================================
This list is hosted by DevelopMentor�  http://www.develop.com
NEW! ASP.NET courses you may be interested in:

2 Days of ASP.NET, 29 Sept 2003, in Redmond
http://www.develop.com/courses/2daspdotnet

Guerrilla ASP.NET, 13 Oct 2003, in Boston
http://www.develop.com/courses/gaspdotnet

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

Reply via email to