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

Re: Win32::API and 'short' arguments

by BrowserUk (Patriarch)
on May 10, 2006 at 01:19 UTC ( [id://548358]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #include <windows.h>
    
    ...
    ) {
        return a+b+c+d;    
    }
    
  2. or download this
    LIBRARY TESTDLL.DLL
    
    EXPORTS
        test
    
  3. or download this
    cl /LD testdll.c /link /DEF:testdll.def
    
  4. or download this
    #! perl -slw
    use strict;
    ...
    8*4 = 32
    9*4 = 36
    10*4 = 40
    
  5. or download this
    Dump of file testdll.dll
    ...
        ordinal hint RVA      name
              1    0 00001000 _test@16
    
  6. or download this
    Dump of file testdll.dll
    
    ...
    ...
        ordinal hint RVA      name
              1    0 00001000 test
    
  7. or download this
    #! perl -slw
    #use strict;
    ...
    8*4 = 32
    9*4 = 36
    10*4 = 40
    
  8. or download this
    #include <windows.h>
    
    ...
    ) {
        return a+b+c+d;    
    }
    
  9. or download this
    Dump of file testdll.dll
    ...
        ordinal hint RVA      name
              1    0 00001000 test
    
  10. or download this
    #! perl -slw
    #use strict;
    ...
    
    print "$_*4 = ", test( ($_) x 4 ) for 1 .. 10;
    __END__
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-04-23 22:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found