Remote access to mobile databases
Home | Products | Buy | Support | Downloads | Contacts | Forum | Blog Search

open all | close all

When consuming Data Port Component from a C++ application, you may get linker errors even if you explicitly link with the dplib.lib file. Data Port Component's C++ code was compiled using the __stdcall calling convention in order to make it compatible with VB6.

To avoid these linker errors you can either specify the __stdcall calling convention as the default in your project, or change the dplib.h file and add this declaration in front of the following line:

#define DPLIB_API __declspec(dllimport)