-
January 5th, 2021, 08:24 PM
#1
Identifier is undefined - why?
Using CppCLR_Winforms App (extension by Kaiser ) on Win10
{ // `Trying this code in the frmMain btnAddAccount_Click event:
// I have in this project a frmAddAccount.h file
// And have modified it in the Designer
// This #include "frmNewAccount.h" is present in the frmMain.h file
// frmAddAccount^ f1 = gcnew frmAddAccount(); // Fails but why ?
// 7 Errors are generated. and identifier frmAddAccount is undefined seems most relevant
So how and where should frmAddAccount be defined?
I thought the frmAddAccount^ f1 ... statement should do it !
TIA
srfpala
-
January 5th, 2021, 08:37 PM
#2
Re: Identifier is undefined - why?
Are you missing an assembly referencs or nuget package?
-
January 6th, 2021, 03:24 AM
#3
Re: Identifier is undefined - why?
[moved from Visual C++ Programming forum]
Victor Nijegorodov
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|