calum74 / s2

Cross platform command line interface to the Spooky2
GNU General Public License v3.0
15 stars 7 forks source link

I want to compile s2 in Delphi Object Pascal - can you help please #3

Open andyhill2 opened 4 years ago

andyhill2 commented 4 years ago

Hi Calum, I want to experiment with some software I have written and I want to interface it to GeneratorX, can you please advise how to get Delphi Object Pascal version source code - thanks.

Kind Regards Andy Hill

calum74 commented 4 years ago

Hi Andy, I'm not an official maintainer of the Spooky2 software and don't have access to their devices. So this software was written by reverse-engineering the serial protocols.

Because this is C++, it won't compile natively with Pascal - but you might be able to compile s2 as a library (.dll/.so) and call it as external code. Unfortunately it's not been written in that way and would require some work.

Also note that this code is not for Generator X - I expect that the protocol will not work but since I don't have a Gen-X I haven't tested it.

I have some code lying around that is for C#.

andyhill2 commented 4 years ago

Thank you Calum for replying to my eMail.

I would be very interested in any code that will help – thanks again.

I guess if they use the same driver then it would be straight forward from there.

Are you interested in making a Delphi Object Pascal conversion ?

Regards Andy

From: calum74 notifications@github.com Sent: Thursday, 28 May 2020 12:58 AM To: calum74/s2 s2@noreply.github.com Cc: Andy Hill andyhill@axfite.com.au; Author author@noreply.github.com Subject: Re: [calum74/s2] I want to compile s2 in Delphi Object Pascal - can you help please (#3)

Hi Andy, I'm not an official maintainer of the Spooky2 software and don't have access to their devices. So this software was written by reverse-engineering the serial protocols.

Because this is C++, it won't compile natively with Pascal - but you might be able to compile s2 as a library (.dll/.so) and call it as external code. Unfortunately it's not been written in that way and would require some work.

Also note that this code is not for Generator X - I expect that the protocol will not work but since I don't have a Gen-X I haven't tested it.

I have some code lying around that is for C#.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/calum74/s2/issues/3#issuecomment-634718499, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAXD5SAVZNJLO5T2YSLOGEDRTUS6PANCNFSM4NLY7RTA.

andyhill2 commented 4 years ago

Hi Calum, You mentioned C# code for device driver interfacing, would you be so kind as to advise ?

Plus, I need pascal version, any thoughts ?

Regards Andy

From: calum74 notifications@github.com Sent: Thursday, 28 May 2020 12:58 AM To: calum74/s2 s2@noreply.github.com Cc: Andy Hill andyhill@axfite.com.au; Author author@noreply.github.com Subject: Re: [calum74/s2] I want to compile s2 in Delphi Object Pascal - can you help please (#3)

Hi Andy, I'm not an official maintainer of the Spooky2 software and don't have access to their devices. So this software was written by reverse-engineering the serial protocols.

Because this is C++, it won't compile natively with Pascal - but you might be able to compile s2 as a library (.dll/.so) and call it as external code. Unfortunately it's not been written in that way and would require some work.

Also note that this code is not for Generator X - I expect that the protocol will not work but since I don't have a Gen-X I haven't tested it.

I have some code lying around that is for C#.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/calum74/s2/issues/3#issuecomment-634718499, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAXD5SAVZNJLO5T2YSLOGEDRTUS6PANCNFSM4NLY7RTA.