開發平台(Platform): (Ex: VC++, GCC, Linux, ...)
VC++
額外使用到的函數庫(Library Used): (Ex: OpenGL, ...)
OpenCV
問題(Question):
最近在寫從Form1按一個button可以呼叫其他Form的程式
程式碼為
#include"Form2.h"
----------------------------
Form2^ frm2 = gcnew Form2();
frm2->Visible=true;
但是我後來加了一個開啟圖檔的功能
http://codepad.org/7Na2Zfgd
就出現錯誤
想問大家是我呼叫Form2的方式有錯或是有什麼解決方法?
餵入的資料(Input):
預期的正確結果(Expected Output):
錯誤結果(Wrong Output):
程式碼(Code):(請善用置底文網頁, 記得排版)
補充說明(Supplement):
目前只知道加上#include <msclr/marshal_cppstd.h>
就會編譯失敗
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 110.30.87.233
※ 文章網址: https://www.ptt.cc/bbs/C_and_CPP/M.1430978755.A.C75.html