Error 49 bad DLL-call

W

Wilmar

In a access97 DB I have a module that calls a DLL:
Worked under Win95, Win98, W2K and now I trie
Win2003 Server and we get a bad DLL-call error (Error 49)

Anyone knows why?
(And perhaps how to solve?)

Will
 
W

Wilmar

It is a Function to calculate a showview-code:

Declare Function Showview Lib "show32.DLL" _
Alias "showview" (ByVal l1 As _
Long, ByVal L2 As _
Long, ByVal L3 As _
Long, ByVal L4 As _
Long, ByVal L5 As _
Long, ByVal L6 As _
Long, ByVal L7 As _
Long, ByVal PathToTablefiles As String) As Long

The call as follows gives a error 49

S% = Showview(day, Month, Year, Starttime, Endtime, Channel, 0, Mypath)
or
S%=Showview(26, 7, 3, 700, 1010, 113,0, "T:\ShowView\")

As I wrote: this goes well on w95, w98, w2k but not on w2003 server (logon
as Admin)
I don't know where to look.
The dll is placed correct in the path.

Will
 

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

Top