PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → How Windev handle malloc function?
How Windev handle malloc function?
Iniciado por guest, 06,oct. 2015 17:04 - No hay respuesta
Publicado el 06,octubre 2015 - 17:04
I am using API() function to call dll file.

I want to reserve memory space for an image.
pImage = malloc(imageSize);

I think the code would be:
API("DLL name", "malloc",imageSize)

What should be the return type here?
What type of variable should be used to keep this pImage?
How do I save the image in Windev?
Any suggestion?