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,994
Messages
2,570,222
Members
46,810
Latest member
Kassie0918

Latest Threads

Top