Hi,

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))
ReportError(retStr, 0);
else
...

I have no clue, after several tries, how to address this function. Any ideas?

Greetings,
Steven