Harbour C-Wrapper Help
Posted: Fri Jan 05, 2007 5:40 pm
Might someone help me with the C-wrapper syntax? I have looked at the Harbour website for documentation, but could find none on the c-wrappers.
I have the following code so far. I need to return the second element of the structure "ScanFindInfo". The second element is a string.
Thanks in advance!
I have the following code so far. I need to return the second element of the structure "ScanFindInfo". The second element is a string.
Code: Select all
#pragma BEGINDUMP
#include <hbapi.h>
#include <windows.h>
#include <scancapi.h>
HB_FUNC( FindScanner )
{
SCAN__;
HANDLE hFindHandle;
DWORD dwResult;
SI_INIT( &ScanFindInfo );
dwResult = SCAN_FindFirst( &ScanFindInfo, &hFindHandle );
}
#pragma ENDDUMP