Black Locust Software

Technology Solutions for Business

Using a C++ DLL in a Visual Basic 6 project


This week I have had to make a VB6 project interface with a 3rd party API packaged as a DLL and written in C++. Specificly, I am working on interfacing Embtrak, the leading embroidery order management software to Veristitch. I've learned several things along the way, some of them not well-documented on the Internet, as far as I can tell. Thanks to Sid Kaspar and RKerr on the microsoft.public.vb.general.discussion group for their part in helping me sort this out.

Using EXPORTS to solve error 453

Strings (LPSTR) as parameters