Here is a small example for RS232 in a class with IPowerThred.
If there are proposals to improve, please report here.
Maybe it helps someone.
Rudolf Fuerstauer
Hi Rudolf,
I have been very interested in you application, but this is not an complete example. Can you post here an complete worked examples that send and receive data (bytes) through the com port?
I look out to your worked example with exe file so I can tested it
Best regards
Stephane
Looks like a pretty complete example to me, although it must be for the newest PB/Win since I get:
Error 567 in C:\PROGRAM FILES (X86)\FIREFLY VISUAL DESIGNER\PROJECTS\FF_COM_IPOWERTHREAD\RELEASE\CODEGEN_COMPORT_DECLARES.INC(58:005): END CLASS expected
Line 58: End Method ':FILE:CODEGEN_COMPORT_COMPORT_CLASSINC_MODULE.inc|73|0
==============================
Compile failed
The project should be complete.
I use PB10.01 and Jose's latest include files.
Here again all the files of the project incl. exe.
Rudolf,
Well this is really strange. Just yesterday I started to do the just about the same thing. This well save me a lot of time. Thank you.
Doug