Terry A. Haimann wrote: > I realize this is probably answered some where else, but where do I put > the Synapse pascal files so that Free Pascal can find them and link them > to my command line program? > >
At the command line: fpc prog.dpr -FuSome\path\to\files fpc prog.pas -FuSome\path\to\files The -Fu command argument helps. Or use an FPC.CFG file. Or if you have an IDE, put the search path in your compiler/project options dialog. > How do I set synapse up so that I can call the routines from a Delphi > project? > > It's not that simple. Sockets are so "low level" that everyone sort of "reinvents" their own higher level sockets communication protocol in each program. It's more like sending dumb text streams over the network, which you interpret on the other end (and the worst part is error checking and making sure it was even received). It's not, unfortunately, like working with a DLL where calling a routine just works. However it would be interesting to see some higher level wrappers written that made working with sockets more like working with a DLL or a remote procedure call setup, so that one could call a routine. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ synalist-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synalist-public
