The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: ron_co on November 08, 2005, 02:51:23 AM

Title: Qikpad.asm
Post by: ron_co on November 08, 2005, 02:51:23 AM
I'm new to 32bit assembler programming, Have been programming in C/C++ fo many years. I tried to assemble qikpad (Examples) 2 and come up with an error on line 444  conflicting parameter def., an error on lines 510 and 535 to few arguments to INVOKE.what gives? how do I correct this? I'm impressed with the size and speed of this language and might make it my primary programming language.
thanks for your time
ron_co
Title: Re: Qikpad.asm
Post by: GregL on November 08, 2005, 05:03:37 AM
ron_co,

There is a 'Write_To_Disk' procedure in masm32.inc/lib, it is conflicting with the one in QikPad. After quickly looking at the two procedures, they look like they do the same thing. The difference is the one in QikPad uses a global variable for the hEdit parameter. Modify the QikPad program to use the procedure in masm32.inc/lib.

Title: Re: Qikpad.asm
Post by: hutch-- on November 08, 2005, 07:50:13 AM
Ron,

Welcome on board.

Sorry about that, I already had it fixed in the next version of MASM32 but I missed the name overlap when I did the library function. I have attached the fixed version.

[attachment deleted by admin]