The MASM Forum Archive 2004 to 2012

Project Support Forums => IDE Development and Support => Easy Code => Topic started by: Porkster on December 20, 2004, 08:38:24 PM

Title: Easycode: Bug Reports
Post by: Porkster on December 20, 2004, 08:38:24 PM
Report crash and bugs in EasyCode.

.
Title: Re: Easycode: Bug Reports
Post by: Lewis on December 21, 2004, 07:44:44 AM
Coming from a "visual" programming background and experience, I can definetly say that this ide is one of the best i've seen for assembler. It is very intuitive and easy to use. Thanks for the hours of time you must have spent on this.

That being said i have yet to compile my first project in easy code IDE...

1) I open the IDE and load a standard easy code project.
2) Add 3 or so windows and dialogs to the project.
3) Try to build project, it tells me project is not saved.
4) I save project window files, one at a time as the common dialog windows open.
5) goto step 3

This happens when closing the IDE also.
It says, project isnt saved...
So i save project, and try to close IDE again....
rinse and repeat...

This could easily be something im doing wrong, if so i apologize for my ignorance...
And again, keep up the good work!
Regards,
Lewis

Edit:: Im on winXP SP2 with p3 450 512 ram
Title: Re: Easycode: Bug Reports
Post by: Ramon Sala on December 21, 2004, 09:46:04 AM
Hi Lewis,

First of all, thank you very much for your words. I really appreciate them and I'm glad you like the IDE.

About the bug you report, I cannot see any problem but I guess you may be using and old version as that problem existed before. Currently available version is 1.00.0008 (get it at: http://easycoder.org/English/Download/EasyCode108Eng.zip) and, as far as I know, it works fine saving the project. Please check the version you have installed and make sure it is 1.00.0008. If it is and the problem persists, please tell me. Thank you Lewis.

Best regards,

Ramon (rsala)
Title: Re: Easycode: Bug Reports
Post by: Lewis on December 22, 2004, 01:19:40 AM
Thanks for your prompt reply Ramon, i redownloaded, re-installed, and all is fine now! Somehow i must have gotten the older version. Thanks again for your time.
Now is time for me to move to the feature request section. :)
Regards,
Lewis
Title: Re: Easycode: Bug Reports
Post by: Ramon Sala on December 22, 2004, 07:05:45 AM
Hi Lewis,

I'm glad you solved the problem.

Regards,

Ramon
Title: Re: Easycode: Bug Reports
Post by: Lewis on December 23, 2004, 06:15:28 AM
Hi again ramon,

Small bug report...

in order to reproduce:
1)Open IDE an start normal win32 app project
2) add button to Window1 from toolbar
3) double click on button to goto Window1Button1 Proc
4) Insert code: .If uMsg == BTN_CLICK
5) hilite(select)  BTN_CLICK and click on Edit -> Find Declare menu

instant crash for me...

Hope this helps you find the bug,

regards
Lewis
Title: Re: Easycode: Bug Reports
Post by: Ramon Sala on December 23, 2004, 11:21:49 AM
Hi Lewis,

I'll check what you report. Thank you.

Regards,

Ramon
Title: Re: Easycode: Bug Reports
Post by: Ramon Sala on December 23, 2004, 09:21:02 PM
Hi Lewis,

When I was working with last version (1.00.0009, posted today), I found the bug you reported and I fixed it, so you just have to download the Easy Code last version and the problem is over. Thank you very much for your help.

Best Regards,

Ramon
Title: Re: Easycode: Bug Reports
Post by: Lewis on December 23, 2004, 11:12:42 PM
Thanks ramon for your quick bug fix... I hope you have a merry christmas!

This newest installer will not complete for me.
When it is copying LDisplay.ttf to the font folder it freezes and never recovers.
Keep up the good work!

regards
Lewis
Title: Re: Easycode: Bug Reports
Post by: Ramon Sala on December 24, 2004, 12:37:51 AM
Hi Lewis,

Sorry about the bug you report. The installer works fine for me under Windows 98/2K (and as far as I know it also works under XP), but I'll try to find out what it happens. Meanwhile I suggest to delete LDisplay.ttf manually from the Fonts folder and try the installation again.

Rregards and Merry Christmas,

Ramon
Title: Easy Code Installation problem?
Post by: Ramon Sala on December 24, 2004, 09:20:51 PM
Hi Lewis,

After several testings made by Paul E. Brennick (global moderator of Masm forum) and me, on Windows 98/XP/2K, no crash is caused even though the LDisplay.ttf file is locked, so I guess you have another problem in your system. Did you already find out how it happens? Please let me know if you have any news about your installation problem. Thank you.

Regards,

Ramon
Title: Re: Easycode: Bug Reports
Post by: Lewis on December 25, 2004, 03:29:09 AM
Hi ramon,

I ended up deleting the font from my font folder, and it installed fine...
Im not sure what the problem is or was.
Thanks for your help

regards
Lewis
Title: Re: Easycode: Bug Reports
Post by: Ramon Sala on December 25, 2004, 09:05:44 AM
Thank you Lewis. I'm glad the problem is solved even though it is not clear what it was happening. Anyway, your reports are always welcome.

Regards,

Ramon
Title: Re: Easycode: Bug Reports
Post by: Bieb on December 27, 2004, 02:39:57 AM
Alright, I've got two bugs.  The first is that the text property of editboxes doesn't seem to update when text is typed into them.  I'm really not sure if that's an actual bug or if it's just me.  I've attached sample code you can look at.  The other problem I've had is with the maxlength property of editboxes.  You'll see that in the attached project I change the property from code, but if you try to do it at design time, you'll get an error message that says object names can't start with numbers.

Please note that the attached file is a RAR inside of a ZIP.  Had to do it to get the file size down.

[attachment deleted by admin]
Title: Re: Easycode: Bug Reports
Post by: Ramon Sala on December 27, 2004, 06:49:23 AM
Hi Bieb,

I've been testing the project you attached and you are right about the Text property for edit boxes. It doesn't update at run time. This is a bug that will be fixed for future versions. Meanwhile, please use GetWindowText API function. On the other hand, property MaxLength works fine to me, both at design and run time. Please, be sure you have the Easy Code last version (1.00.0009) available at this forum (topic: Get the latest version of Easy Code here).

Regards,

Ramon
Title: Re: Easycode: Bug Reports
Post by: Bieb on January 01, 2005, 01:04:47 AM
It's an odd bug, apparently the problem only happens when I type a number and then click outside of the properties window.  If I hit the Enter key, it works just fine.
Title: Re: Easycode: Bug Reports
Post by: Ramon Sala on January 01, 2005, 11:37:54 AM
Hi Bieb,

Could you explain that odd bug with more detail please? Thank you.

Regards,

Ramon
Title: Re: Easycode: Bug Reports
Post by: Bieb on January 01, 2005, 01:26:39 PM
Here's a video that demonstrates it

[attachment deleted by admin]
Title: Re: Easycode: Bug Reports
Post by: Ramon Sala on January 02, 2005, 01:04:07 AM
Thank you Bieb. I'll fix that bug.

Ramon
Title: Re: Easycode: Bug Reports
Post by: hutch-- on January 02, 2005, 01:43:28 AM
Bieb,

I am interested in how you made the video file to demostrate the problem you mentioned. It looks like it could be very useful in tutorials and similar.
Title: Re: Easycode: Bug Reports
Post by: Bieb on January 02, 2005, 03:05:37 AM
I can't remember where, but somewhere on Microsoft's site you can find a free download of Windows Media Encoder, which does video screen captures.  I think I originally found a link to it in a tutorial on making multichannel audio.  It's really useful for when you just can't properly describe something.
Title: Re: Easycode: Bug Reports
Post by: Ramon Sala on January 02, 2005, 10:10:26 AM
Hi Bieb,

The bug has been fixed for future versions. Thank you.

Regards,

Ramon
Title: Re: Easycode: Bug Reports
Post by: Porkster on January 03, 2005, 06:32:37 AM
Hypercam is a good one I use.  I used to capture screens for ISP troubles.  Better than trying to tell those IT people pings and tracert problems over multi-files.

http://www.hyperionics.com/

Xvid or 3ivx are both good for the encoding/decoding of the motion.

http://www.doom9.org/

http://www.3ivx.com/

.
Title: Re: Easycode: Bug Reports
Post by: Faiseur on January 07, 2005, 06:43:13 PM
Hi rsala,

A small problem:  when I copy a procedure since an external file from "Easy Code", the first time "EasyCode" generate "private" "End" procedure.  I must copy second once so that the copy functions.

Look at this example.

Regards,

faiseur



[attachment deleted by admin]
Title: Re: Easycode: Bug Reports
Post by: Faiseur on January 08, 2005, 03:23:51 AM
Hi Ramon,

apparently a small bug which comes like this:

1. In a project i remove the window "Project Explorer"

2. I leave "Easy Code"

3. I starts again "Easy Code".  As my configuration is saved it does not post the window "Project Explorer", ok.

4. After having opened a project, I want to see again the window "Project Explorer" and I use "Wiew - > Project Explorer", the window opens but its contents are empty...;)

5. If I leave and starts again the program with this configuration, the window "Project Explorer" functions again correctly.

Regards,

faiseur
Title: Re: Easycode: Bug Reports
Post by: Ramon Sala on January 08, 2005, 10:03:19 AM
Hi Faiseur,

You're right, thank you. The bug will be fixed for future versions.

Regards,

Ramon
Title: Re: Easycode: Bug Reports
Post by: Mark Jones on January 31, 2005, 06:11:17 PM
Hi all, EasyCode is cool. :)

I installed MASM32 to a custom folder and put /bin, /include, and /lib in the path. (This isn't a problem, is it?) Then I set the MASM32 path settings in EasyCode. This will compile:

Include c:\assemb~1\masm32\include\comdlg32.inc

And this will not:

Include comdlg32.inc

Shouldn't they both work?

Regards,
Mark
Title: Re: Easycode: Bug Reports
Post by: Ramon Sala on January 31, 2005, 10:19:43 PM
Hi Mark,

Thanks for your words about Easy Code!

Well, let's see. If you write an Include or IncludeLib sentence directly in the code, you are responsible to specify the full path for each .inc or .lib file. So, the best you can do is to include all needed .inc and .lib files through the corresponding menu options in the IDE:

Project-->Add Include file (*.inc)...
Project-->Add Library file (*.lib)...


After that, you remove all Include and IncludeLib sentences from code. In that way, if you set the correct paths in menu option Tools-->Options-->MASM32 for include and library files, you will have no problem at compile time.

I hope this will solve your problem for now (if not, please let me know). Anyway, for avoiding this issue in future versions of Easy Code I will set the include path in the command line of ML.EXE (I forgot that).

Regards,

Ramon
Title: Re: Easycode: Bug Reports
Post by: Relvinian on January 31, 2005, 11:09:24 PM
Ramon,

Just out of curiosity since I haven't used Easy Code yet. When you compile a source ASM file, do you allow the /INCLUDE or /LIB parameters to ML.EXE to be defined? With these defined to correct paths for Includes and Librarys, in a source file you don't have to include the full path.

Since I don't know what options are available, that may be a future enhancement to EasyCode to allow addtional include and library directories.

Relvinian
Title: Re: Easycode: Bug Reports
Post by: Ramon Sala on February 01, 2005, 12:42:41 AM
Hi Relvinian,

Easy Code can build Visual projects and Classic projects. The classic mode is the traditional build all levels, where the coder is expected to construct the whole project and the IDE just compiles and links, while the visual mode saves a lot of time managing all the objects (windows and controls). Only in classic projects you can add parameters to the command line of the compiler (ML.EXE), but not for the linker (I will have a look at that in order to improve it). To add more options to the command line of ML.EXE, open the project properties window:

Project-->Properties...


You will see a field named Compiler options (ML.EXE) where you can enter more switches (options) for the compiler. Anyway, I will improve all that for the next version in order to make it easier.

Regards,

Ramon