Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2000-12

Re: Dokumentation units for ppc386 Linux

6 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Van Canneyt
to Unknown author: i am a new user of fpc. I have some problems to find dokumentation for the Linux-units,…
Show quoted text 6 lines
Hi, i am a new user of fpc. I have some problems to find dokumentation for the Linux-units, the procedures and functions. Who knows a link, where i can get it?

General documentation page:

http://www.freepascal.org/docs.html

Linux specific stuff as PDF :

http://www.freepascal.org/docs/units.pdf

Linux specific stuff as HTML:

http://www.freepascal.org/docs-html/units/node12.html

Michael.

Unknown author

Hi,

i am a new user of fpc. I have some problems to find dokumentation for the Linux-units, the procedures and functions.

Who knows a link, where i can get it?

Thank you and merry christmas,

Steeven.

Guido Moonen
to Unknown author

Sorry,

This is an oftopic question but this is the only group of people i know that could know this.

I am trying to find a way to include my own code
in an existing executable in a way that my code
is executed first and after that, the original
executable is executed. I have very little
knowledge of assembler, but (I think) when I
write a C(++) app and then compile it to
assembler, and someone can tell me how I can
modify existing executable in a way that my app
is executed first, I don't need to have very much
assembler knowledge.

Greetz
Guido Moonen

==============================
Guido Moonen
Software Engineer
Clickly.com
Van Diemenstraat 206
1013 CP Amsterdam
THE NETHERLANDS

Tel: +31 20 6934083
Fax: +31 20 6934866
E-mail:
web: http://www.clickly.com

Get Your Software Clickly!
==============================

Johann Glaser
to Guido Moonen

Hi Guido!

Show quoted text 13 lines
This is an oftopic question but this is the only group of people i know that could know this. I am trying to find a way to include my own code in an existing executable in a way that my code is executed first and after that, the original executable is executed. I have very little knowledge of assembler, but (I think) when I write a C(++) app and then compile it to assembler, and someone can tell me how I can modify existing executable in a way that my app is executed first, I don't need to have very much assembler knowledge.

Make a little program (C, Pascal, whatever) which first does the job you want. After the job is done it executes (Exec) the original executable.

Rename the original executable to some different name, and name the new self written executable as the original executabel was.

Bye
Hansi

Johann Glaser Vienna University of Technology Electrical Engineering http://stud3.tuwien.ac.at/~e9825761/index.html
Marco van de Voort
to Guido Moonen: This is an oftopic question but this is the only group of people i know that could know…
This is an oftopic question but this is the only group of people i know that could know this.

We are not a general programming helpdesk.

Show quoted text 10 lines
I am trying to find a way to include my own code in an existing executable in a way that my code is executed first and after that, the original executable is executed. I have very little knowledge of assembler, but (I think) when I write a C(++) app and then compile it to assembler, and someone can tell me how I can modify existing executable in a way that my app is executed first, I don't need to have very much assembler knowledge.

Unless possibilities to expand a program (dll hooks etc, plugin support) already exists, there is nothing possible without very thorough assembler knowledge.

Adam Naumowicz
to Marco van de Voort
Marco van de Voort wrote 14 lines
> I am trying to find a way to include my own code > in an existing executable in a way that my code > is executed first and after that, the original > executable is executed. I have very little > knowledge of assembler, but (I think) when I > write a C(++) app and then compile it to > assembler, and someone can tell me how I can > modify existing executable in a way that my app > is executed first, I don't need to have very much > assembler knowledge. Unless possibilities to expand a program (dll hooks etc, plugin support) already exists, there is nothing possible without very thorough assembler knowledge.

There is a solution some lame pseudo-virus writers use to achive a similar goal. You just write a starter program, that is concatenated with the program you want to run first, the original program, and some additional information (sizes of glued programs). The resulting program must extract from its body two programs you added together using incorporated information, and simply run them.
Hope it helps,

Adam Naumowicz

--------------------------------------
WWW: http://math.uwb.edu.pl/~adamn/
--------------------------------------