The MASM Forum
Projects => Rarely Used Projects => GoAsm => Topic started by: shankle on July 10, 2018, 09:50:34 PM
-
7-10-2018
Thanks for any help.
Stats: GoAsm 64-bit, Windows 7 pro 64-bit
Having a problem with the "POINT" structure.
Am I missing a header file?????
.const
POINT STRUCT
Px dd 0
Py dd 0
POINT ENDS
DATA SECTION
hdc dq 0
WndProc:
LOCAL pt:POINT
invoke GetCursorPos [pt]
invoke BitBlt,[hdc],[pt:Px],[pt:Py],16,16,[hdc],10,60,SRCCOPY
Error!
Could not open an input file (PT.DLL)
Needed for forced Dll or import by ordinal
Output file not made
-
Is it pt:px or pt.px?
-
Yes, it should be [pt.Px]. A point problem indeed.
-
Thanks guys.
I don't work with structures very much and have a memory problem.
Yes it should be pt.Px
All you young guys don't have this problem YET:)
-
Also a comma missing after GetCursorPos. That one is still on my fix to-do list...
-
Thanks. problem fixed now.