IT SOLUTIONS
Your TECHNOLOGY partner! 
-Collapse +Expand
C++
Search C++ Group:

Advanced
-Collapse +Expand C++ Group Home
Highlights◄╣

WEEKLYLESSON

MY
GROUPSETTINGS
-Collapse +Expand Message Board
-Collapse +Expand C++ KB
-Collapse +Expand C++ To/From
To/FromCODEGuides
-Collapse +Expand C++ Study Test
PRESTWOODCERTIFIED
-Collapse +Expand C++ Store
PRESTWOODSTORE
-Collapse +Expand Members Only
   ► All GroupsC++ Group   All Groups   Print This   
Highlights Updated Posts Unanswered Posts Online Today Who's Reading What Member Birthdays!

HighLights (C++ Group)

Switch to New Group Posts By Type view.

New: C++ Group Members

1. Ken.H  (2 visits. Dumas, TX USA) 2. zdm314  (4 visits. Citrus Heights, CA USA) 3. waynekestner  (8 visits. Ellicott City, MD USA) 4. efortier  (2 visits.) 5. nicomo  (26 visits. Warsaw USA) 6. geocook  (9 visits. North Salt Lake, UT USA) 7. jrshedden  (7 visits. Kinnelon, NJ USA) 8. raynerson  (2 visits. UNK) 9. Ramesh R  (19 visits. USA) 10. OGM_JAF_PKEY  (1 visits. site maravalle, UNK DZ)

New C++ Posts: All Types

View:
New?   Title Created By For...
None. No highlights in last 90 days.
Icon Legend:
Recent or not:
- Recent activity (within last two weeks).
- No activity last two weeks.
 Since your last logged visit:
- New to you or updated since your last visit (sign in now to activate).
- NOT new to you since your last visit (sign in now to activate).

New: C++ Message Board Posts

Go To: C++ Message Board

Thread 5 of 5
Thread Starter  

jrshedden
BDE GetConfigParams Block Size
Hi All, I've been having some fun trying to change the BDE 'block size' during run time. I need to generate large answer tables and I don't want to drag every user though the BDE Administrator. I have no access to their machines other than my software. I like the idea of only modifying the settings when my program is running instead of changing their idapi.cfg file.  "rptSession" is a TSession component in the below example. TStringList* tsl = new TStringList(); rptSession->GetConfigParams("\CONFIGURATION\DRIVERS\NATIVE\PARADOX\%s","BLOCK SIZE",tsl);, I can compile, and no matter what permutation of path I dictate, the engine can't find the parameter that I specify. I want to read the current block size, then modify it while the session is active. Thanks in Advance! Jim Shedden
Posted to MB Topic: C++Builder
31 months ago
Nothing New Since Your Last Visit
1993
Hits

Thread 4 of 5
Thread Starter  

raynerson
MainMenu item chosen
Hello Mike

I do need your help!!!!!! pleeeease!!

I have a lot of forms in my program and one depends on one another. Form1 has a mainmenu whose items are: viga, trelica, portico and grelha(from civil engineering).
In Form5 i need to know the item chosen before in Form1, but i don't know how to do it. I do'nt know the syntax

Example (in Form5)

if (Form1->Viga1.OnClick) or if (Form1->Viga1-> Clicked == true)
{

Do something.........

}

Please, help me! It's my graduation paper and i need to finish it as soon as possible

Thanks dude!!!
Posted to MB Topic: C++Builder
40 months ago
Nothing New Since Your Last Visit
1706
Hits

Thread 3 of 5
Thread Starter  

Alagu_Sundari
class that should not be inherited.
How to write the class such that it should not be inherited by other class.
Posted to MB Topic: Standard C++
59 months ago
1 Reply:

mprestwood
For C++, to prevent derivation make the constructor a private member of the class. In .Net you use the keyword sealed and in java you use a final class.
59 months ago
Nothing New Since Your Last Visit
2899
Hits

Thread 2 of 5
Thread Starter  

Daydreamer
C Chat Server for Borland?
I have been looking for a few weeks now for a chatserver example in C and can't find one that works for BCB 5.5.  I can find C++ servers but none that are in C that actually works for BCB.  Can someone point me in the right direction?  I wish to connect a database to a console program, but would like the code to be C based and not C++ ( I hear it is faster in regular ansi C).  Thank you in advance!
Posted to MB Topic: C Language
6 years ago
1 Reply:

mprestwood
Did you ever find a chat server? If not, how did you work around that. Are you porting one of the C++ ones or still looking?
6 years ago
Nothing New Since Your Last Visit
2717
Hits

Thread 1 of 5
Thread Starter  

Johan
Exception Handle
Hi Moderator,, , I am developing database (ORACLE) application using C++Builder with TADO Component (TADOConnection & TADOQuery)., , Why if I put try and catch exception, when my application got error occur didn't entering catch block., , ie:, my syntax is TADOConnection->Open();, When this syntax not working properly, such as broken connection to database("ORA-12560"), didn't coming in catch block., , How to handle about that?, , Thanks a lot, , regards,, , Johan
Posted to MB Topic: C++Builder
9 years ago
1 Reply:

adamlum
It's been a little while since I had the privilege of programming in C++ but if I remember correctly you have to explicitly throw an exception rather than the runtime throwing it automatically like Java or .NET...
6 years ago
Nothing New Since Your Last Visit
2286
Hits
More...

New: C++ Knowledge Base Posts

Go To: C++ Knowledge Base
  KB Article    

Mike Prestwood
1. C++/CLI Empty String Check (String.IsNullOrEmpty)

The .Net framework offers a static method in the string class: String.IsNullOrEmpty.

Posted to KB Topic: C++
44 months ago

Code
Nothing New Since Your Last Visit
5354
Hits

Mike Prestwood
2. C++/CLI String Concatenation (+)

C++/CLI performs implicit casting of numbers to strings. To concatenate two strings, a string to an integer, or a string to a floating point number, use the + operator. For example, to convert a floating point number to a string just concatenate an empty string to the number as in "" + 3.2.

Posted to KB Topic: C++/CLI Language Basics
51 months ago

Code
Nothing New Since Your Last Visit  
3533
Hits

Mike Prestwood
3. C++/CLI Logical Operators

Same as C++ and Java. C# logical operators:

& and, as in this and that No Short Circuit
&& and, as in this and that short circuits
| or, as in this or that No Short Circuit
|| or, as in this or that short circuits
! Not, as in Not This
^ either or, as in this or that but not both

Posted to KB Topic: C++/CLI Language Basics
51 months ago

Code
Nothing New Since Your Last Visit
2815
Hits

Mike Prestwood
4. C++ Pointers

C++ uses both pointers and references. Use the * operator to declare a pointer and use the & operator to declare a reference.

Posted to KB Topic: C++ Language Details
51 months ago

Code
Nothing New Since Your Last Visit
2546
Hits
More...

New: To/From Code

Go To: C++ To/From Guides

Code Snippets

Microsoft VBScript runtime error '800a01f4'

Variable is undefined: 'CrossRef_ShowTop'

/ASPSuite/NewPosts.asp, line 598