Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) 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: 34
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: 13,162
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
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: 34
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 Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add a image/icon to the Setup file ? mozaharul Questions (Windows Mobile) 1 09-16-2008 05:33 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 (Windows Mobile) 2 08-04-2007 08:05 PM
Large Txt or data file tcgoh Questions (Windows Mobile) 4 05-29-2007 02:37 AM


All times are GMT. The time now is 05:18 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0