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


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
TypeVariableInteger = record
Metrica: String [6]; {Not just a String so as not to inflate the record}
Value: Integer; {variable itself}
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
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];


Memory: 0.57 MB
Time: 0.026 c
2001-12-05 22:09
With BatchMove.batUpdate error.

2001-11-08 15:24
Is this a bug in Delphi ?! : ((

2001-11-07 01:11
help someone can

2001-09-23 12:36
Directive {$ I}

2001-12-03 18:05
Question on MIDAS.

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 Spanish 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
English French German Italian Portuguese Russian Spanish