http://qs321.pair.com?node_id=371367


in reply to Re^4: Win32::API - How to call an Imported function with Win32::API::Types ?
in thread Win32::API - How to call an Imported function with Win32::API::Types ?

Ok, I've just added ...or die $^E to every Win32::API module call and nothing is die'ing. As far as I can see the call to the function inside the DLL is actually working

Hmm...

fx, Infinity is Colourless

Replies are listed 'Best First'.
Re^6: Win32::API - How to call an Imported function with Win32::API::Types ?
by BrowserUk (Patriarch) on Jul 02, 2004 at 13:11 UTC

    Try initializing my $client = pack('L', 0); as you did in the code that worked.


    Examine what is said, not who speaks.
    "Efficiency is intelligent laziness." -David Dunham
    "Think for yourself!" - Abigail
    "Memory, processor, disk in that order on the hardware side. Algorithm, algoritm, algorithm on the code side." - tachyon