Welcome, Guest
Username: Password: Remember me
General discussions, feature requests for CodeTyphon Project and discussions that don't fit in any of the other specific CodeTyphon forum categories.
  • Page:
  • 1

TOPIC:

UniqueInstance doesn't pass parameters 9 years 7 months ago #5891

  • Premysl Beran
  • Premysl Beran's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 48
  • Thank you received: 0
I develop Win/Lin application and I use UniqueInstance in it. I started to use CodeTyphon 4.9 for easy cross compilation (thanks for that). But I found out that the UniqueInstance doesn't pass parameters. It passes number of parameters but the array of parameters is empty. When code compiled with FPC 2.6.2 UniqueInstance works fine. Simple code is attached. Executable is compiled with CodeTyphon 4.9. Can someone help me with it. Thanks in advance.

Premek
Attachments:

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

Last edit: by Premysl Beran.

UniqueInstance doesn't pass parameters 9 years 7 months ago #5893

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
All OK here Sir
CT Lab 5.00 Revision 004970-004975
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

UniqueInstance doesn't pass parameters 9 years 7 months ago #5894

  • Premysl Beran
  • Premysl Beran's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 48
  • Thank you received: 0
Thanks. So it will work on CT 5.00. Update of CT to lab development shows only 4.97. So when the version 5.00 will be out? Is there any solution now? I checked that message what is send from client to server is OK, well formatted. But the server is only able to read the integer what is hidden in MsgType. So the problem is seems to be in the TStream component sent as MsgData.
I need to pass parameters to running instance of my programme. So if this doesn't work then functionality drops down.
Thanks for any suggestions.

Premek

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

UniqueInstance doesn't pass parameters 9 years 7 months ago #5895

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
Sir,
Lab CT 5.0 revision 004970 is Beta 1 release
so we try to close all CT open Lab tasks (except MacOS item, this is long time task)
in order to make CT ver 5.00 possible
ETA (if all OK) in 1 week
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

UniqueInstance doesn't pass parameters 9 years 7 months ago #5896

  • Premysl Beran
  • Premysl Beran's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 48
  • Thank you received: 0
Thank you for the info and very good work. ;)

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

  • Page:
  • 1