Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Suggestions for a new Perl Win32::API User?

by jbert (Priest)
on Apr 17, 2000 at 18:38 UTC ( #7816=note: print w/ replies, xml ) Need Help??


in reply to Suggestions for a new Perl Win32::API User?

The Win32::API module is a nice bit of technology but can be a bit desperate to use. Its not very perl-like. (e.g. you have to pre-allocate strings before passing into the API)

IMHO, there is a nice chunk of work for people to do in adding Win32 support to standard CPAN modules using the Win32::API stuff.

This would allow:

  • Most people stay away from the pain which is Win32::API
  • More scripts written to use 'standard' CPAN modules "just work" on Win32 because the support is in the module
  • Err...thats it
So if you do something funky with the API, consider how it might be rolled into an existing CPAN module and/or provide the same interface.

Oh...and one thing which might help regarding functions in modules is mentioned in the WIn32::API docs themselves. 'Quick View' on a DLL will show you which functions are exported.

This isn't ideal since you still need to leaf through DLLs (kernel32.dll has most things I need) and also for some reason you can't copy + paste from the Quick View, so you can't get the information out of the tool.

Rant rant. There is a Windows NT tool to extract the information I need. It doesn't let me export this information in a usable format. That sucks.


Comment on Re: Suggestions for a new Perl Win32::API User?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (9)
As of 2014-12-29 08:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (185 votes), past polls