Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: Win32::API giving a program error

by bibo (Pilgrim)
on Jun 03, 2004 at 21:55 UTC ( #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?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2022-05-27 00:50 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (94 votes). Check out past polls.