473,549 Members | 2,408 Online
Bytes | Software Development & Data Engineering Community
+ 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(hInsta nce,"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 2220
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
29164
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 anyone know where i could get it from? Thanks
2
9155
by: macbul | last post by:
(C++ Builder 6.0 enterprise) I tried to create a TImage component by using this source code: // ---
4
1776
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 as though the output is being redirected elsewhere. I've tried removing and re-installing Borland 5.5 several times but the problem persists. I've...
1
3063
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 TRasterForm(this); form->ShowModal(); delete form; Now when I try to create an fsMDIForm (Form2, see code below) in the RasterForm,
4
2706
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 book it created an error in the compliation process: Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland E:\Gui.cpp: Warning W8004...
0
1167
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 code them). I have a dll which incorporates further classes that provides an interface to access all the methods in the Borland classes, and the...
0
892
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 web.config file then there is no error. However because that was interfering with other areas of the app that used Active Directory I had to take that...
0
1341
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 (http://docs.python.org/ext/pure-embedding.html). I can compile and run this example on wxDevC++ with a mingwin compiler. However when I tried this with Borland C++ Builder 5 I...
25
2330
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
7542
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
1
7500
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7827
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6066
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5385
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5110
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3514
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3494
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1079
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.