Re: [fpc-pascal] FPC 3.0.0 and constref default param

2016-04-01 Thread Krzysztof
Anyone? :) ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] fpSelect fails with UDP sockets?

2016-04-01 Thread Mark Morgan Lloyd
Klaus Hartnegg wrote: Hello, Does fpSelect not work with UDP sockets? It always returns 0, which means it did not see a packet. Is anything wrong with this code? I don't have time to play with that right now, but test it with a port > 1024 before trying a lower-numbered one. What OS are you r

[fpc-pascal] fpSelect fails with UDP sockets?

2016-04-01 Thread Klaus Hartnegg
Hello, Does fpSelect not work with UDP sockets? It always returns 0, which means it did not see a packet. Is anything wrong with this code? Uses UnixType, BaseUnix, Sockets; procedure abort (reason:string); begin writeln (reason); halt; end; var sock: cint; adr : {TInet}SockAddr; r

Re: [fpc-pascal] Framework for Objects Serialization / Deserialization

2016-04-01 Thread Dmitry Boyarintsev
On Fri, Apr 1, 2016 at 9:51 AM, Mazola Winstrol wrote: > I can't change the actual hierarchical structure of my classes so i can't > use TComponent. > > Delphi do have an intersting way to do with serialization: they have some > standard classes (TTypeMashaller, TConverter). If one wants to seria

Re: [fpc-pascal] Framework for Objects Serialization / Deserialization

2016-04-01 Thread Mazola Winstrol
2016-04-01 3:46 GMT-03:00 Michael Van Canneyt : > > > On Fri, 1 Apr 2016, Mazola Winstrol wrote: > > Hello list, >> >> Is there a fpc framework for or some standard to serialize / deserialize >> classes and other custom types? >> > > At least two units offer the base for such functionality: > json

[fpc-pascal] Write Applet with FPC JVM

2016-04-01 Thread Ingemar Ragnemalm
Hello, FPC list! Is there anyone who knows how to write a JVM applet with FPC? I have this minimal Java applet: import java.applet.*; import java.awt.*; public class HelloWorldApplet extends Applet { public void paint (Graphics g) { g.drawString ("Hello World", 25, 50); }