Forum
|
|
ML Nonfatal Error A2039: line too long, what is the maximum expected length of a line of code in MASM?
|
Lachdahnan |
|
Member
Group: Members
Posts: 24
Member No.: 5739
Joined: 13-January 08
|
R:\WinAsm\WIN.ASM(48) : error A2039: line too long This is the error I am getting when trying to compile tutorial number 3, I made some very small changes here and there, but I am not sure what I did to upset it. Ill include the zip.
Attached File ( Number of downloads: 23 )
Login or Register to download
|
|
|
|
Lachdahnan |
|
Member
Group: Members
Posts: 24
Member No.: 5739
Joined: 13-January 08
|
Ok, I added the '\' like you said, I even tried filling it in all the way down with the rest of the operands (hope Im saying that right). But I am still getting the error. Any ideas?
Heres a new zip showing what I did.
*Edit* Ill paste the code and each of the changes I made too. Minus my comments.
FIRST ATTEMPT:
CODE | INVOKE CreateWindowEx, NULL, ADDR ClassName, ADDR AppName, WS_OVERLAPPEDWINDOW, 650, 500, 640, 480, NULL, NULL, hInst, NULL |
SECOND ATTEMPT:
CODE | INVOKE CreateWindowEx,\ NULL,\ ADDR ClassName, ADDR AppName, WS_OVERLAPPEDWINDOW, 650, 500, 640, 480, NULL, NULL, hInst, NULL |
THIRD ATTEMPT:
CODE | INVOKE CreateWindowEx,\ NULL,\ ADDR ClassName,\ ADDR AppName,\ WS_OVERLAPPEDWINDOW,\ 650,\ 500,\ 640,\ 480,\ NULL,\ NULL,\ hInst,\ NULL |
All these combinations still give me the same error on line 48
CODE | INVOKE CreateWindowEx, |
Attached File ( Number of downloads: 17 )
Login or Register to download
|
|
|
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
Track this topic
Receive email notification when a reply has been made to this topic and you are not active on the board.
Subscribe to this forum
Receive email notification when a new topic is posted in this forum and you are not active on the board.
Download / Print this Topic
Download this topic in different formats or view a printer friendly version.
|
|
|