Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: c style Win32::API interface

by dfaure (Chaplain)
on Oct 05, 2004 at 05:53 UTC ( [id://396480] : note . print w/replies, xml ) Need Help??

in reply to c style Win32::API interface

You just have a small bug in the prototype you use. The real one is there:

MCIERROR mciSendString( LPCTSTR lpszCommand, LPTSTR lpszReturnString, UINT cchReturn, HANDLE hwndCallback );

HTH, Dominique
My two favorites:
If the only tool you have is a hammer, you will see every problem as a nail. --Abraham Maslow
Bien faire, et le faire savoir...