🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.deployment
2 messages
2 total messages Started by Febre Yuwono Thu, 03 Jan 2008 22:22
How to put everything in one exe file ?
#95
Author: Febre Yuwono
Date: Thu, 03 Jan 2008 22:22
5 lines
990 bytes
How to put everything in one exe file (bmp bpl lib dll etc) ?


Regards
Febre Yuwono
Re: How to put everything in one exe file ?
#96
Author: AndrewB
Date: Sat, 02 Feb 2008 13:05
43 lines
2671 bytes
For creating a self extracting setup file I use SSE Setup: www.ssesetup.com
It supports exe and zip (and of course uncompressed).

But I wonder if this is really what you want (it should be because this is 
the deployment newsgroup):

Maybe you want to build your program without rtl's?
1) Project -> Options-> Packages -> Build with runtime packages: off
2) Project -> Options-> Linker -> Use dynamic RTL: off

Or you want to embed your bmp in your exe file as a resource instead of 
distribution it along with your exe file? Two VERY basic approaches:
Simply add it in the IDE to your form:
1) add a TImage to your form
2) select the bitmap you want to use in the Picture property :)
Or using resources:
1) Tools -> Image Editor -> File -> New -> Resource File (create a new one, 
don't edit the basic res with your project's name, it will/can cause serious 
problems)
2) Resource -> New -> Bitmap. Now create/paste/edit your bitmap etc.
3) Resource -> Rename: Give your bitmap in the resource file a meaningful 
name e.g. "test" :)
4) Save the new Resource file
5) Add new resource to your project: Project -> Add to Project -> Files of 
Type: resource, and select your new resource file from the list.
6) This bitmap will now be embedded in your exe on Build
7) Whenever you want to use your bitmap in your code,  load it from the exe 
with: LoadCursor(HInstance, "test"). See Builder's Help for more info on 
this.

HTH

AndrewB

"Febre Yuwono" <febre.yuwono@telkom.net> wrote in message 
news:477cb624@newsgroups.borland.com...
> How to put everything in one exe file (bmp bpl lib dll etc) ?
>
>
> Regards
> Febre Yuwono
>
> 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads