MHumm / ComPortDriver

Win32/64 COM-Port component for Delphi
Apache License 2.0
49 stars 18 forks source link

Could it compile for Lazarus? #4

Open louriveira opened 1 year ago

louriveira commented 1 year ago

Hello Mhumm, how are you? I would like to congratulate you for the component, I already used it in Delphi many years ago. I currently work with Lazarus. Would it be possible for you to compile this code, generating a component to be used in Lazarus? It would be very important to me. How much would this work cost?

I await your reply.

MHumm commented 1 year ago

Sorry for not reacting earlier. While we could surely agree on the cost I have the issue that I didn't use Lazarus since years and I don't know how to make the component work on Lazarus. But: since the code is included you can simply try to download the project and try to create the objectinstance in code. That definitively works in Delphi as well and if I didn't use anything not available in Lazarus/FPC it should work there as well. For instance it doesn't use TTimer, but directly works with the Windows timer API as far as I've seen (I "inherited" and re-released this code after updating it a bit so I'm not the original author of this). If you get stuck then come back and report what you did and what failure messages you got. Maybe we can adapt the code then.

louriveira commented 1 year ago

Hello Markus, good afternoon.

I'm going to try to do what you suggested here, although I'm not that good a programmer. As soon as I have something, I'll post it here and we'll talk more. But, you must know many other good programmers, it would be great if you guys got together and adapted this component for Lazarus as well. Thanks so much for getting back to me.