Questions tagged as 'c++-builder'

1
answer

Error "E2034 Can not convert 'TByteDynArray *' to 'TByteDynArray'"

I need to integrate with Horus System (Health) using C ++ Builder. I already imported the .cpp of the homologation web service made available for my project. I'm having problems with the methods used to send the data, where it expects a...
asked by 02.07.2015 / 14:34
1
answer

How to convert AnsiString to Char in C ++ Builder?

I need to choose a txt file through OpenDialog , to open through fopen . The problem I'm encountering and the conversion. The fopen function has as parameter const char , since opendialog returns the file p...
asked by 21.07.2016 / 21:13
2
answers

Struct or Classes?

I made the code using structure, wanted to know if classes would be more efficient. I'm doing it in C ++ Builder. The idea of the code is as follows: create a list of problems, where during the execution of the code will be added and removed num...
asked by 30.07.2016 / 03:14
1
answer

"No match for operator" error in C ++

I made this code but I have not the slightest idea why it is giving this error: "No match for 'operator < In the part where I display the user's response ... (Remember that PersonName is a class and Date is also ...) class Filme { privat...
asked by 17.03.2018 / 02:15
2
answers

How to use the Chr () function in C ++ Builder?

I need an example of using the Chr() function or something equivalent in C ++ Builder. I need to do a function to decrypt the database password.     
asked by 03.05.2016 / 20:28
1
answer

Clone a struct without copying the memory address

I need to copy struct problema1 to struct problema2 , but when doing the way you are in the program below, when I change the struct problema2 , you are also changing the struct problema1 . The way I did it by copying the...
asked by 08.07.2016 / 18:08
1
answer

How to load array items in the list box?

I have TCheckListBox and when it is checked I save the options in an Array. I need to click on a "List" button, Array elements (marked options of TCheckListBox ) are listed in TListBox . It should look something like this:...
asked by 13.01.2016 / 15:27
2
answers

Problem with form placement

I have an application that works as follows: There is a main form and I open "child" forms during execution, for registration, search, etc. The intent is always to open the child forms in the center of the main form, regardless of the size of th...
asked by 19.08.2016 / 19:45
1
answer

Load items in a combobox from the select of another combobox

I have a Combobox that lists school units coming from my DB. Here is the code: _fastcall TForm1::TForm1(TComponent* Owner) : TForm(Owner) { QueryUnidade->Close(); QueryUnidade->Open(); while (QueryUnidade->Eof == false){ ComboBo...
asked by 03.12.2015 / 14:13
1
answer

I am not able to use libcurl C ++

Well, I can not use libcurl! Can someone help me? Teach me how to compile this correctly! I'm following all the steps that come in a doc along with the project itself. >
asked by 08.07.2018 / 17:00