Any thoughts on security
Moderator: Rathinagiri
Re: Any thoughts on security
I cleaned up the code a bit and added some debugging information. I also attach executable files (compiled with HMG 3.6)
- Attachments
-
- RunAndKill.7z
- (1.39 MiB) Downloaded 38 times
Re: Any thoughts on security
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.
Important: remember that the station names should not be the same as any file that exists or may appear in the current folder

- Attachments
-
- RunAndKill2.7z
- (1.44 MiB) Downloaded 49 times
- serge_girard
- Posts: 3309
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: Any thoughts on security
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.
I will check out new code and try in two of my programs . I am starting to understand your code.
All The Best,
Franco
Canada
Franco
Canada
Re: Any thoughts on security
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.
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.
All The Best,
Franco
Canada
Franco
Canada
Re: Any thoughts on security
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.
Is it possible in HMG.
Thanks in advance.
All The Best,
Franco
Canada
Franco
Canada
- serge_girard
- Posts: 3309
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: Any thoughts on security
Franco, I did this exercise in PHP then you can read HTML page into HGM program.
Serge
Serge
There's nothing you can do that can't be done...
Re: Any thoughts on security
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.
I don`t know PHP.
All The Best,
Franco
Canada
Franco
Canada
- serge_girard
- Posts: 3309
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: Any thoughts on security
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
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
- Attachments
-
- geo.png (50.64 KiB) Viewed 641 times
There's nothing you can do that can't be done...
Re: Any thoughts on security
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.
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.
All The Best,
Franco
Canada
Franco
Canada