Click to See Complete Forum and Search --> : Using Win32 DLL's in Access.


Mike Doner
February 2nd, 2000, 12:51 PM
I'm having some troubles having our Access Database along with a DLL we wrote in "C" working in unison.

First, I must say, that this has worked in the past without any troubles, its not a matter of the syntax being wrong or something like that.

I have a function header declared like so in our Access Database:


public Declare Function VBGetObjCount Lib "vboblink.dll" (byval Objc as Integer) as Long





Which is fine, but as soon as I go to actually make that call, I get a MessageBox which gives me the following error:

"Run Time Error: 53, File not found VBOBLINK.DLL"

Thinking it was the developer version of Access working against me, I formatted my machine to nothing, Reinstalled WinNT, along with our product and our DataManager (which is an Access database, packaged together using the RunTime version of Access), worked fine. As soon as I installed the Commercial version of access, I get this message.

I goto another machine, do the same thing (less the formatting and installing the commercial product) and everything works fine.

Now.. what I want to know is, where exactly is it looking for this DLL? I've placed it in every directory I could think of (Winnt, Winnt\system32, current directory) and still, no go. I even tried sticking full-paths in there to see if that would work, nope.

I'm also looking for some information on the RunTime version of access.. What it can/can't do.. How it compares to the Full blown Commerical Product.

Anything anyone could forward me would be greatly appreciated.

Mike.



--
Mike Doner
Software Development
Knowledge Flow Corp.