- or download this
typedef
struct myTable {
void* opaque; ///< Opaque pointer to storage
} myTable;
- or download this
__declspec(dllimport) myTable myTableCreate();
__declspec(dllimport) enum myStatus myTableLoadFromFile(char const* fi
+lename, MyTable* pointToMyTable);
- or download this
Win32::API::Struct->typedef( myTable => qw{PVOID opaque;});
my $CreateTable = new Win32::API("myDll.dll","myTable myTable Create()
+");
my $LoadTableFromFile = new Win32::API("myDll.dll","int myTableLoadFro
+mFile(char const* filename, LPMyTable pointToMyTable)")
- or download this
my $LeftTable = $CreateTable->Call();
my $pathTableLft = 'C:/Temp/Requests/CapBuy.TBL';
my $isLoaded = $LoadTableFromFile->Call($pathTableLeft,$LeftTable);
print($isLoaded);