로그인

검색

API/MFC
2013.08.22 18:47

DLL 생성 시 주의

MoA
조회 수 4831 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 게시글 수정 내역 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 게시글 수정 내역 댓글로 가기 인쇄

1. Win32 DLL 프로젝트 생성 시 주의


당연한 거지만 CString 등의 MFC에서 사용하는 클래스, AfxMessageBox() 등의 MFC에서 사용하는 함수는 쓰면 안된다.


2. skipped when looking for precompiled header use 에러


Precompiled header인 "stdafx.h" 다음에 #define 문을 선언한다.


3. C2365: "operator new": redefinition; previous definition was a "function" 에러


#undef new 로 #define new DEBUG_NEW 의 효과를 없앤다.

http://stackoverflow.com/questions/1855406/overloading-new-and-delete-problem


4. CString으로 return 되는 함수 사용


extern "C" 로 선언하면 컴파일되지 않는다.


?

  1. Programming 게시판 관련

  2. Google의 C++ 라이브러리

  3. Google의 C++ 라이브러리

  4. Golang Tutorial for Node.js Developers, Part I.: Getting started

  5. GOF 디자인패턴 정리

  6. GitHut Copilot - Agent 모드 공개

  7. Getting Started with Sentiment Analysis using Python

  8. GetLastInputInfo 함수

  9. GDB Dashboard

  10. fwrite(), fread()

  11. fopen 함수가 Multi Thread 에서 안전한가?

  12. Flash CS5 and Version Control

  13. FastAPI 톺아보기 - 부제: python 백엔드 봄은 온다

  14. extern "C" 에 관하여

  15. ExcelFormat Library

  16. Essential C 링크

  17. Embedding Python in C/C++

  18. Dumpbin.exe 사용

  19. DoModal Dialog 기초

  20. DLL 이란

  21. DLL 생성 시 주의

Board Pagination Prev 1 ... 5 6 7 8 9 10 11 12 13 14 15 Next
/ 15