Re: [fpc-pascal] Sockets programming in Linux

2025-01-20 Thread Dennis via fpc-pascal
On 11/01/2025 8:46 pm, Duke Normandin via fpc-pascal wrote: I’ve Googled my butt off looking for fpc/pascal examples /tutorials on writing a simple tcp client and server. NO JOY! Anybody got any ideas? TIA — Duke Sent from my iPhone ___ fpc-pascal mail

Re: [fpc-pascal] How do I pass a call back Class and its method to an external library *.so file writting in C++

2024-10-20 Thread Dennis via fpc-pascal
I am expected to create and pass an instance of such class ApiProxyWrapperReply in my calling program   via a function void SPAPI_RegisterApiProxyWrapperReply(ApiProxyWrapperReply* apiProxyWrapperReply); and the external library will then call the various methods of

[fpc-pascal] How do I pass a call back Class and its method to an external library *.so file writting in C++

2024-10-03 Thread Dennis via fpc-pascal
Dear All, I am given an API linux library *.so file written in C++. It was expected to be consume by a program written in C++. However, I would like to write such a program in Free Pascal. The given header file is: #ifndef ApiProxyWrapperReplyH #define ApiProxyWrapperReplyH //---