Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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

by fx (Pilgrim)
on Jul 02, 2004 at 11:24 UTC ( [id://371366]=note: print w/replies, xml ) Need Help??


in reply to Re^3: 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 ?

According to the source, TCHAR is a valid type which is why I chose it. Hmm...

As you suggest, I shall put lots of error checking in and see what isn't being liked.

Thanks,

fx, Infinity is Colourless

  • Comment on Re^4: Win32::API - How to call an Imported function with Win32::API::Types ?
  • Download Code

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

    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

      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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://371366]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-25 14:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found