Linker Error: K8055D.dll, Borland C++ Builder 6

Copied .dll to System32 folder.
#include “K8055D.h” onto my Unit1.cpp (I copied & pasted the declarations from the K8055dll.pdf into a .txt)

I get this error when running:
[Linker Error] Unresolved external ‘OpenDevice’ referenced from C:\ …((my project location))…UNIT1.OBJ

If you are using 64-bit operating system, you have to copy the K8055D.DLL to SysWOW64 folder.

Have you tried the latest K8055D.DLL version?
Here is the link to download the latest software package for the K8055:
velleman.eu/downloads/files/ … rsion4.zip

The package includes new K8055D.DLL and several sample projects written in various programming languages.
Pleas read the “README.TXT” and the “K8055 & VM110 Getting Started.pdf”.

Please try to compile the Borland C++Builder example project in the folder: …\Examples\K8055DemoBCB

Im using Borland C++ Builder 6 (Personal Ediition) Build: 10.166

I purchased it 2002 but I think Iv got all the latest updates?

Will this work okay?

Ive also been experimenting with the VM167 SDK.
I copied the VM167.dll and MPUSBAPI.dll into System32 folder (I have a 32-bit system)

I also #include “VM167.h” (and copied this header into the project folder).

But I still get a Linker error:
[Linker Error] Unresolved external ‘OpenDevices’ referenced from C:…(my project location)…UNIT2.OBJ

Is this a Calling convention error you right about in the VM167.DLL Manual pdf?

You have to add the .LIB file (K8055D.LIB, VM167.LIB) to your project.
Select Project -> Add to Project…

That works.

Thank you :slight_smile: