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

Down

How to compile multiple files in one exe Find similar branches


Delphimun   (2001-12-15 10:00) [0]

I have a program consisting of one exe, one wav-a and one cur-a, and I need the program to consist of one exe, and there are other files in it and I could use them (copy to an independent file on disk In general, listen to everything as it should be).



Suntechnic   (2001-12-15 10:09) [1]

... use resources. The topic is repeatedly raised here ...



Delphimun   (2001-12-15 10:25) [2]

If you use a resource, you get the 2 file (res) and (exe), and I need to have only one file (exe).



MBo   (2001-12-15 10:30) [3]

resources are stitched in exe



Gayrus   (2001-12-15 10:35) [4]

But I have a question how to load an ANI file from resources, in the sense of non-uploading into a separate file.



Delphimun   (2001-12-15 10:48) [5]

1) and how to load the resource wav
2) how to get the cursor from a resource and save it to disk in a cur file



Delphimun   (2001-12-15 11:04) [6]

How wav in a resource to push?

How then to get wav from a resource?

How to get the cursor from a resource and save it to disk in a file (cur) or at least assign it to a component?

What is a powerful program for creating resources, so that not only curs, bitmaps and iconki can be pushed into resources, as in imageeditor, but also other files.



Gayrus   (2001-12-16 10:25) [7]

2 Delphimun You create a file with the extension RC, with the help of a notepad you insert there:
NAME TYPE "File Path"
You compile using brcc32.exe (in the Delphi \ Bin folder)
In the line, execute: C: \ ... Delphi \\ Bin \ brcc32.exe res1.res
You get the Res file
Further in the project:
{$ R NAME.res}

.
var Res: TResourceStream;
begin
Res: = TResourceStream.Create (hInstance, "NAME", "TYPE");
Res.SaveToFile ("Filename where to save");
Res.Free;
.



Pages: 1 whole branch

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

Top





Memory: 0.56 MB
Time: 0.023 c
4-22468
Zabl
2001-11-02 11:56
2002.01.08
Memory leak


1-22192
Dreamer
2001-12-15 19:34
2002.01.08
How to pull out seconds from Time and translate


1-22048
- == Yurka == -
2001-12-18 18:50
2002.01.08
Problem with memo


1-22244
Socol
2001-12-15 15:42
2002.01.08
Download file!


7-22432
Voldemar
2001-09-25 04:12
2002.01.08
Priority assignment on startup ...





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 ภาษาไทย turkish Ukrainian urdu Tiếng Việt 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