News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

Convert Problem

Started by shankle, October 27, 2014, 06:23:23 AM

Previous topic - Next topic

shankle

Thanks for any help.
Would appreciate if someone could give some insight to this problem.
See attached code.

wjr

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].

shankle

#2
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



Yuri

0xC0000374 is STATUS_HEAP_CORRUPTION