Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


Exe embedded data file and, Icon personalisation.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-14-2008, 05:55 PM
Junior Member
 
Join Date: Aug 2007
Posts: 30
Question Exe embedded data file and, Icon personalisation.

Is there any way to generate an standalone executable with its embedded
(included) data ressource-base file ? for example in a "zipper" tool project,
or some resident "on picture" action tool project.
Is there any way to personalise the compiled application icon and the shortcut one ?
Thanks for help.
Reply With Quote
  #2 (permalink)  
Old 01-14-2008, 07:47 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,334
Default

Embedding data in the executable file is currently not supported. It will be in the future.
Changing the icon is done by choosing File - Choose Icon.
Reply With Quote
  #3 (permalink)  
Old 01-14-2008, 09:22 PM
Junior Member
 
Join Date: Dec 2007
Posts: 27
Default

You could do this by writing to your exe file in binary.

Find the length of your exe file, then store your resources at the end. You will have to have certain byte positions that store the filename and resource size but it can be done. The first routine in your exe needs to extract the resource. once loaded, delete the resource.

I will try to find my old basic code which did this but it would need converting to basic4ppc.

I forgot to say, the code to write the resource to your exe has to be separate program
Reply With Quote
  #4 (permalink)  
Old 01-15-2008, 12:08 PM
Junior Member
 
Join Date: Aug 2007
Posts: 30
Wink Thanks for answers.

I see, a small "binary-cook" is actually the best way to make a ressource included standalone exe.
I will search the internal branch solution. All old script-piece regarding that are welcome !
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add a image/icon to the Setup file ? mozaharul Questions & Help Needed 1 09-16-2008 05:33 PM
Quarter of an icon in File Explorer badkarma Questions & Help Needed 9 06-09-2008 09:17 PM
Embed and retrieve images in a data file Erel Code Samples & Tips 10 02-18-2008 08:23 AM
Struggling with the Icon File format. RandomCoder Questions & Help Needed 2 08-04-2007 08:05 PM
Large Txt or data file tcgoh Questions & Help Needed 4 05-29-2007 02:37 AM


All times are GMT. The time now is 01:26 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0