Author Topic: Easy Code 64 crashes on compile  (Read 1161 times)

Phrediac

  • Regular Member
  • *
  • Posts: 3
Easy Code 64 crashes on compile
« on: November 20, 2021, 11:41:51 AM »
Hi,

I've just downloaded the latest version of Easy Code. Whenever I try to assemble a file or a project, the program crashes without warning or message. This is true of all the sample programs using either compile or build. I have set the correct directories for the compiler, linker (VS 2019), include files and libs (Easy Code).

Any suggestions

Many thanks
-Ian

rsala

  • Moderator
  • Member
  • *****
  • Posts: 353
    • Easy Code
Re: Easy Code 64 crashes on compile
« Reply #1 on: November 20, 2021, 10:10:33 PM »
Hi Ian,

Thanks for using Easy Code!

I have tested EC on Windows XP, Vista, 7, 8, 8.1 and 10 (both, 32-bit and 64-bit) and there is no problem, so I do not know what can be happening. I attach an image of my settings for Masm32 and I hope it can help you. As you can see I have all tools in drive "G:".

Regards!
EC coder

jj2007

  • Member
  • *****
  • Posts: 13284
  • Assembly is fun ;-)
    • MasmBasic
Re: Easy Code 64 crashes on compile
« Reply #2 on: November 20, 2021, 11:24:14 PM »
the program crashes without warning or message

Ian,
Try running the executable with OllyDbg. Perhaps you can find out where exactly it crashes.
Masm32 Tips, Tricks and Traps

Some members can't live without insulting others. It tells us a lot about them.

rsala

  • Moderator
  • Member
  • *****
  • Posts: 353
    • Easy Code
Re: Easy Code 64 crashes on compile
« Reply #3 on: November 21, 2021, 07:28:30 AM »
I just tried to use Easy Code as if I were a user who download it for the first time. In that case, as explained in the help file, all paths are referred to drive "C:" and you have to replace them with the right ones.
Anyway, downloading EC v2 for the first time and without modifying a single path, IT DOES NOT CRASH. You cannot compile anything, of course, but it does not crash.
So, as jj2007 says, try to run the executable with OllyDbg (or any other debugger) and maybe we will have a clue of the problem.
EC coder

Phrediac

  • Regular Member
  • *
  • Posts: 3
Re: Easy Code 64 crashes on compile
« Reply #4 on: November 21, 2021, 11:55:32 PM »
Hi rsala and jj2007

I'm using Easy Code 64 so OllyDbg warns about running it. I discovered what caused the crash. I had set the text encoding to Unicode. Reverting to ANSI fixed that.

Many thanks for the help
-Ian

rsala

  • Moderator
  • Member
  • *****
  • Posts: 353
    • Easy Code
Re: Easy Code 64 crashes on compile
« Reply #5 on: November 22, 2021, 07:52:45 AM »
Glad to hear you solved the problem!
Some compilers do not accept Unicode files, so please take that into account when setting the text encoding.
EC coder