Solved

.EXE size

Posted on 1997-06-25
3
181 Views
Last Modified: 2012-05-04
The OWL section isn't working, so I'm asking this in the C section.  I have a 523 KB executable along with its C code.  I need to move it into a Windows environment (I'm learning OWL 2.5) but am concerned the result may be too large.  Are my concerns justified?  What can I do?
0
Comment
Question by:Mark Ebden
3 Comments
 
LVL 15

Expert Comment

by:Tommy Hui
ID: 1251746
I'm not quite sure what you mean by "too large". Do you mean too large to fit on a diskette? Too much memory? If you're using Windows, Windows will take care of swapping memory and making room for your executable (up to physical memory and things marked as "fixed", etc.) If you're program is using too much memory, then you will need to redesign it to use less. If you're worried about too much disk space, you can try turning some optimization switches on. Perhaps you can also give more details as to what you're most concerned with.
0
 

Author Comment

by:Mark Ebden
ID: 1251747
By result, I meant the FINAL product.
Result = .EXE FILE.
I was worried that my .EXE file would be too large.
If it is 523 KB as a DOS .EXE, what would it be as a Windows32 .EXE?
That WAS my question, but it is no longer important, because I found out Windows32 doesn't limit the size of .EXE files.
I am now curious whether OWL 2.5 is the best possible route.  I use a lot of data, plot graphs, and form a simple animation comprised of single pixels changing colour.
0
 
LVL 4

Accepted Solution

by:
AVaulin earned 100 total points
ID: 1251748
Try use GIF or JPEG images instead BMP one. You can find C-code how to show GIF and JPEG images at http://web.ukonline.co.uk/Members/julian.smart/code.html
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use nested-loops in the C programming language.
The goal of this video is to provide viewers with basic examples to understand opening and reading files in the C programming language.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question