PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV Mobile (earlier versions) → Pass structure to C++ DLL
Pass structure to C++ DLL
Started by HK Blackcow, May, 28 2008 6:52 PM - No answer
Posted on May, 28 2008 - 6:52 PM
I've a C++ DLL, which accepts structure as the parameter and I also declare a structure in WINDEV Mobile. I got 2 questions:

1. When I pass the structure to the function, according to the manual, I have to set the following:

rtn = CallDll32("test.dll","test_function", &param1, &param2)

My structure consists of attributes of STRING type. Is it correct?

2. I know WINDEV Mobile uses UNICODE, but my DLL is using ANSI, how can I handle the conversion?