Jump to content
Sign in to follow this  
JimKueneman

Converting a Lazarus/Delphi library

Recommended Posts

With the help of Jarto and a few here I have almost 5000 lines of a Lazarus/Delphi library that implements a mature custom TCP protocol compiling with SMS with just a few {$IFDEF DWSCRIPT}'s required so far.  I have about 1000 more line to go before I can give it a full test but I do have a Websocket connected to the library and have sent messages to the library from a Lazarus program and it received and decoded them correctly.  I was only working on it for a few hours on and off yesterday so I am amazed and very happy.  Hopefully it will all run correctly in the end but at least the compiler thinks it should.

The key websites that have helped me get handle on thing are here but so far I have not used them directly, SMS has handled everything in the compile so far but I do have a few dynamic byte array that I need to mimic which will need this information....

https://jonlennartaasenden.wordpress.com/2017/06/04/smart-pascal-memory-and-pointers/

https://jonlennartaasenden.wordpress.com/2015/03/07/system-interop-how-to-for-smart-mobile-studio/

https://www.html5rocks.com/en/tutorials/webgl/typed_arrays/

The ultimate goal is to create phone apps 

Jim

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×