Chodzi mi o to, daje np taki kod w buttonie:
Kod
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
MessageBox("asdasdasd","Siemka");
}
};
MessageBox("asdasdasd","Siemka");
}
};
I efekt u mnie oczywisty:
Cytat
------ Build started: Project: exploit, Configuration: Debug Win32 ------
Compiling...
exploit.cpp
c:\documents and settings\właściciel\moje dokumenty\visual studio 2008\projects\exploit\exploit\Form1.h(86) : error C2661: 'System::Windows::Forms::MessageBox::MessageBox' : no overloaded function takes 2 arguments
AssemblyInfo.cpp
Generating Code...
Build log was saved at "file://c:\Documents and Settings\Właściciel\Moje dokumenty\Visual Studio 2008\Projects\exploit\exploit\Debug\BuildLog.htm"
exploit - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Compiling...
exploit.cpp
c:\documents and settings\właściciel\moje dokumenty\visual studio 2008\projects\exploit\exploit\Form1.h(86) : error C2661: 'System::Windows::Forms::MessageBox::MessageBox' : no overloaded function takes 2 arguments
AssemblyInfo.cpp
Generating Code...
Build log was saved at "file://c:\Documents and Settings\Właściciel\Moje dokumenty\Visual Studio 2008\Projects\exploit\exploit\Debug\BuildLog.htm"
exploit - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Jak temu zaradzić?