Re: [fpc-pascal] stdcall vs. cdecl: another "using a FPC-generated .dll with Microsoft Visual C++" question

2010-03-24 Thread Jeff Wormsley
Seth Grover wrote: I appreciated Henry's comment regarding my last question (generating a .lib file from a FPC-generated for linking with VC++). I ended up using implib (http://implib.sourceforge.net) to generate the .def file with dll2def.exe and then fasm.exe to create the .lib file from that,

[fpc-pascal] OT: mySQL Master-Master-Slave replication

2010-03-24 Thread Lukas Gradl
Perhaps it's just that I'm a little bit short of sleep - but I can't find good solution for a problem although I'm shure it should be easy to solve... So apologies for posting off topic here - but as all my work on that project is done using FPC i'll give it a try... Perhaps someone can point

Re: [fpc-pascal] stdcall vs. cdecl: another "using a FPC-generated .dll with Microsoft Visual C++" question

2010-03-24 Thread Henry Vermaak
On 24 March 2010 15:14, Seth Grover wrote: > I appreciated Henry's comment regarding my last question (generating a > .lib file from a FPC-generated for linking with VC++). I ended up > using implib (http://implib.sourceforge.net) to generate the .def file > with dll2def.exe and then fasm.exe to c

[fpc-pascal] stdcall vs. cdecl: another "using a FPC-generated .dll with Microsoft Visual C++" question

2010-03-24 Thread Seth Grover
I appreciated Henry's comment regarding my last question (generating a .lib file from a FPC-generated for linking with VC++). I ended up using implib (http://implib.sourceforge.net) to generate the .def file with dll2def.exe and then fasm.exe to create the .lib file from that, and VC++ seems to lin

Re: [fpc-pascal] implicitly linking FPC-generated .dll from Visual Studio

2010-03-24 Thread Henry Vermaak
On 23 March 2010 18:39, Seth Grover wrote: > First, let me declare my ignorance of MS development and Visual Studio > in general. You say it like it's a bad thing ;) > I've got a FPC-generated .dll file I want to implicitly link with in a > Visual Studio (Visual C++) project. If I understand wha

Re: [fpc-pascal] Debugging CGI web apps

2010-03-24 Thread Michael Van Canneyt
On Wed, 24 Mar 2010, Graeme Geldenhuys wrote: Michael Van Canneyt het geskryf: Well, I'm currently very busy with CGI, and I use dbugintf and the debug server app from Lazarus. Works like a charm for me. I'm using something similar - the "poor mans debug interface". :-) $ tail -F /tmp/my

Re: [fpc-pascal] Debugging CGI web apps

2010-03-24 Thread Graeme Geldenhuys
Michael Van Canneyt het geskryf: > > Well, I'm currently very busy with CGI, and I use dbugintf and the > debug server app from Lazarus. Works like a charm for me. I'm using something similar - the "poor mans debug interface". :-) $ tail -F /tmp/myapp.log > You can use the embedded server c

Re: [fpc-pascal] Debugging CGI web apps

2010-03-24 Thread Michael Van Canneyt
On Wed, 24 Mar 2010, Graeme Geldenhuys wrote: Hi, How do others debug CGI web apps written in Object Pascal? Yesterday I spent a significant amount of time debugging a few difficult problems. It took much longer than expected. Even though the CGI apps are written in Object Pascal I couldn't u

[fpc-pascal] Debugging CGI web apps

2010-03-24 Thread Graeme Geldenhuys
Hi, How do others debug CGI web apps written in Object Pascal? Yesterday I spent a significant amount of time debugging a few difficult problems. It took much longer than expected. Even though the CGI apps are written in Object Pascal I couldn't use GDB to step through the code (if one can, please