Page 3 of 4

Re: Any thoughts on security

Posted: Wed Jun 12, 2024 9:41 am
by edk
I cleaned up the code a bit and added some debugging information. I also attach executable files (compiled with HMG 3.6)
Record_2024_06_12_11_33_27_624-ezgif.com-optimize.gif
Record_2024_06_12_11_33_27_624-ezgif.com-optimize.gif (857.12 KiB) Viewed 1008 times

Re: Any thoughts on security

Posted: Wed Jun 12, 2024 2:07 pm
by edk
Another example based on data exchange between different HMG applications using SendData() and GetGata().
Important: remember that the station names should not be the same as any file that exists or may appear in the current folder :!: Or use Set CommPath To <cPath> to define another common folder for both applications where the data will be stored.

Re: Any thoughts on security

Posted: Wed Jun 12, 2024 4:01 pm
by serge_girard
Thanks Edward !

Re: Any thoughts on security

Posted: Wed Jun 12, 2024 4:21 pm
by franco
Thanks again, I use 3.44.
I will check out new code and try in two of my programs . I am starting to understand your code.

Re: Any thoughts on security

Posted: Wed Jun 12, 2024 4:54 pm
by franco
This one works when I compile with build.bat and 3.44.
The only thing I can not use info_() I had to change to msgbox().
I can work from this as the info is just for testing anyway.

Re: Any thoughts on security

Posted: Sun Jun 23, 2024 5:12 pm
by franco
Can anyone help. I would like to know if I can build a program that gets the gps location of where ever I am at within a few kilometers.
Is it possible in HMG.
Thanks in advance.

Re: Any thoughts on security

Posted: Mon Jun 24, 2024 6:42 am
by serge_girard
Franco, I did this exercise in PHP then you can read HTML page into HGM program.

Serge

Re: Any thoughts on security

Posted: Mon Jun 24, 2024 3:56 pm
by franco
Thanks Serge, Is it big program in PHP and can I run the PHP out of HMG and then get the results.
I don`t know PHP.

Re: Any thoughts on security

Posted: Mon Jun 24, 2024 4:03 pm
by serge_girard
Franco,

Try this:
https://girard-software.com/dbg_getloca ... NG=-123.10

LAT and LNG will come from the location where it is called (now hardcoded for example) and the result you can read with PRG. The result comes from my database. See picture.

Try with differnt LAT= &LNG= to see results. Let me know if this is what you mean.

Serge

Re: Any thoughts on security

Posted: Wed Jun 26, 2024 3:23 pm
by franco
Hi Serge,. No what I want is when a person opens my exe file for the first time My program checks the Log and Lat of where they open it.
Then I can have my exe write the number into itself, to check each time it is opened. It will only run at that location.