Welcome, Guest
Username: Password: Remember me
General Purpose Components and Libraries, discussions, problems and suggestions
  • Page:
  • 1

TOPIC:

Implementing pkg EducationLaz corrupts "Options" 10 years 5 months ago #4772

  • Bernard Asher
  • Bernard Asher's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 16
  • Thank you received: 1
After installing the EducationLaz 1.01 package you cannot choose the "Tools - Options" menu choice anymore :woohoo: It fails with the message "Unknown/Unsupported Targa image type".

This didn't happen in CT 4.4, but now in 4.6 it happens, both in Win32 and Win64 versions.

Can anyone help me with this?

Please Log in or Create an account to join the conversation.

Last edit: by Bernard Asher.

Implementing pkg EducationLaz corrupts "Options" 10 years 4 months ago #4910

  • Bernard Asher
  • Bernard Asher's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 16
  • Thank you received: 1
I can understand that no one responded to this bug report. You have to use the Education package to fully understand its virtues. The one most important feature is its ability to make components and tabs from the component palette invisible. For anyone who likes a small palette of just the components used in his projects, the Education package is indispensable.

So, please Mr. Sternas, can you have a look at this?

Please Log in or Create an account to join the conversation.

Last edit: by Bernard Asher. Reason: spelling corrected

Implementing pkg EducationLaz corrupts "Options" 10 years 4 months ago #4912

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
We will try Sir
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Implementing pkg EducationLaz corrupts "Options" 10 years 4 months ago #4915

  • Bernard Asher
  • Bernard Asher's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 16
  • Thank you received: 1
I wouldn't mind debugging this problem myself. However I have no idea how to debug the IDE (I rebuilt it already with Dwarf2 debugging options).
First of all I would have to block the system from stripping the debug information.
If I open the project "C:\codetyphon\typhon\ide\typhon.lpi" and try to run it, it says:
No program file "C:\codetyphon\typhon\typhon.exe" found
which is true but very unhelpful.
If I try to build it, it says:
The program's compiler options has no compile options
which is wrong and even more unhelpful.
So, what is the right way to debug the IDE?

Thanks.

Please Log in or Create an account to join the conversation.

Implementing pkg EducationLaz corrupts "Options" 10 years 4 months ago #4917

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
This is NOT so simple Sir
Typhon IDE is NOT a simple program, it's an "Executable System"

My suggestion is to use "Build Typhon" with your "debugging profile" from Typhon IDE/Tools
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Implementing pkg EducationLaz corrupts "Options" 10 years 4 months ago #4919

  • Bernard Asher
  • Bernard Asher's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 16
  • Thank you received: 1

sternas wrote: My suggestion is to use "Build Typhon" with your "debugging profile" from Typhon IDE/Tools

I had already done that. But that does not bring me to the point where I can actually debug the IDE

Please Log in or Create an account to join the conversation.

Implementing pkg EducationLaz corrupts "Options" 10 years 3 months ago #4977

  • Bernard Asher
  • Bernard Asher's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 16
  • Thank you received: 1

sternas wrote: We will try Sir

How is it going?

Best wishes and lots of happiness in 2014 :)

Please Log in or Create an account to join the conversation.

Implementing pkg EducationLaz corrupts "Options" 10 years 3 months ago #4984

  • Bernard Asher
  • Bernard Asher's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 16
  • Thank you received: 1
The problem with the Education package stems from a possibly invalid icon in the dwScript package. Ignoring the exception that results from it cures the problem.

The Education package still does not display the correct icons for any components, though.

This is the patch:

Module EduCompPalette:
procedure TEduCompPaletteFrame.FillComponentTreeView;
.
.
Line 174:
//    if ResHandle <> nil then                             // BA
//      Image := CreateBitmapFromResourceName(HInstance, ResHandle.Name) //BA
      if ResHandle <> nil then begin                       // BA
        Try                                                // BA
          Image := CreateBitmapFromResourceName(HInstance, ResHandle.Name) //BA
        except                                             // BA
          Image := nil;                                    // BA
        end;                                               // BA
      end                                                  // BA

Please Log in or Create an account to join the conversation.

Last edit: by Bernard Asher.

Implementing pkg EducationLaz corrupts "Options" 10 years 3 months ago #4985

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
Thanks Sir
we will check and report here
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • Page:
  • 1