Friday, 19 December 2008
|
| Borland Builder 6 compile problem with uxtheme.h Guest 08:25:46 |
| | When I try to compile the following program with Borland Builder 6 (I have update 4 installed)
#include <windows.h> #include <uxtheme.h>
int main(int /*argc*/, char ** /*argv*/) { return 0; }
I get the following error messages:
C:\Work\tmp>bcc32 main.cpp Borland C++ 5.6.4 for Win32 Copyright (c) 1993, 2002 Borland main.cpp: Error E2146 C:\Program Files\Borland\CBuilder6\Include\uxtheme.h 176: Need an +identifier to declare Error E2146 C:\Program Files\Borland\CBuilder6\Include\uxtheme.h 546: Need an +identifier to declare *** 2 errors in Compile ***
I can solve the compile problem if I apply the following patch to uxtheme.h:
@@ -173,7 +173,7 @@ TS_MIN, // minimum size TS_TRUE, // size without stretching TS_DRAW, // size that theme mgr will use to draw part -}; +} foo_themesize; //------------------------------------------------------------------------- // GetThemePartSize() - returns the specified size of the theme part // @@ -543,7 +543,7 @@ PO_CLASS, // property was found in the class section PO_GLOBAL, // property was found in [globals] section PO_NOTFOUND // property was not found -}; +} foo_propertyorigin;
//----------------------------------------------------------------------- // GetThemePropertyOrigin()
Is this a known problem and is there a workaround available that does not require changing system headers? Some of our customers want to compile our sourcecode with Borland Builder 6 and I wonder what we should tell them to resolve the compile problem (or if we are able to fix the compile problem in our code without the need for them to do anything).
Best regards, Rainer
|
| | 2 answer | Add comment |
Thursday, 16 October 2008
|
| [ROOT] Dear friend Mr Abba Dosama 22:23:20 |
| | Dear Sir/Madam,
I am the confidant of the ex-president of thePhilippines (Mr. Estrada) who was removed from power as you may know. He has secretly informed me tocontact you and to liaise with you to invest the total sum of {$9M} (Nine Million Dollars) which he deposited in a Bank in (Valencia Spain) during his tenure. Now the procedures are as follows, that you will be given the contact of the Bank so that you will contact them to open an online account where the money will be transferred into from his account in that Bank since he can not come out in the open to use this money. After you open this account, I will order the Bank in a written form to transfer the money into your own account after which you can then transfer it to some other account in your place or else where for sharing. Upon request by you, I can send to you the certificate of deposit of this money for your own assurance. We are willing to give to you 25% of the total sum and 5% for any expenses incurred during this transaction for all the anticipated help from you hoping that it will cover all your expenditures before and after the transaction. However, we will desire that you will help us invest our share till we will be free to meet you up in your country for further arrangements, Please if this proposal is Ok by you, please write me back via this address( dozamabba@yahoo.com [mailto:dozamabba@yahoo.com]) so that I can give to you all information?s. Regards. Dr. Dozamil Abbaphantilo
----------------------------------------------------------------------- Encuentra tu casa rГЎpida y cГіmodamente. Miles de viviendas te estГЎn esperando en http://www.portae.com [http://banner.eresmas.com/adclick/CID=000064c2c858344d00000000/site=ERESMAS/area=ERESMAS.CORREO/aamsz=PIE_WEBMAIL]
|
| | 1 answer | Add comment |
Wednesday, 1 October 2008
|
| Error: Too much global data defined in file Morosh 10:55:56 |
| | Hello: I made a C++ program for accountancy purposes, it's DOS style, I compile using bcc.exe of Borland C++ v5.2. I choose the "large model". Now I have this new error "Error: Too much global data defined in file" saying that I have a lot of global variables. I counted the space required for my global data, it didn't exceed 64k. my command line is: bcc -4 -ff -N -ml e:\my_data\prog\tc\%1.cpp > compc.rpt In the same time, I have a lot of message'strings, but with the large model there is 1MB of data space.
Is there any solution for that? Thanks
Morosh
|
| | 12 answers | Add comment |
Thursday, 4 September 2008
|
| SYSINIT.OBJ George Adamopoulos 01:40:54 |
| | When Iam trying to compile an empty project, Iam receiving a message from the linker:
[Linker Error] Unable to open file 'SYSINIT.OBJ'.
Can anyone give me a hint how to overlap this problem ?
|
| | 2 answer | Add comment |
Tuesday, 2 September 2008
|
Please any one help me regarding PostGreSQL with C++ yuvi 10:02:00 |
| | Hi friends,
I am new to Database PostgreSQL, I wanted to know the basic steps to able to write and execute the C++ program to connece to PostgreSQL database,
I need a help in basic requirements like Library, execution process and API's ( if possible please help me regarding resource links, where can i get these information) |
| | Add comment |
Thursday, 10 July 2008
|
| press ENTER in Visual C++ Kurniawan_moonlight 15:46:38 |
| | hello every one, i just started to learned using visual C++ 6.0 after i learned C and C++ using Borland C 3.1 it's quite almost the same command at all
but, i'm having some problem, if i run my application and i press ENTER buton my Application is always EXIT. i've tried to use OnKeyDown function and i overide it to become :
//OnKeyDownFunction
int i; i = int(nChar); if ( i == 0 ) i = int(nChar);
if ( i == 13 ) // ENTER button is pressed DoNotExit();
//End Fucntion
that's all.. but it's still don't work.. i wonder what's wrong.. any help would be appreciated. thank you before.
------------------------ Yahoo! Groups Sponsor --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/EbFolB/TM --------------------------------------------------------------------~->
|
| | 9 answers | Add comment |
Saturday, 28 June 2008
|
| how to open.bgi game files Kiran Kumar 11:50:09 |
| | hello I have a small doubt how to open the .bgi game files.
---------------------------------------------------------------------
How much free photo storage do you get? Store your friends n family photos for FREE with Yahoo! Photos. http://in.photos.yahoo.com
To unsubscribe, send a blank message to <mailto:c-prog-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org>.
---------------------------------------------------------------------
Yahoo! Groups Links
* To visit your group on the web, go to: http://groups.yahoo.com/group/c-prog/ [http://groups.yahoo.com/group/c-prog/]
* To unsubscribe from this group, send an email to: c-prog-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org [mailto:c-prog-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org?subject=Unsubscribe]
* Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service [http://docs.yahoo.com/info/terms/].
|
| | 3 answer | Add comment |
Friday, 9 May 2008
|
| New problem Marcos A Perelmuter 23:51:28 |
| | i am having problems with modal dialog box. In my main window there is a button that invokes a second box. I created the class "mySecondDialog" that inherits from TDialog, so i can use Execute() to create a modal dialog box. When I press the button, it runs a function that: 1) creates a pointer to an object of the type "mySecondDialog" mySecondDialog* MySecondDialog; 2) Executes the second dialog: MySeconDialog->Execute();
For my surprise, there is not modal dialog at all. The program keeps on creating the second dialog as many times as i press the button (modeless).
I don't know what am i doing wrong. I am using BCC++502 hosted in Win98.
Appreciate any help.
Thanks in advance, Marcos
|
| | 7 answers | Add comment |
Thursday, 8 May 2008
|
| OWLNEXT CBuilder 6 Ronald Praver 12:24:27 |
| | URGENT
I am currently working on CBuilder 5. My project is an ongoing one for the past 7 years. It started on BCW and we migrated to CBuilder when it came out. The project is now very dependent on the OWL framework and now also VCL's. We also use the Classlibs (ie TArray's Bags Maps ect..) heavily. I need to hear from someone that has successfully moved ALL of OWLNEXT INCLUDING Classlibs to this platform.
Please let me hear from someone ASAP.
Thanx
|
| | 2 answer | Add comment |
Tuesday, 15 April 2008
|
| dclite.bpl problem Stephen 10:59:23 |
| | Hi all
I hope someone can help me. I have been using C++Builder 6 for a couple of years on XP Pro without any problems. I had to do a reformat and reinstall but now I get access violation when I try to access the project options, something to do with not being able to load dclite.bpl.
Any ideas would be great. Thanks Stephen
|
| | 5 answers | Add comment |
Tuesday, 18 March 2008
|
| help:sine function(no usage of math.h) Rakesh V. 17:15:38 |
| | hi,can anyone help in correcting this function asap:- double mysin(double x) { int i=0; float term=x; float sinx=0; for(i=0;i<=10;i=i+2) { sinx=sinx+term; term=term*((-x*x)/(i+2)*(i+3)); } return sinx; }
---------------------------------------------------------------------
Do you Yahoo!? Yahoo! Mail [http://us.rd.yahoo.com/mail_us/taglines/50x/*http://promotions.yahoo.com/new_mail/static/efficiency.html] - 50x more storage than other providers!
To unsubscribe, send a blank message to <mailto:c-prog-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org>.
Yahoo! Groups Sponsor
ADVERTISEMENT click here [http://us.ard.yahoo.com/SIG=129mn7cf4/M=295196.4901138.6071305.3001176/D=groups/S=1705006788:HM/EXP=1096480269/A=2128215/R=0/SIG=10se96mf6/*http://companion.yahoo.com]
---------------------------------------------------------------------
Yahoo! Groups Links
* To visit your group on the web, go to: http://groups.yahoo.com/group/c-prog/ [http://groups.yahoo.com/group/c-prog/]
* To unsubscribe from this group, send an email to: c-prog-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org [mailto:c-prog-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org?subject=Unsubscribe]
* Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service [http://docs.yahoo.com/info/terms/].
|
| | 1 answer | Add comment |
Thursday, 21 February 2008
|
| Internal Compiler Error HELP! Erik Sв??rensen 11:21:49 |
| | I am beeing shown this error message:
[C++ Fatal Error] F1004 Internal compiler error at 0xcaff8e with base 0xc10000
ever time I try to compile ANYTHING in C++ Builder 6 enterprise. And it is driving me nuts! I hope someone out there can help me soon because I am on a deadline and in a hurry.
Erik.
|
| | 1 answer | Add comment |
Monday, 19 November 2007
|
| Where to get BC++ 3.1, 4.5, 5.0x (for DOS code) ? Robert 09:55:52 |
| | I'm looking for a Borland C++ compiler which can create 16bit DOS code. Are some of the above available free (for edu) somewhere? Or where can one get commercial packages?
Robert
|
| | 2 answer | Add comment |
Tuesday, 13 November 2007
|
| share probalm Guest 06:32:07 |
| | hi friends, if you have any problam in c/c++.you can ask and share your problam me in mannewar_pankaj@yahoo.co.in. pankaj |
| | Add comment |
Monday, 17 September 2007
|
| Re: Help needed on a Banking solution source code Nico Heinze 08:47:50 |
| | --- In c-prog-hHKSG33TihhbjbujkaE4pw@public.gmane.org, "kdships" <kdships@y...> wrote:>
Hi guys,> I need help on this program. I have been trying to debug this code > and can't seem to get rid of the error messages. Please email me if > you can crack this. The source code is just below his line. Thanks <snip>
Hi guy(?),
first it would help if you told us _what_ error messages you get and when. Due to your description I suppose you're talking about compiler errors, but this is only a guess. Guesswork is useless in programming, so please tell us exactly.
Also it would be helpful to yourself if you try to write ANSI compatible code. Typical counterexample is your "main()" function; void main() is no standard conformant prototype.
Next point is that it makes sense to split up such code into different source files each of which is responsible for one particular sort of tasks. This also will help you to debug the code piece by piece. The keyword here is modular programming.
Lastly, debugging usually (granted, it's a matter of definition) means the process of finding errors in a running program. However, to me it seems you did not even get to that stage as you have compiling trouble. So the word "debugging" in the subject line of your post is misleading. Don't get me wrong: my main cause to mention is _not_ to behave like a pernickety school teacher but to help you to develop a correct and sharp language when talking to other programmers. The more exact your language is (no matter whom you talk to), the easier it will be to understand exactly what you mean and to reply correctly and in a useful manner.
Regards, Nico
------------------------ Yahoo! Groups Sponsor --------------------~--> Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/EbFolB/TM --------------------------------------------------------------------~->
|
| | 1 answer | Add comment |
Thursday, 16 August 2007
Tuesday, 31 July 2007
|
| i need help to make this program.. Guest 14:35:16 |
| | Im a SecOnd year college student taking up Information technology course.. and Computer programming is one of my major subjects.. but yet im not that good in turbo c++.. can you help me with my problem.. i have to program functions that wil display stacking and popping of boxes and the going up and down of the numbers inside those boxes.. |
| | Add comment |
Monday, 18 June 2007
|
| QT3 designer and SO library Ariafrancesco 23:12:52 |
| | Where I can find some example on SO library use in QT3designer ??
I can't compile my project because I recive : In file included from .ui/serialmodbus.cpp:25: .ui/../serialmodbus.ui.h: In member function `virtual void SerialModbus::OpenSerial()': .ui/../serialmodbus.ui.h:80: error: `Mb_open_device' undeclared (first use this function) .ui/../serialmodbus.ui.h:80: error: (Each undeclared identifier is reported only once for each function it appears in.) .ui/../serialmodbus.ui.h: At global scope: .ui/../serialmodbus.ui.h:73: warning: unused parameter 'NodeTest' make: *** [.obj/serialmodbus.o] Error 1
I download the library from : http://sourceforge.net/projects/libmodbus
Thanks to all and exusme for my bad English
------------------------ Yahoo! Groups Sponsor --------------------~--> Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/EbFolB/TM --------------------------------------------------------------------~->
|
| | 1 answer | Add comment |
Tuesday, 8 May 2007
|
| Bcc32 v5.5.1 - Massive amounts of compile errors when trying to include stl vector Aaron J. M. 19:50:09 |
| | I have the bcc command line tool, and I'm getting these weird errors when I try to include vector.h.
All I did was put "#include <vector>" in a header file, and then tried compiling (I'm not even using a vector yet in my actual code). Then I get these when I compile:
------------------
C:\Borland\BCC55\include\string.stl:304: Error E2293 : ) expected C:\Borland\BCC55\include\string.stl:483: Error E2219 : Wrong number of arguments in call of macro 'erase' C:\Borland\BCC55\include\string.stl:483: Error E2040 : Declaration terminated incorrectly C:\Borland\BCC55\include\string.stl:485: Error E2219 : Wrong number of arguments in call of macro 'erase' C:\Borland\BCC55\include\string.stl:486: Error E2040 : Declaration terminated incorrectly C:\Borland\BCC55\include\string.stl:491: Error E2219 : Wrong number of arguments in call of macro 'erase' C:\Borland\BCC55\include\string.stl:1065: Error E2219 : Wrong number of arguments in call of macro 'erase' C:\Borland\BCC55\include\string.stl:1066: Error E2272 : Identifier expected C:\Borland\BCC55\include\string.stl:1066: Error E2040 : Declaration terminated incorrectly C:\Borland\BCC55\include\string.stl:1267: Error E2219 : Wrong number of arguments in call of macro 'erase' C:\Borland\BCC55\include\string.stl:1738: Error E2190 : Unexpected } C:\Borland\BCC55\include\ios.h:88: Error E2219 : Wrong number of arguments in call of macro 'clear' C:\Borland\BCC55\include\ios.h:88: Error E2092 : Storage class 'inline' is not allowed here C:\Borland\BCC55\include\ios.h:185: Error E2219 : Wrong number of arguments in call of macro 'clear' C:\Borland\BCC55\include\ios.h:206: Error E2219 : Wrong number of arguments in call of macro 'clear' C:\Borland\BCC55\include\ios.h:207: Error E2272 : Identifier expected C:\Borland\BCC55\include\ios.h:207: Error E2040 : Declaration terminated incorrectly C:\Borland\BCC55\include\ios.h:229: Error E2219 : Wrong number of arguments in call of macro 'clear' C:\Borland\BCC55\include\vector.h:328: Error E2219 : Wrong number of arguments in call of macro 'erase' C:\Borland\BCC55\include\vector.h:334: Error E2219 : Wrong number of arguments in call of macro 'erase' C:\Borland\BCC55\include\vector.h:509: Error E2219 : Wrong number of arguments in call of macro 'erase' C:\Borland\BCC55\include\vector.h:510: Error E2040 : Declaration terminated incorrectly C:\Borland\BCC55\include\vector.h:517: Error E2219 : Wrong number of arguments in call of macro 'erase' C:\Borland\BCC55\include\vector.h:550: Error E2219 : Wrong number of arguments in call of macro 'erase' C:\Borland\BCC55\include\vector.h:563: Error E2040 : Declaration terminated incorrectly C:\Borland\BCC55\include\vector.h:563: Error E2228 : Too many error or warning messages :: === Build finished: 26 errors, 0 warnings ===
------------------
This is my code:
main.cpp ------------------
#include "curses.h"
#include "level.h"
int main() { Level lev(1, 1, '.', '#');
return 0; }
level.h ------------------
#ifndef LEVEL_H #define LEVEL_H
#include <vector>
class Level { public: Level(const int width, const int height, const char floor, const char wall) : WIDTH(width), HEIGHT(height), GRID_SIZE(WIDTH * HEIGHT), GRID(new bool[GRID_SIZE]), FLOOR(floor), WALL(wall) {}
private: const int WIDTH, HEIGHT; const int GRID_SIZE; bool *const GRID;
const char FLOOR, WALL; };
#endif
------------------
I'm also using the curses library ("curses.h" in the main file) through PDCurses (http://pdcurses.sourceforge.net/). Getting rid of that include also makes the errors go away.
So, can anyone tell what's going on?
|
| | 3 answer | Add comment |
Thursday, 3 May 2007
|
| help Guest 20:37:12 |
| | how to make header file?
|
| | 1 answer | Add comment |
Wednesday, 2 May 2007
|
| help Guest 14:51:02 |
| | how I can use the option Lower/Upper on my find dialog thank you and sorry for my bad english |
| | Add comment |
Thursday, 22 March 2007
|
Countdown Sandberg 10:07:05 |
| | Hi guys - I am trying to create a countdown by seconds. I understand loops, and printing values and all that but how do you make the computer do an operation only once every second? Thanks - Dan |
| | 2 answer | Add comment |
Thursday, 8 March 2007
|
| Fwd: SQL integration with C++ FiRe 10:20:07 |
| | ---------- Forwarded message ---------- From: FiRe < bhratbrij-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org [mailto:bhratbrij-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org]> Date: Dec 28, 2005 8:54 PM Subject: SQL integration with C++ To: c-prog-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org [mailto:c-prog-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org]
HI everyone..
I have a project in my college in which i have to integrate c++ with a database (sql) as back end. I have no clue how to do it? I have google it a lot but could only find VC++ integraton with sql not c++. So,please help me.
CHEERS.....
BHRAT BRIJ
-- FiRe
-- FiRe
To unsubscribe, send a blank message to <mailto:c-prog-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org>.
SPONSORED LINKS
Basic programming language [http://groups.yahoo.com/gads?t=ms&k=Basic+programming+language&w1=Basic+programming+language&w2=C+programming+language&w3=Computer+programming+languages&w4=Programming+languages&w5=Java+programming+language&c=5&s=154&.sig=oYSjvOQeCk9m-PS6-d-YNA]
C programming language [http://groups.yahoo.com/gads?t=ms&k=C+programming+language&w1=Basic+programming+language&w2=C+programming+language&w3=Computer+programming+languages&w4=Programming+languages&w5=Java+programming+language&c=5&s=154&.sig=wZpGv_HSvSgp3_01mjn3yQ]
Computer programming languages [http://groups.yahoo.com/gads?t=ms&k=Computer+programming+languages&w1=Basic+programming+language&w2=C+programming+language&w3=Computer+programming+languages&w4=Programming+languages&w5=Java+programming+language&c=5&s=154&.sig=3_q8I6iDGyK-I1--1yamPQ]
Programming languages [http://groups.yahoo.com/gads?t=ms&k=Programming+languages&w1=Basic+programming+language&w2=C+programming+language&w3=Computer+programming+languages&w4=Programming+languages&w5=Java+programming+language&c=5&s=154&.sig=U-b0dJRkunjngqDnX2RaRQ]
Java programming language [http://groups.yahoo.com/gads?t=ms&k=Java+programming+language&w1=Basic+programming+language&w2=C+programming+language&w3=Computer+programming+languages&w4=Programming+languages&w5=Java+programming+language&c=5&s=154&.sig=CNOzV99vrCrQEyQFT5znGw]
---------------------------------------------------------------------
YAHOO! GROUPS LINKS
* Visit your group " c-prog [http://groups.yahoo.com/group/c-prog]" on the web.
* To unsubscribe from this group, send an email to: c-prog-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org [mailto:c-prog-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org?subject=Unsubscribe]
* Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service [http://docs.yahoo.com/info/terms/].
---------------------------------------------------------------------
|
| | 13 answers | Add comment |
|