473,490 Members | 2,635 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Problem with creation of .res file (Borland C++ 5.5)

Hello,
I have just happened on a nice Borland C++ 5.5 tutorial at
http://www.webnotes.org/bcc55eng.htm, meant for the very novice like myself
:) I got stuck at creation of .res file needed to include some resoureces
into the EXE, e.g. an application icon. According to the author's
description I prepared a file "testres.rc" with the following content:
//==cut
MAINICON ICON LOADONCALL MOVEABLE DISCARDABLE testres.ico
//==cut
where MAINICON is a constant naming the icon that I want to link in the next
step with my EXE. The name MAINICON is also present in my source file
"testres.c" as an argument for the function LoadIcon(hInstance,"MAINICON").
While using the command: brc32 -32 -r testres.rc
I get an error: "Error testres.rc 1 23: Allocate failed" pointing at the
first and actually the only line of my "testres.rc" file.
What is the problem? Could you please give me a hint?
Thanks in advance for any help you may offer. Kindest regards,
Ricardo

Jun 7 '07 #1
1 2210
Ricardo wrote:
Hello,
I have just happened on a nice Borland C++ 5.5 tutorial at
http://www.webnotes.org/bcc55eng.htm, meant for the very novice like
myself :) I got stuck at creation of .res file [...] I get an error:
"Error testres.rc 1 23: Allocate failed" pointing at
the first and actually the only line of my "testres.rc" file.
What is the problem? Could you please give me a hint?
Hint: wrong newsgroup. Look for an appropriate newsgroup in the
'borland.public.*' hierarchy, or ask in the newsgroup dedicated to
programming Windows.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Jun 7 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
29160
by: claire.bell1 | last post by:
Hi, I need to include the library file vcl.h for an opengl program compiling in borland, however my borland install doesnt seem to include the file. Is vcl.h a standard library file and does...
2
9145
by: macbul | last post by:
(C++ Builder 6.0 enterprise) I tried to create a TImage component by using this source code: // ---
4
1769
by: jbruno4000 | last post by:
I'm using the Borland 5.5 Standard Edition compiler and recently started having an io problem. When I Run my applications, after compiling and linking, there is no output to the output window! it's...
1
3054
by: prub | last post by:
I working with Borland C++ Builder 6 Enterprice. I have 3 form. The main form is a fsNormal FormStyle that create a fsMDIForm (RasterForm, see code below) TRasterForm* form = new...
4
2701
by: NathanAllen | last post by:
First of all to let you know I am using the following compiler: Borland C++Builder 5.5.1 with Turbo Incremental Link 5.00 When I tried to make my first GUI drawing following Lawernceville Press's...
0
1162
by: Duncan Winn | last post by:
Hi, Further to my last post..... I have Borland classes which I want to use in .NET (the classes have methods that return user defined objects), and the classes are HUGE (i.e I don't want to re...
0
885
by: Steve Moreno | last post by:
I have an ASP.NET app that writes an Excel file out to a subdirectory within the root web and then emails it out as an attachment. If I have the <identity impersonate="true"/string in the...
0
1334
by: DevEng | last post by:
Hi all, I am new to Python and trying to embed it into a c/c++ application. I started with examples from the documentation pages and go to the Pure Embedding example...
25
2326
by: biplab | last post by:
Hi all, I am using TC 3.0..there if I declare a integer array with dimension 162*219...an error msg saying that too long array is shown....what should I do to recover from this problem???
0
6974
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7146
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7183
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6852
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7356
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
3084
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3074
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1389
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
628
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.