On Fri, May 26, 2017 at 1:27 AM, wrote:
>> But I meant, how do you know if another app is already using a port
>> that you want to use?
>
>
> This is the reason I think web servers are the wrong way to go for any
> desktop application (Golang is going crazy with everything being an http
> server)
On 2017-05-25 08:14, Marcos Douglas B. Santos wrote:
On Wed, May 24, 2017 at 4:23 PM, Graeme Geldenhuys
wrote:
2. How did you garantee that others applications aren't being using
the same port as your application to avoind conflicts?
I looked at the official IANA list of registered port numb
On 2017-05-25 15:04, Marcos Douglas B. Santos wrote:
In other words, use a try-except. If error, retry using another port.
Yup.
Regards,
Graeme
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman
On Thu, May 25, 2017 at 10:58 AM, Sven Barth via fpc-pascal
wrote:
>> But I meant, how do you know if another app is already using a port
>> that you want to use?
>
> You'll get an error by the OS if someone is already listening on the
> port that you want to listen on yourself.
In other words, u
2017-05-25 15:14 GMT+02:00 Marcos Douglas B. Santos :
> On Wed, May 24, 2017 at 4:23 PM, Graeme Geldenhuys
> wrote:
>>> 2. How did you garantee that others applications aren't being using
>>> the same port as your application to avoind conflicts?
>>
>>
>> I looked at the official IANA list of regi
On Wed, May 24, 2017 at 4:23 PM, Graeme Geldenhuys
wrote:
>> 2. How did you garantee that others applications aren't being using
>> the same port as your application to avoind conflicts?
>
>
> I looked at the official IANA list of registered port numbers and chose a
> port number that hasn't been
On 2017-05-24 18:36, Marcos Douglas B. Santos wrote:
I've searched the code and don't know whether that I found is the
official or the more updated repository.
So, I found this http://www.indyproject.org/Sockets/Download/svn.EN.aspx
If I understood right, the good version to use with FPC is 10.
On Wed, May 24, 2017 at 11:07 AM, Graeme Geldenhuys
wrote:
> n 2017-05-24 14:52, Marcos Douglas B. Santos wrote:
>>
>> What do you propose to use to make an embedded HTTP server nowadays?
>
>
> I really like Indy components. They are complete and well tested for over a
> decade. There support is f
On 2017-05-24 14:52, Marcos Douglas B. Santos wrote:
What do you propose to use to make an embedded HTTP server nowadays?
I really like Indy components. They are complete and well tested for
over a decade. There support is fantastic too, and you have tons of
resources available on the interne
On Wed, May 24, 2017 at 10:40 AM, Graeme Geldenhuys
wrote:
> I've done this before in a project for one of my previous employers. Out
> desktop application did user logins, reporting and for some functionality
> offloaded it to the web browser (which was launched automatically for them).
> This wo
On 2017-05-24 10:01, Michael Van Canneyt wrote:
2. to make an app that will be a local web server, after the user has installed.
The web real app could make requests to http//localhost and have a
communication between them.
I think this is your best option.
I've done this before in a project
On Wed, May 24, 2017 at 6:01 AM, Michael Van Canneyt
wrote:
> On Tue, 23 May 2017, Marcos Douglas B. Santos wrote:
>
>> 2. to make an app that will be a local web server, after the user has
>> installed.
>> The web real app could make requests to http//localhost and have a
>> communication between
On Tue, May 23, 2017 at 11:02 PM, wrote:
> On 2017-05-23 20:52, Marcos Douglas B. Santos wrote:
>> ...
>> I'm still thinking on these options:
>>
>> 1. NativeMessaging:
>> https://developer.chrome.com/extensions/nativeMessaging
>>
>> 2. to make an app that will be a local web server, after the us
On Tue, 23 May 2017, Marcos Douglas B. Santos wrote:
2. to make an app that will be a local web server, after the user has installed.
The web real app could make requests to http//localhost and have a
communication between them.
I think this is your best option.
Michael.
___
On 2017-05-23 20:52, Marcos Douglas B. Santos wrote:
On Tue, May 23, 2017 at 9:29 PM, wrote:
Exe is a security hazard that could barf up a person's hard drive
instantly
or create viruses..
I understand these security reasons and I agree, of course...
But this Exe that I am talking about sho
On Tue, May 23, 2017 at 9:29 PM, wrote:
> Exe is a security hazard that could barf up a person's hard drive instantly
> or create viruses..
I understand these security reasons and I agree, of course...
But this Exe that I am talking about should be installed for all
machines that want use the sy
On 2017-05-22 21:53, Marcos Douglas B. Santos wrote:
Hi,
If you have some apps or components which was written in Object Pascal
and you would like to use them in Web applications (client-side,
previously installed) what is the best option to choose nowadays?
My users use Windows so, I thought i
On Tue, May 23, 2017 at 10:34 AM, Felipe Monteiro de Carvalho
wrote:
> On Tue, May 23, 2017 at 2:39 PM, Marcos Douglas B. Santos
> wrote:
>> I can't. For security reasons I need to have an app installed on client.
>> Did you see my email before, about digital signature? That is one of
>> these fe
On Tue, May 23, 2017 at 2:39 PM, Marcos Douglas B. Santos
wrote:
> I can't. For security reasons I need to have an app installed on client.
> Did you see my email before, about digital signature? That is one of
> these features...
In this case I have no idea how it is done. But it can be done, I
On Tue, May 23, 2017 at 8:04 AM, Felipe Monteiro de Carvalho
wrote:
> That's why Model-View-Controller is such a great design pattern. If
> you use MVC you can simply create a new View component and keep the
> Model and Controller without changes.
>
> You can use fcl-web to write the web server:
>
On Tue, May 23, 2017 at 6:23 AM, leledumbo via fpc-pascal
wrote:
>> Is there a way to call an Exe (previously installed, no problem with that)
> to interact with an Exe, working in IE and Chrome?
>
> Not from client side AFAIK. You'll need to create a local server side app,
> let that one executes
That's why Model-View-Controller is such a great design pattern. If
you use MVC you can simply create a new View component and keep the
Model and Controller without changes.
You can use fcl-web to write the web server:
http://wiki.lazarus.freepascal.org/fcl-web
You will need to rewrite the GUI in
> Is there a way to call an Exe (previously installed, no problem with that)
to interact with an Exe, working in IE and Chrome?
Not from client side AFAIK. You'll need to create a local server side app,
let that one executes the exe and response back to the client (if needed).
--
View this mess
Hi,
If you have some apps or components which was written in Object Pascal and
you would like to use them in Web applications (client-side, previously
installed) what is the best option to choose nowadays?
My users use Windows so, I thought in ActiveX. It works, but I think Chrome
do not use anym
24 matches
Mail list logo