-
January 19th, 2011, 06:40 AM
#1
Callin C dll
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
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|