글쓴 사람
지언 (thinkumaster at gmail.com)
홈페이지
첨부 파일
안녕하세요 궁금한 점이 있어서 이렇게 글을 올립니다.
MFC APP로 간단하게 짜고
COM(C#) 연결하여 호출하였습니다.
샘플 소스
------------------C# 생략
public void ShowForm(string name)
{
TestForm temp = new TestForm();
temp.Show();
}
---------MFC
.............
if(SUCCEEDED(hr))
{
temp_Class->ShowForm("FF");
}
폼이 떠서 아 괜찮네 생각하는 과정에;;
에러 메세지가 갑자기;;
Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention.
여러가지 해보면서 보고 있는 과정인데;; 이유를;; 정확하게 몰라서 혹시 아시는 분이 있으시면 답변 주시면 감사드리겠습니다.
[최초 등록일: ]
[최종 수정일: 2/14/2009]
No | Writer | Date | Cnt. | Title | File(s) |