Hi,
I am a C++ programmer trying to create a dll for a powerbuilder application. im trying to test a dll function that returns an array of c++ structures. (the functions that return standard datatypes work fine.) the structure is duplicated in powerbuilder but i dont know how to declare the external function.
the c++ header declaration is
XC EXPORTS PairData* FAR API getPairData(char*, int &size);
does anyone know if i need to do anything special in the dll? and does anyone know if i can even bring this array into powerbuilder? if so, how? and what does the powerbuilder external function declaration look like?
any help/suggestions would be appreciated.
thanks,
stacey
I am a C++ programmer trying to create a dll for a powerbuilder application. im trying to test a dll function that returns an array of c++ structures. (the functions that return standard datatypes work fine.) the structure is duplicated in powerbuilder but i dont know how to declare the external function.
the c++ header declaration is
XC EXPORTS PairData* FAR API getPairData(char*, int &size);
does anyone know if i need to do anything special in the dll? and does anyone know if i can even bring this array into powerbuilder? if so, how? and what does the powerbuilder external function declaration look like?
any help/suggestions would be appreciated.
thanks,
stacey