Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: How to make Win32::API easy to use (::Prototype)

by tye (Sage)
on Jun 02, 2004 at 20:03 UTC ( [id://359698]=note: print w/replies, xml ) Need Help??


in reply to Re: How to make Win32::API easy to use
in thread How to make Win32::API easy to use

I'd look at Win32::API::Prototype but it doesn't appear to be on CPAN (to which your link points). Google says it is a Roth module. I tend to avoid non-CPAN modules for a lot of reasons...

Ahh, nice, this one includes source code and it is all in Perl (which means the usual reason Roth gives for not putting on CPAN shouldn't apply; maybe that will happen). It appears to do quite simple translation from typedef'd types to Win32::API types, which isn't at all what I was thinking it would do (I find that this step is usually the easiest step).

So the two methods could probably be merged rather easily.

- tye        

  • Comment on Re^2: How to make Win32::API easy to use (::Prototype)

Replies are listed 'Best First'.
Re^3: How to make Win32::API easy to use (::Prototype)
by BrowserUk (Patriarch) on Jun 02, 2004 at 20:13 UTC

    It is on CPAN: here. Hopefully that link will take you direct to the source. It does me. The other link was from the search.cpan.org page, amd it doesn't link, though other links from the same entry do?

    It does also export the entrypoint name into the calling code as yours would.


    Examine what is said, not who speaks.
    "Efficiency is intelligent laziness." -David Dunham
    "Think for yourself!" - Abigail

      Ah. The problem isn't that the module was not placed on CPAN. The problem was that the module was never really constructed as a CPAN module, but is instead simply a *.zip file containing a single *.pm file in a nested subdirectory.

      - tye        

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2024-04-24 08:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found