Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: API of all the functions of Win32::OLE

by hiseldl (Priest)
on Sep 14, 2002 at 23:09 UTC ( [id://197947]=note: print w/replies, xml ) Need Help??


in reply to API of all the functions of Win32::OLE

Definitely look at the Win32::OLE pod, as mentioned by blaze and jmcnamara.

Also, you can find some very useful Win32 information at Roth Consulting Perl/Win32 Programming. You may want to check out their Win32::API::Prototype extention too. Here's an example:

use Win32::API::Prototype; @Days = qw( Sun Mon Tue Wed Thu Fri Sat ); ApiLink( 'kernel32.dll', 'void GetLocalTime( LPSYSTEM lpSystemTim +e )' ) || die; $lpSystemTime = pack( "S8", 0,0,0,0,0,0,0,0 ); # This function does not return any value GetLocalTime( $lpSystemTime ); @Time{ year, month, dow, day, hour, min, sec, mil } = unpack( "S*" +, $lpSystemTime ); printf( "The time is: %d:%02d:%02d %s %04d.%02d.%02d\n", $Time{hou +r}, $Time{min}, $Time{sec}, $Days[$Time{dow}], $Time{year}, $Time{mon +th}, $Time{day} );
If you're a C/C++ win32 programmer, which you probably are, this should make sense.

--
hiseldl
"Act better than you feel"

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://197947]
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-24 02:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found