问题描述
嘿伙计......我想我在这里遗漏了一些东西......
在CLI C ++中我制作了一个主要形式,而另一个形式是我计划通过菜单项点击事件提出......该表格被称为
" AddDirForm "
我的代码如下所示:
Form ^ AddFolderForm = gcnew AddDirForm();
Application :: Run(AddFolderForm);
intellisense不会给我错误...但是当我运行它时,它说:
" 错误
98
error C2061:语法错误:标识符'AddDirForm' "
我尝试了许多方法来声明表单并显示它...但我得到的错误一点都不...
我错过了什么......请帮助我。 : - )
hey guys... i guess i'm missing something here...
in CLI C++ i made a main form, and a nother form which i plan to bring forth by means of menu item click event... that form is called
"AddDirForm"
i already added he header "AddDirForm.h" file
my code looks like this:
Application::Run(AddFolderForm);
the intellisense doesnt give me errors... but when i run it, it says:
"Error98error C2061: syntax error : identifier 'AddDirForm'"
i tried many ways to declare the form and show it... but i get the error none the less...
WHat am i missing... please help me. :-)
这篇关于C ++ CLI表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!