Author Topic: Convert Problem  (Read 4227 times)

shankle

  • Member
  • ****
  • Posts: 868
Convert Problem
« 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.

wjr

  • Member
  • **
  • Posts: 237
    • WJR's website
Re: Convert Problem
« Reply #1 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].

shankle

  • Member
  • ****
  • Posts: 868
Re: Convert Problem
« Reply #2 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


« Last Edit: October 29, 2014, 04:53:52 AM by shankle »

Yuri

  • Member
  • **
  • Posts: 179
Re: Convert Problem
« Reply #3 on: October 29, 2014, 03:33:17 PM »
0xC0000374 is STATUS_HEAP_CORRUPTION