PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV Mobile (précédentes versions) → Pass structure to C++ DLL
Pass structure to C++ DLL
Débuté par HK Blackcow, 28 mai 2008 18:52 - Aucune réponse
Posté le 28 mai 2008 - 18:52
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?