c++builder

Error in C++ builder CreateThread().

Hey, I'm Trying to make a programa in C++ that generate triangle, square and sine, waves. I enter the frequence, amplitude, etc, and it calculates the average of the wave. And i cah choose what wave generate by selecting a radio button. This is a real-time system, so, if a wave is being plotted and if I choose a radio buton corresponden...

Cross-compiler library communication

I need to develop a C++ front-end GUI using MSVC that needs to communicate with the bank-end library that is compiled with C++ Builder. How can we define our interfaces so that we don't run into CRT library problems? For example, I believe we will be unable to safely pass STL containers back and forth. Is that true? I know I can pass ...

Can I step into the VCL (Pascal) code while debugging a C++ app?

I have a Delphi app that we're migrating to C++. One thing I often do while debugging my Delphi code is step into the VCL itself to understand exactly what's going on, to track some bugs. Is this possible in C++Builder? Suppose I am in C++Builder and I call "ShowMessage". Can I step into that call in my debugging session and switch to P...

if else program to switch program

//my program to long and have error..i want to make it simple and easy to read..how to change it in switch program?? help me please!! =( #include <iostream> using namespace std; int main () { int movie1; int movie2; int movie3; int seats; int price; int select; char response; cout<<"______Wellcome to S...

Why does TDataModule not execute actions when I hit shortcut?

Shortcut-handling module of my application contains some sort of 'global' hotkeys, that are linked to their own actions in action list in TDataModule. I did so, because it is part of shortcut persistence and editing system I have. So, any TAction I add into some form/frame/datamodule of my application will be processed and viewed in sho...

Using ROWTYPE input parameters in TADOStoredProc

We have a stored procedure which I'd like to call from my client: PROCEDURE p_my_proc(p_id IN my_table.id%TYPE, p_record IN my_table%ROWTYPE); In the client I want to call this procedure using TADOStoredProc, but haven't found a way to assign the record to a parameter. I have a TDataSet with the record in i...

Problem with Debugging in C++ Builder 2009

Hi Friends I have a strange problem, I hope you can help me. I write a program in C++ Builder 2009, when I run the program without debugger I see an Exception raised. bun in debugger never exception raised and I cant find the exception point. And Also I enable the CodeGaurd in C++ for Finding the problem but the Exception never raised...

is there any good site for reference on how to translate C++ to Delphi?

i am confuse on how to translate this code: to delphi? char **szWords; // recognized words char ***szPhones; // recognized phones per word float *pScorePron; // pronunciation score float **pScorePronPhone; // pronunciation score of ...

How do I use a macro in the data portion of a resource script?

I have the following macros header file (system.h), #define rt_metadata 8000 #define dir_metadata "db\metadata" and resource file (system.db.metadata.rc) #include "system.h" SY_ALLOWDATE rt_metadata db\metadata\SY.AllowDate.xml How do I replace the db\metadata with dir_metadata in the resource file so that it will become some...