I call native code from my .net app
<DllImport(SENDFORMPDFTest, EntryPoint:="FORMEXIST", _
SetLastError:=True, CharSet:=CharSet.Ansi, _
ExactSpelling:=True, _
CallingConvention:=CallingConvention.Winapi)> _
The DLL works fine on localhost and production, but hangs on my test server.
Localhost and and test server has a new revision. We tried to put a log file
into the DLL, but nothing gets written to the logfile.
How can I trouble shoot this problem?

Signature
Arne Garvander
Certified Geek
Professional Data Dude
bruce barker - 11 Feb 2008 16:31 GMT
you want windbg and the sos.dll. see
http://msdn2.microsoft.com/en-us/library/ms954594.aspx
-- bruce (sqlwork.com)
> I call native code from my .net app
> <DllImport(SENDFORMPDFTest, EntryPoint:="FORMEXIST", _
[quoted text clipped - 5 lines]
> into the DLL, but nothing gets written to the logfile.
> How can I trouble shoot this problem?
Arne Garvander - 11 Feb 2008 22:51 GMT
My DLL needed a dependent DLL that could not be found.
I relinked my DLL with static linking to the dependent DLL. That solved my
problem.

Signature
Arne Garvander
Certified Geek
Professional Data Dude
> you want windbg and the sos.dll. see
>
[quoted text clipped - 11 lines]
> > into the DLL, but nothing gets written to the logfile.
> > How can I trouble shoot this problem?