PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV Mobile (versões anteriores) → Pass structure to C++ DLL
Pass structure to C++ DLL
Iniciado por kkkyim, mai., 28 2008 6:52 PM - Sem resposta
Publicado em maio, 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?