Quantcast
Channel: SCN : All Content - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2935

Convert unsigned char** to PB

$
0
0

Hi All,

 

I would like to convert below C++ code to PB? is it possible?  Thanks very much, any idea is welcome.

 

C++ Code:

 

int TemplateNum;

 

TemplateNum = 2;

 

ppTemplate = (unsigned char**)malloc(TemplateNum * sizeof(unsigned char**));

ppTemplate[0] = (unsigned char*)malloc(1024 * sizeof(unsigned char*));

 

GetList(ppTemplate);

 

 

DLL declaration (described in the according documentation):

 

GetList(unsigned char** ppTemplate)

 

 

Thanks,

Marcus


Viewing all articles
Browse latest Browse all 2935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>