Help for this page

Select Code to Download


  1. or download this
    # Load the function.
    my $LoadTableFromFile = new Win32::API("myDll.dll","myTableLoadFromFil
    +e", 'PP', 'I', '_cdecl');
    
  2. or download this
    my $pathATable = 'C:/Temp/Requests/testTable.TBL';
    
  3. or download this
    my $pathATable = 'C:\Temp\Requests\testTable.TBL'; #no ""s
    
  4. or download this
    # pack the table.
    my $packedaTable = pack('J',$aTable);
    ...
    else
        {die "I dont know how to pack this table";}
    
  5. or download this
    # pack the table.
    my $packedaTable = pack('J',$aTable);
    ...
    else
        {die "I dont know how to pack this table";}
    $packedaTable .= "\x00" x 100000000; #100MB allocation