Re[2]: [fpc-pascal] Code example needed, please!

2006-06-30 Thread Пётр Косаревский
> If the application is a standalone one you can create the backend in a dll. > The front end can be a > windows application who share the dll. Well, I didn't check it today, but two months ago it was extremely buggy (crashes). There were about 5 open bugs regarding this situation and .dll gene

Re: [fpc-pascal] Code example needed, please!

2006-06-30 Thread Alexey Pavluchenko
Hello Rainer, Thursday, June 29, 2006, 11:42:12 AM, you wrote: [skip] RH> My idea is to write the backend in FPC. It shall only use StdIn/StdOut and RH> also parse its command line options. The Frontend shall be - in a first step - RH> be written in Delphi or Lazarus, but because I ask here for

Re: [fpc-pascal] Code example needed, please!

2006-06-30 Thread Leonardo M. Ram
Rainer, If the application is a standalone one you can create the backend in a dll. The front end can be a windows application who share the dll. Later, if you want to evolve to a Client/Server architecture, you can create a service/daemond linked to the dll, the daemond must have a protocol to

Re[3]: [fpc-pascal] Code example needed, please!

2006-06-29 Thread Пётр Косаревский
From: Пётр Косаревский<[EMAIL PROTECTED]> To: FPC-Pascal users discussions Subject: Re[2]: [fpc-pascal] Code example needed, please! > I have code only with window messages and shared memory (if you don't want > it, tell; otherwise I'll post some about an hour later). I us

Re[2]: [fpc-pascal] Code example needed, please!

2006-06-29 Thread Пётр Косаревский
Oh. I didn't succeed with pipes. But you can use exchange via files (so that frontend will tell parameter like user in command line). Or (a worse idea) use special parameter to tell, that the frontend is calling (well, it's not separating, it's rather hiding from user). I have code only with

Re: [fpc-pascal] Code example needed, please!

2006-06-29 Thread Rainer Hantsch
Hello! Thank you very much for your answer. It is not that complicated as you possibly assume. It is primarily an execution of four very little programs which will run less than 1 second, each. (compiler, optimizer, linker, assembler). The primary point is that the textmode-backend is fully hidde

Re: [fpc-pascal] Code example needed, please!

2006-06-29 Thread Пётр Косаревский
> A friend of me wants to write a program which uses a GUI frontend and a > "backend", which actually does the work. > The reason is that the backend shall also be usable from the command line, > without any GUI, to make it working on more platforms without having to make > changes on it. So it wil

[fpc-pascal] Code example needed, please!

2006-06-29 Thread Rainer Hantsch
Hello! A friend of me wants to write a program which uses a GUI frontend and a "backend", which actually does the work. The reason is that the backend shall also be usable from the command line, without any GUI, to make it working on more platforms without having to make changes on it. So it will