Click here to Skip to main content
15,887,027 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Regular expression error ? Pin
Salvatore Terress24-Oct-23 5:01
Salvatore Terress24-Oct-23 5:01 
GeneralRe: Regular expression error ? Pin
k505424-Oct-23 6:00
mvek505424-Oct-23 6:00 
GeneralRe: Regular expression error ? Pin
RedDk24-Oct-23 8:01
RedDk24-Oct-23 8:01 
AnswerRe: Regular expression error ? Pin
jschell23-Oct-23 5:16
jschell23-Oct-23 5:16 
QuestionHow to pass parameter (pointer) to function ? Pin
Salvatore Terress19-Oct-23 14:50
Salvatore Terress19-Oct-23 14:50 
AnswerRe: How to pass parameter (pointer) to function ? Pin
k505419-Oct-23 17:16
mvek505419-Oct-23 17:16 
AnswerRe: How to pass parameter (pointer) to function ? Pin
CPallini19-Oct-23 20:54
mveCPallini19-Oct-23 20:54 
GeneralRe: How to pass parameter (pointer) to function ? Pin
Salvatore Terress20-Oct-23 7:22
Salvatore Terress20-Oct-23 7:22 
Thanks, I have it working calling the function within constrictor.
Appreciate your help getting this part fixed.

I am trying to call it from another part of the code and getting this error

/mnt/RAID_124/BT/BT_Oct20_BASE_/mdi/mainwindow.cpp:1274: 
error: member access into incomplete type 'Ui::MainWindow_C_CODE_FORM'
mainwindow.cpp:1274:32: error: member access into incomplete type 

'Ui::MainWindow_C_CODE_FORM'

        ShowText(text,MWCCF->ui->textEdit());
                               ^
../CCC_SOURCE/Bluetoothctl/../C_CODE_FORM/mainwindow_c_code_form.h:42:22: note: forward declaration of 'Ui::MainWindow_C_CODE_FORM'
namespace Ui { class MainWindow_C_CODE_FORM; }
                     ^


I could use some help to solve this.

PS
This gives same error

ShowText(text,MWCCF->ui->textEdit);

Thanks
GeneralRe: How to pass parameter (pointer) to function ? Pin
Salvatore Terress20-Oct-23 8:23
Salvatore Terress20-Oct-23 8:23 
AnswerRe: How to pass parameter (pointer) to function ? Pin
Richard MacCutchan19-Oct-23 21:48
mveRichard MacCutchan19-Oct-23 21:48 
QuestionSOLVED "value optimized out " C++ error Pin
Salvatore Terress18-Oct-23 5:39
Salvatore Terress18-Oct-23 5:39 
AnswerRe: "value optimized out " C++ error Pin
Richard MacCutchan18-Oct-23 5:47
mveRichard MacCutchan18-Oct-23 5:47 
AnswerRe: "value optimized out " C++ error Pin
k505418-Oct-23 7:47
mvek505418-Oct-23 7:47 
AnswerRe: "value optimized out " C++ error Pin
Richard Andrew x6418-Oct-23 14:38
professionalRichard Andrew x6418-Oct-23 14:38 
QuestionBuilding .dll files using Makefile Pin
JohnCodding12-Oct-23 23:59
JohnCodding12-Oct-23 23:59 
AnswerRe: Building .dll files using Makefile Pin
Mircea Neacsu13-Oct-23 0:31
Mircea Neacsu13-Oct-23 0:31 
GeneralRe: Building .dll files using Makefile Pin
JohnCodding13-Oct-23 0:59
JohnCodding13-Oct-23 0:59 
GeneralRe: Building .dll files using Makefile Pin
Mircea Neacsu13-Oct-23 1:21
Mircea Neacsu13-Oct-23 1:21 
GeneralRe: Building .dll files using Makefile Pin
JohnCodding13-Oct-23 6:13
JohnCodding13-Oct-23 6:13 
AnswerRe: Building .dll files using Makefile Pin
JohnCodding14-Oct-23 1:00
JohnCodding14-Oct-23 1:00 
QuestionGetVCPFeatureAndVCPFeatureReply fails when called Pin
Valentinor10-Oct-23 4:17
Valentinor10-Oct-23 4:17 
QuestionRe: GetVCPFeatureAndVCPFeatureReply fails when called Pin
CPallini10-Oct-23 4:22
mveCPallini10-Oct-23 4:22 
AnswerRe: GetVCPFeatureAndVCPFeatureReply fails when called Pin
Valentinor10-Oct-23 4:29
Valentinor10-Oct-23 4:29 
GeneralRe: GetVCPFeatureAndVCPFeatureReply fails when called Pin
CPallini10-Oct-23 4:53
mveCPallini10-Oct-23 4:53 
GeneralRe: GetVCPFeatureAndVCPFeatureReply fails when called Pin
Valentinor10-Oct-23 6:51
Valentinor10-Oct-23 6:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.