Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Win32::API giving a program error

by bibo (Pilgrim)
on Jun 03, 2004 at 21:55 UTC ( [id://360535]=note: print w/replies, xml ) Need Help??


in reply to Win32::API giving a program error

I see that the DLL you are calling is part of the MS Win2K resource kits. Have you perhaps seen this knowledgebase article about Fileversion.PL to do the same sort of stuff?

Can you show the formal arguments and return type for the DLL function you are calling ("GetFileVersionTxt")? Like at least one other monk, I wonder if you have the types right. Also, the author of Win32::API indicates that if C structures are passed or returned, you must do some pack()ing or unpack()ing to make them right. Getting the args wrong in this manner will most certainly get you a visit from Doctor Watson (the windows exception handler) but the logs are not usually helpful. --b

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-16 16:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found