I.T. Discussion Community!
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. posokhin  (2 visits., -- --) 2. shalom  (3 visits., -- USA) 3. Ramon.P  (1 visits., -- --) 4. Raimo  (3 visits., -- --) 5. DVWeed  (5 visits., -- USA) 6. Wes Peterson  (2090 visits. Prestwood IT office in Citrus Heights, CA) 7. David.F  (12 visits., -- --) 8. Ken.H  (5 visits. Dumas, -- --) 9. zdm314  (4 visits. Citrus Heights, CA USA) 10. waynekestner  (10 visits. Ellicott City, MD USA)

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
7 years ago
Nothing New Since Your Last Visit
4266
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
7 years ago
Nothing New Since Your Last Visit
2889
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++
9 years 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.
9 years ago
Nothing New Since Your Last Visit
5441
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
10 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?
10 years ago
Nothing New Since Your Last Visit
4777
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
13 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...
10 years ago
Nothing New Since Your Last Visit
3574
Hits
More...

New: C++ Knowledge Base Posts

Go To: C++ Knowledge Base
  KB Article    

Douglas.M
1. Old MS DOS Based Borland Turbo C For Text Word Processor

This article describes the procedural C programming for an old MS-DOS based application to perform text based word processing.

Posted to KB Topic: Classic C Language
4 months ago

Article
Nothing New Since Your Last Visit
357
Hits

Douglas.M
2. Old MS DOS Based Borland Turbo C For Scrolling Through A Binary Text File Of Fixed Width Records

This article describes the procedural C programming for an old MS-DOS based application to scroll and page rows of records in a list retrieved from a binary text file.

Posted to KB Topic: Classic C Language
4 months ago

Article
Nothing New Since Your Last Visit
382
Hits

Mike Prestwood
3. 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++
8 years ago

Code
Nothing New Since Your Last Visit
13895
Hits

Mike Prestwood
4. 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
8 years ago

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

New: To/From Code

Go To: C++ To/From Guides

Code Snippets

  Code Snippet Created
1. Comments 1/1/2009
2. Prevent Derivation 1/1/2009
3. Abstraction 1/1/2009
4. End of Statement 1/1/2009
5. Case Sensitivity 1/1/2009
6. Literals 1/1/2009
7. Variables 1/1/2009
8. Assignment 1/1/2009
9. String Concatenation 1/1/2009
10. File Extensions 1/1/2009

Topics

  Topic Category Created
1. Array Data Structures 3/20/2010
2. Comments Language Basics 1/1/2009
3. Left of String Commands 1/1/2009
4. Prevent Derivation OOP Details 1/1/2009
5. Abstraction OOP Details 1/1/2009
6. End of Statement Language Basics 1/1/2009
7. Case Sensitivity Language Basics 1/1/2009
8. Literals Language Basics 1/1/2009
9. Variables Language Basics 1/1/2009
10. Assignment Operators 1/1/2009

New: eCertified Study Questions

Go To: eCertified
Question Level Type Based on KB Post KB Topic
{Too Long!} 1 MC {Too Long!} C++ OOP
{Too Long!} 1 TF {Too Long!} C++/CLI Language Basics
{Too Long!} 2 TF {Too Long!} C++/CLI Language Basics

Switch group?

Water-Cooler:
  • AmericanIT HighLights
  • Industry HighLights
  • Linux HighLights
  • Owners HighLights
  • PrestwoodBoards HighLights
  • Windows HighLights
  • IT Professionals:
  • Analyst HighLights
  • Coder HighLights
  • DBA HighLights
  • Proj Man HighLights
  • Tech HighLights
  • Tech Writer HighLights
  • Tester HighLights
  • Desktop Databases:
  • Access HighLights
  • Paradox HighLights
  • V.FoxPro HighLights
  • Website Scripting:
  • ASP Classic HighLights
  • Design HighLights
  • JavaScript HighLights
  • Perl HighLights
  • PHP HighLights
  • General Dev Tools:
  • C# HighLights
  • C++ HighLights
  • Delphi HighLights
  • Java HighLights
  • Prism HighLights
  • VB Classic HighLights
  • VB.Net HighLights
  • -
       Contact Us!
     
    PrestwoodBoards.com was developed and is maintainted by me. Do you have a question or suggestion? Do you see a problem? Contact me now. My goal is to build an ad-free and spam-free source of I.T. information with many contributers (ok to promote your website/company in your bio). Yes, my company Prestwood IT Solutions is mentioned in my bio which shows with every post, but you can contribute and promote your pet project too!

    2,298 People Online Now!!  
    Sign In to see who's online now!  Not a member? Join now. It's free!
    Show more stats...


    ©1995-2017 PrestwoodBoards  [Security & Privacy]
    Professional IT Services: Coding | Websites | Computer Tech