Startseite ¦  was ist neu ¦  programmier tips ¦  indy artikel ¦  intraweb artikel ¦  informationen ¦  links ¦  interviews ¦  sonstiges
kylix ¦  tutorials ¦  online shop ¦  fotos ¦  Add&Win Gewinnspiel


Willkommen Gast. Bitte einloggen oder registrieren.
08.02.2012, 03:03:45
Übersicht Hilfe Suche Einloggen Registrieren

+  SwissDelphiCenter Forum
|-+  English Forums
| |-+  General Forum
| | |-+  output exe
« vorheriges nächstes »
Seiten: [1] Drucken
Autor Thema: output exe  (Gelesen 2324 mal)
mohfa
Newbie
*
Offline Offline

Beiträge: 3


« am: 15.04.2007, 19:24:01 »

i have an application contains :
Edit1 := First_Name
Edit2:=Last_Name
Edit3:=Adress
Button named Compile
what i want is when the user fill all the fields then he clicks on the Button Compile
the result is an Exe ( not the main Exe -Application- but a new one ) displays the the fileds Data but in Labels , he can give a title to this new Application .
at the end he can either clear the Main App fields data or save it to a File .
i have an idea but i don't know how to acheive it :
i create the 2nd application with all its Labels , then i create a Res file containg this App .
when the user clicks on the Main App compile button the res files will be modified on RunTime , is this possible ?



many thanks
Gespeichert
grenzgaenger
Global Moderator
Full Member
*****
Offline Offline

Beiträge: 232


« Antworten #1 am: 01.06.2008, 11:56:49 »

you can compile the code, without a compiler. but you can modifiy text in your application oder add some more text at the and of your exe. in your app. you can read this text and display them.

this will somtimes done, do code the license key into the app.

alternative, you can store these information in the registry oder a INI file. but, in that case, the information will be loose, when the computer will changed.

kind regards
GG
Gespeichert
Loïs Bégué
Global Moderator
Hero Member
*****
Offline Offline

Beiträge: 1718



WWW
« Antworten #2 am: 02.06.2008, 14:08:18 »

Modify your "reference" Exe by editing the internally saved resources.
e.g. you may utilize the sources provided here:
http://www.wilsonc.demon.co.uk/d10resourceeditor.htm
( a great resource explorer written in ObjectPascal)
Gespeichert

Prof.Y
Arpoon
grenzgaenger
Global Moderator
Full Member
*****
Offline Offline

Beiträge: 232


« Antworten #3 am: 07.07.2008, 22:29:29 »

or use your BeginUpdateResource, UpdateResource, and EndUpdateResource WIN API routines. details you can find in your documentation or GIYF

<HTH> GG
Gespeichert
Seiten: [1] Drucken 
« vorheriges nächstes »
Gehe zu:  


Einloggen mit Benutzername, Passwort und Sitzungslänge

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006, Simple Machines LLC Prüfe XHTML 1.0 Prüfe CSS