January 19th, 2011, 06:40 AM
Callin C dll
I'm trying to write a VB6 program to communicate with a C dll.
In C the function is defined as follows:
/* You may need to construct a directory path in front of df_main.dll */
theDLL = LoadLibrary("df_main.dll");
theFunc = (DLLPROC)GetProcAddress(theDLL, "mbedEntryPoint")));
/* Call DF engine */
retStr = (*theFunc)(cmd);
if (!strnicmp(retStr, "error", 5))
I have no clue, after several tries, how to address this function. Any ideas?
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.