Calling native code from .Net

A

Arne Garvander

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?
 
A

Arne Garvander

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top