Welcome, Guest
Username: Password: Remember me
CodeTyphon MS Windows (Win7, Win8.x, Win10 and Win11) OS Development, discussions and problems
  • Page:
  • 1

TOPIC:

Problems about update component package. 4 years 9 months ago #13451

  • David Wu
  • David Wu's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 11
  • Thank you received: 0
Hello fellows,
First of all, Thanks a lot for CT, what a wonderful project! Thanks to all the contributions for this project.
Now I'm running a CT6.7 on Windows10.
when I 'm trying to remove the old version of the package DataPort and Install the new version which I download from the GitHub, there are some problems appeared.
I did the follow steps
1 select the menu "Package | Install/Uninstall Packages" from the CT IDE
2 let the pl_DataPort move to the right side, then hit the "Save and Rebulid IDE" button
3 copy the new version of the DataPort package into C:\codetyphon\typhon\components\ whth a dir name: dataport-master
4 Use the ct2laz tool turn it to a CT package
5 Open the new package from CT IDE, compile it, whth a little modify of the source, everything is ok.
6 menu "Package | Install/Uninstall Packages" and move "dataportlazarus" to left side. and hit "Save and Rebulid IDE" button.
now, I think the new version has been installed well, but, then I create a new application to test it, on the new form, I put a TDataPortSerial component, I find the class TDataPortSerial still point to the old version where it located C:\codetyphon\typhon\components\pl_DataPort, not the new version where it located C:\codetyphon\typhon\components\dataport-master.
Please help
Thanks a lot.

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

Last edit: by David Wu.

Problems about update component package. 4 years 9 months ago #13452

  • David Wu
  • David Wu's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 11
  • Thank you received: 0
By the way, I checked the state of the two packages, I found:
the old version: pl_dataport6.5.1 =>selected for uninstallation, installed, RunAndDesignTime
the new version: dataportlazarus1.0.3=>selected for installation, not installed, RunAndDesignTime

Does that mean that the old version is still installed and the new version is not installed?

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

Problems about update component package. 4 years 9 months ago #13453

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
Yes
1) ct2laz can't give CT working packages...
2) pl_DataPort has the same source with dataport GIT: 87fdbae42563d02be59fb98e331a5ac24ff4ae1f
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

Problems about update component package. 4 years 9 months ago #13454

  • David Wu
  • David Wu's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 11
  • Thank you received: 0

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

Problems about update component package. 4 years 9 months ago #13455

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
Sir again :)
1) ct2laz can't give CT working packages...
2) pl_DataPort has the same source with dataport GIT: 87fdbae42563d02be59fb98e331a5ac24ff4ae1f
3) to convert OLD CT or Lazarus pkgs to CT please use this
PilotLogic Architect and Core Programmer
The following user(s) said Thank You: David Wu

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

Last edit: by Sternas Stefanos.

Problems about update component package. 4 years 9 months ago #13456

  • David Wu
  • David Wu's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 11
  • Thank you received: 0
Thank you very much.

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

Problems about update component package. 4 years 9 months ago #13458

  • David Wu
  • David Wu's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 11
  • Thank you received: 0
Sir, One more question, I tried to remove the dataport package pl_dataport. whatever, form the menu "Package | Install/Uninstall Packages" of the CT IDE or "Open loaded packages" and remove it, it is always there. and when rebuild the CT IDE the component palette has not changed, it is still there.
I was wondering if those packages with prefix pl_ or lz_ cannot be removed?

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

Problems about update component package. 4 years 9 months ago #13460

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
Check if the new TyphonIDE exe at
C:\codetyphon\typhon (building Directory)

has moved to
C:\codetyphon\typhon\bin32 or
C:\codetyphon\typhon\bin64
(Working Directory)
PilotLogic Architect and Core Programmer
The following user(s) said Thank You: David Wu

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

Problems about update component package. 4 years 9 months ago #13461

  • David Wu
  • David Wu's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 11
  • Thank you received: 0
Thanks again, I had learned a lot.

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

Problems about update component package. 4 years 9 months ago #13462

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
Sir
We are here for any question.

CodeTyphon it's a Terra programming studio but
we try to make it Simple.

CT "Self Building" Software Technology (with one click) is the Superiority of Open Source...
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.
  • Page:
  • 1