General Help regarding HMG, Compilation, Linking, Samples
Moderator: Rathinagiri
AUGE_OHR
Posts: 2064 Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany
Post
by AUGE_OHR » Sat May 16, 2020 5:35 pm
hi,
i found this in Code
Code: Select all
//produkcyjne srodowisko TEXTHIDDEN(1) zamaskowana zmienna
#pragma TEXTHIDDEN(1)
i got a German Translation ...
Produktionsumgebung TEXTHIDDEN (1) maskierte Variable
but don´t understand what is it for
have fun
Jimmy
mustafa
Posts: 1160 Joined: Fri Mar 20, 2009 11:38 am
DBs Used: DBF
Location: Alicante - Spain
Contact:
Post
by mustafa » Sat May 16, 2020 6:51 pm
Hi
So that it is not seen, example the
Password key
Code: Select all
*---------------------------------------------------------------------------------------*
#pragma TEXTHIDDEN(1)
PUBLIC cSenha := "Q65h3l8j41B"
#pragma TEXTHIDDEN(0)
*---------------------------------------------------------------------------------------*
Mustafa
serge_girard
Posts: 3167 Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB 2 DBF
Location: Belgium
Contact:
Post
by serge_girard » Sun May 17, 2020 7:14 am
Jimmy,
using this:
Code: Select all
#pragma TEXTHIDDEN(1)
PUBLIC cSenha := "Q65h3l8j41B"
#pragma TEXTHIDDEN(0)
will make sure that one can not find this string and content in the EXE file.
Serge
There's nothing you can do that can't be done...
mustafa
Posts: 1160 Joined: Fri Mar 20, 2009 11:38 am
DBs Used: DBF
Location: Alicante - Spain
Contact:
Post
by mustafa » Sun May 17, 2020 12:44 pm
Hello friends
Sorry I left the EXE thing,
for example ' PUBLIC cSenha: = "Q65h3l8j41B" ' which
it would be the key of a password
Our friend Serge has indicated very well
Serge , You are the best !!! ,
Virtual hugs
Mustafa
PDE: view ==>>
https://www.hmgforum.com/viewtopic.php? ... DEN#p59301
serge_girard
Posts: 3167 Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB 2 DBF
Location: Belgium
Contact:
Post
by serge_girard » Sun May 17, 2020 3:25 pm
Mustafa,
Virtual hugs for you too!
Serge
There's nothing you can do that can't be done...
franco
Posts: 821 Joined: Sat Nov 02, 2013 5:42 am
DBs Used: DBF
Location: Canada
Post
by franco » Sun May 17, 2020 4:44 pm
I did not know this, Thank you`s
A old police programmer told me years ago If I use chr() codes they can not be found in exe so I have been using them.
This is much easier.
Old way for me .....PUBLIC cSenha := chr(49)+chr50)+chr(51)
New way .............PUBLIC cSenha := "123"
Thanks for info
Franco
All The Best,
Franco
Canada
AUGE_OHR
Posts: 2064 Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany
Post
by AUGE_OHR » Sun May 17, 2020 10:42 pm
hi,
serge_girard wrote: ↑ Sun May 17, 2020 7:14 am
will make sure that one can not find this string and content in the EXE file.
AHA , nice
THX
have fun
Jimmy
serge_girard
Posts: 3167 Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB 2 DBF
Location: Belgium
Contact:
Post
by serge_girard » Mon May 18, 2020 7:12 am
Hi ,
Yes this is a GREAT feature !
Serge
There's nothing you can do that can't be done...