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.83 MB
Time: 0.096 c
4-22467
Shadow
2001-11-01 15:46
2002.01.08
TOPMOSTS


6-22292
3d [Power]
2001-10-06 18:16
2002.01.08
Network code for the game.


3-21904
Andrei
2001-11-29 22:18
2002.01.08
query


1-22070
g
2001-12-18 21:53
2002.01.08
font management with the POPUP menu


3-21914
Axel
2001-12-03 18:05
2002.01.08
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 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