Home
Top.Mail.Ru Yandeks.Metrika
Forum: "Main";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Down

maybe who knows? Find similar branches


Alligator   (2001-12-21 09:44) [0]

How to create an editor to change settings and sew them immediately in * .exe?
Thank you in advance!!!



3d[Power]   (2001-12-21 09:52) [1]

The question is very vague. One of the methods - the program understands the string as the settings which is stored in * .exe. Here you can hex "om these strings to fix, in the program they will also change. Well, write an editor for all this to change. Well, if you need to re-compile * .ehe, then I don't know how.



Alligator   (2001-12-21 10:10) [2]

Most likely hex "om, but I have no reason to push off and I can not imagine how this can be done, maybe the source code has a cow or an example that a clear thread will give IN ADVANCE THANKS FOR THE HELP !!!



Red Alert   (2001-12-21 10:16) [3]

I do this:
the variables that need to be changed are "typing" into the program I make typed (sorry, I don’t have the source code at hand)
something like
type
TypeVariableInteger = record
Metrica: String [6]; {Not just a String so as not to inflate the record}
Value: Integer; {variable itself}
end;
all respectively for type Integer, for other types - the type changes
value, Metrica - a unique value ...
Then, when the program is running, you are looking for a metric in the body of the file, slightly shifting
pointer (put on Value) and write data to a file. The only thing that seems to be, is to look at the size of the variable. It seems when you write and read paired variables, it swaps them. you may have to re-take them back ... But the essence is this ... In any case, first I will try to roll the record to another file and see what type I recorded (whether I swap or not). I had the source code, but now I won't get to it ..
The main thing is the idea. If I do not understand - I will explain.



Alligator   (2001-12-21 10:27) [4]

Red Alert Thanks, I'll try to figure it out!



Red Alert   (2001-12-21 10:31) [5]

Yes, I forgot ...
in the data segment you need to have these variables
something like
const
var1: TypeVariableInteger = ("VAR1", 0);
var2: TypeVariableInteger = ("VAR2", 1);
var3: TypeVariableInteger = ("VAR3", 2);
var4: TypeVariableInteger = ("VAR4", 3);
Then at compilation when the segment will be created in it there will be these variables,
and you can easily find them with any viewer ..



Red Alert   (2001-12-21 10:32) [6]

Only for syntakis I do not answer ... I have no memory .. I drank ..



Alligator   (2001-12-21 10:33) [7]

:)



McSimm   (2001-12-21 10:46) [8]

You can use the resources.
Work with resources is in Demos.



Alligator   (2001-12-21 10:59) [9]

Pancake! Excuse me, but I'm so stupid that only the source can help me!



McSimm   (2001-12-21 11:32) [10]

The source code that answers all your questions at once hardly anyone will give you.

If you want to use resources, you need:
- to deal with reading the program of its own resources;
- deal with the creation of resources for the program;
- deal with the change of program resources from another program.

Consider these questions separately. Answers to them can be found in Help, in the FAQ.
Last question - Demos \ ResXplor



Pages: 1 whole branch

Forum: "Main";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Top









Memory: 0.84 MB
Time: 0.151 c
4-22493
mangoost
2001-11-05 12:06
2002.01.08
How to bypass an access violation while attempting to write (+)


3-21912
Sergei N.
2001-12-04 06:23
2002.01.08
Handling dates from IB to Delphi and back


6-22298
karafuto
2001-10-11 14:00
2002.01.08
Why do you need TIdAntiFreeze (InDy)?


6-22266
PHN
2001-10-02 14:50
2002.01.08
Connect


14-22397
dead
2001-11-10 18:49
2002.01.08
Does anyone have a gif or jpg contour map of the world?





afrikaans albanian Arabic armenian azerbaijani basque belarusian bulgarian catalan Chinese (Simplified) Chinese (Traditional) croatian Czech danish Dutch English estonian filipino finnish French
galician georgian German greek haitian Creole hebrew Hindi hungarian icelandic indonesian Irish italian japanese Korean latvian lithuanian macedonian malay maltese norwegian
persian polish portuguese Romanian russian serbian slovak Slovenian Español swahili Swedish thai turkish Ukrainian urdu vietnamese welsh yiddish bengali bosnian
cebuano Esperanto gujarati hausa hmong igbo javanese kannada khmer lao latin maori marathi mongolian nepali punjabi somali tamil telugu yoruba
zulu
English French German Italian Portuguese Russian Spanish