#### rsala

• Moderator
• Member
• Posts: 348
« Reply #15 on: January 27, 2014, 06:50:27 AM »
Hi,

I'm getting crazy with this. I'm terribly sorry but I can't see where the problem is so I can't fix it. Everything works fine in all computers and Windows platforms where I have tested Easy Code GoAsm.

I will keep on trying.

Ramon
EC coder

#### satpro

• Member
• Posts: 116
« Reply #16 on: January 27, 2014, 07:22:16 AM »
Hi,

I'm getting crazy with this. I'm terribly sorry but I can't see where the problem is so I can't fix it. Everything works fine in all computers and Windows platforms where I have tested Easy Code GoAsm.

I will keep on trying.

Ramon

Hi Ramon,
You know what?  Don't sweat it.  No sense getting crazy over something one person (me) is talking about.  It must be something on my end.  Just wish I knew what.  I'll code the long way and just add the headers in code -- I am used to doing that anyhow.  The IDE is nice to work with, and it's really all I was after anyway, so that's good enough.  In the meantime, if I do manage to figure out what it is I'll be sure to report back.

Bert

#### anta40

• Member
• Posts: 315
« Reply #17 on: January 27, 2014, 11:36:04 PM »
Hi,

I'm getting crazy with this. I'm terribly sorry but I can't see where the problem is so I can't fix it. Everything works fine in all computers and Windows platforms where I have tested Easy Code GoAsm.

I will keep on trying.

Ramon

Hi Ramon,

Does EasyCode have a mechanism to generate error dump?
I know that not being able to reproduce bug can be very confusing, and in this case
examining error dump can provide some hints about the bug itself.

#### rsala

• Moderator
• Member
• Posts: 348
« Reply #18 on: January 28, 2014, 06:37:09 AM »
Hi satpro,

Thanks a lot for you kind words. I'll try to find out the problem.

Ramon
EC coder

#### rsala

• Moderator
• Member
• Posts: 348
« Reply #19 on: January 28, 2014, 06:41:21 AM »
Hi anta40,

Thanks for giving ideas.

No, unfortunately Easy Code does not have any mechanism to generate error dump.

Ramon
EC coder

#### jj2007

• Member
• Posts: 12487
• Assembler is fun ;-)
« Reply #20 on: January 28, 2014, 07:28:32 AM »
No, unfortunately Easy Code does not have any mechanism to generate error dump.

A simple debug macro could do the job, applied near the code area where the problem seems to be.
This one uses a switch; if usedeb=0, no extra code will be generated. With usedeb=1, extra checks are being performed, and a console window will be created to display the error line:
Code: [Select]
`include \masm32\include\masm32rt.incusedeb=1 ; 0=no checks, 1=checkvoidNonZero MACRO argsLOCAL tmp\$  @CatStr(<;>, <args>)  if usedeb .if !eax pushad invoke GetConsoleWindow .if !eax ; must be SUBSYSTEM:WINDOWS... invoke AllocConsole .endif tmp\$ CATSTR <chr\$("## eax is zero in line >, %@Line, < ##")> print tmp\$, 13, 10 popad .endif  endifENDM.datarc RECT <>hWin dd ?.codestart: voidNonZero rv(GetConsoleWindow) ; uses Masm32 rv macro invoke GetClientRect, edx, addr rc voidNonZero eax ; more traditional voidNonZero rv(GetClientRect, eax, addr rc) MsgBox 0, str\$(rc.right), "Pixels wide:", MB_OK exitend start`

#### rsala

• Moderator
• Member
• Posts: 348
« Reply #21 on: January 28, 2014, 08:15:11 AM »
Hi jj2007,

Thank you very much!

I will test the macro.

Ramon
EC coder

#### satpro

• Member
• Posts: 116
« Reply #22 on: January 30, 2014, 08:15:03 AM »
I would like to announce that Ramon has taken the steps to fix my problem with adding include files through Project Explorer/Menu.  He did it in a professional, unrelenting manner (through personal messaging) that has left me impressed to the point of bewilderment.

Just thought everyone should know.

Thanks Ramon.  You're a class act for sure.

• Moderator
• Member
• Posts: 348