Hey all,
I'm in the middle of converting some C++ code to PowerBASIC code, but there's a problem...
Unfortunately I can't get the lines with the '<---' comments converted.
It's probably pretty easy to convert this to PB code, but I just don't see it... 
Help is greatly appreciated!
------------------
Kind regards,
Mark Geurds
mailto:m.geurds[REMOVE]@[TH1S]chello.nlm.geurds[REMOVE]@[TH1S]chello.nl</A>
I'm in the middle of converting some C++ code to PowerBASIC code, but there's a problem...
Unfortunately I can't get the lines with the '<---' comments converted.
Code:
typedef void * __stdcall (*pfnMemoryAllocator)(DWORD); typedef void __stdcall (*pfnPGICallBack)(DWORD, DWORD, LPCTSTR); ... typedef struct tagPGIParamsBlock { pfnMemoryAllocator pMemAllocator; // function pointer to supplied memory allocation pfnPGICallBack pCallBack; // function pointer to callback function LPVOID pInBuff; LPVOID pOutBuff; DWORD dwInSize; DWORD dwOutSize; DWORD dwInterface; DWORD dwIndex; } PGIParamsBlock, *PPGIParamsBlock; ... pfnMemoryAllocator MA = pPGIPB->pMemAllocator; // <--- Don't know how to do this! pfnPGICallBack CB = pPGIPB->pCallBack; ... if ( CB != NULL ) { CB(pPGIPB->dwInterface, evID_PostLogInfo, Message1); // <--- This neither! }

Help is greatly appreciated!
------------------
Kind regards,
Mark Geurds
mailto:m.geurds[REMOVE]@[TH1S]chello.nlm.geurds[REMOVE]@[TH1S]chello.nl</A>
Comment