Forum
× CodeTyphon MS Windows (XP, Vista, Win7, Win8.x and Win10) OS Development, discussions and problems

Question Problems about update component package.

  • David Wu
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 month 2 days ago - 1 month 2 days ago #13451 by David Wu
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.
Last edit: 1 month 2 days ago by David Wu.

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

  • David Wu
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 month 2 days ago #13452 by David Wu
Replied by David Wu on topic Problems about update component package.
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.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
1 month 2 days ago - 1 month 2 days ago #13453 by Sternas Stefanos
Replied by Sternas Stefanos on topic Problems about update component package.
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
Last edit: 1 month 2 days ago by Sternas Stefanos.

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

  • David Wu
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 month 2 days ago #13454 by David Wu
Replied by David Wu on topic Problems about update component package.

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
1 month 2 days ago - 1 month 2 days ago #13455 by Sternas Stefanos
Replied by Sternas Stefanos on topic Problems about update component package.
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
Last edit: 1 month 2 days ago by Sternas Stefanos.
The following user(s) said Thank You: David Wu

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

  • David Wu
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 month 2 days ago #13456 by David Wu
Replied by David Wu on topic Problems about update component package.
Thank you very much.

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

  • David Wu
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 month 2 days ago #13458 by David Wu
Replied by David Wu on topic Problems about update component package.
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.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
1 month 2 days ago #13460 by Sternas Stefanos
Replied by Sternas Stefanos on topic Problems about update component package.
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.

  • David Wu
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 month 2 days ago #13461 by David Wu
Replied by David Wu on topic Problems about update component package.
Thanks again, I had learned a lot.

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
1 month 2 days ago - 1 month 2 days ago #13462 by Sternas Stefanos
Replied by Sternas Stefanos on topic Problems about update component package.
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
Last edit: 1 month 2 days ago by Sternas Stefanos.

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