1) Sprinkle the code with conditionams for Delphi/Lazarus and use the
5dpo component and its specific calls for Lazarus and the existing
code for Delphi. This will be rather ugly since the comm object FComm
is used in many places in the code.
You can easily instantiate AsyncPro in user code in Delphi, too (I'm
doing this all the time), so that I don't need to "install" complex
packages with Delphi).
You can do your own "Async" unit (maybe even with an interface very
similar to AsyncPro, so that you don't need to do many changes in your
existing code <other than manually instantiating the object). In this
unit you can use ifdefs or do two versions of same. (please do provide
this unit as open source :) )
-Michael
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus