When compiling file 'mousehook.asm' ( in Iczelion's Win32 Assembly Tutorial part 24 - Windows Hooks), I get this error: mousehook.asm(12) : error A2111: conflicting parameter definition Here is the line 12 in file 'mousehook.asm':

wsprintfA proto C :DWORD,:DWORD,:VARARG
I really don't know what need to do now? Please explain me about that error and tell me how to fix it. Thanks a lot. use
tags to prevent smilies from entering your code :) This message was edited by Hiroshimator, on 5/2/2001 5:55:25 AM
Posted on 2001-05-02 04:49:00 by thanhtrung2020
open up your windows.inc file and put a ; in front of the 2 wsprintfA lines at the beggining of the file. smurf
Posted on 2001-05-02 06:18:00 by smurf
Do it the other way, comment out the wsprintf prototype in the source code as it is older than the current windows.inc. Regards, hutch@pbq.com.au
Posted on 2001-05-02 09:19:00 by hutch--
hutch i know the windows.inc has more up to date code but since he appears to be new the parameters in the windows.inc takes only 2 and his code takes 3. then he would have to modify his source code and take away one of the paramaters. i dont know why the windows.inc took away one of the paramters anyways because the msdn shows an optional paramter that can be used. smurf
Posted on 2001-05-02 15:36:00 by smurf
Hi, I only delete this line bacause it 's defined in windows.inc Thannk:)
Posted on 2001-05-03 22:12:00 by thanhtrung2020