The MASM Forum

Projects => Rarely Used Projects => GoAsm => Topic started by: shankle on October 27, 2014, 06:23:23 AM

Title: Convert Problem
Post by: shankle on October 27, 2014, 06:23:23 AM
Thanks for any help.
Would appreciate if someone could give some insight to this problem.
See attached code.
Title: Re: Convert Problem
Post by: wjr on October 27, 2014, 12:19:18 PM
That is a GoLink error and it is unable to make your EXE output file since it is still running or had problems doing so and hasn't closed. Instead of shutting down, you can start Task Manager and End Process.

I took a quick look at the rest. For LoadMenu you probably should use [hInst], and menuname looks like an equate for 600, so use that symbol or value, not [menuname].
Title: Re: Convert Problem
Post by: shankle on October 29, 2014, 01:16:41 AM
Thank you WJR for responding.
Some of my problems were in the WM_PAINT section of the program.

The Winmain Locals had a few items missing and when I added them the
program partially started working. One time it works and the next time it
gets a "c0000374" error, which is of no use to me. HOWEVER, they showed
up in the compile as unreferenced symbols in error. The compiler did not
show these items as missing. The symbols in question are used in the program.
The missing items are:  hBrush, hdc, hMenu, vdc, vbrush, vMenu

WinMain:
   FRAME hInst,hPrevInst,CmdLine,CmdShow
   LOCAL ovl:WNDCLASSEXA,msg,RR:RECT,hWnd,hBrush,hdc
   Local lb:LOGBRUSH,ps:PAINTSTRUCT,pt:POINT,hMenu,vdc
   Local jps:WNDCLASSEXA,vWnd,vInst,vBrush,vMenu


Title: Re: Convert Problem
Post by: Yuri on October 29, 2014, 03:33:17 PM
0xC0000374 is STATUS_HEAP_CORRUPTION