Page 1 of 1

#pragma TEXTHIDDEN(1)

Posted: Sat May 16, 2020 5:35 pm
by AUGE_OHR
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 :idea:

Re: #pragma TEXTHIDDEN(1)

Posted: Sat May 16, 2020 6:51 pm
by mustafa
Hi
So that it is not seen, example the
Password key

Code: Select all

*---------------------------------------------------------------------------------------* 
 #pragma TEXTHIDDEN(1) 
    PUBLIC  cSenha := "Q65h3l8j41B"        
 #pragma TEXTHIDDEN(0) 
*---------------------------------------------------------------------------------------*

Mustafa

Re: #pragma TEXTHIDDEN(1)

Posted: Sun May 17, 2020 7:14 am
by serge_girard
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

Re: #pragma TEXTHIDDEN(1)

Posted: Sun May 17, 2020 12:44 pm
by mustafa
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 !!! , :lol: :lol:
Virtual hugs :mrgreen:
Mustafa

PDE: view ==>> https://www.hmgforum.com/viewtopic.php? ... DEN#p59301

Re: #pragma TEXTHIDDEN(1)

Posted: Sun May 17, 2020 3:25 pm
by serge_girard
Mustafa,

Virtual hugs for you too!

Serge

Re: #pragma TEXTHIDDEN(1)

Posted: Sun May 17, 2020 4:44 pm
by franco
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

Re: #pragma TEXTHIDDEN(1)

Posted: Sun May 17, 2020 10:42 pm
by AUGE_OHR
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 :D
THX

Re: #pragma TEXTHIDDEN(1)

Posted: Mon May 18, 2020 7:12 am
by serge_girard
Hi ,

Yes this is a GREAT feature !

Serge