메뉴 건너뛰기

OBG

Programming

API/MFC
2013.08.22 18:47

DLL 생성 시 주의

MoA
조회 수 2690 추천 수 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. fwrite(), fread()

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

  4. Flash CS5 and Version Control

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

  6. extern "C" 에 관하여

  7. ExcelFormat Library

  8. Essential C 링크

  9. Embedding Python in C/C++

  10. Dumpbin.exe 사용

  11. DoModal Dialog 기초

  12. DLL 이란

  13. DLL 생성 시 주의

  14. DirectX 9.0c SDK을 Visual Studio2008에 적용방법

  15. Direct3D 9 compile

  16. Design Patterns Quick Reference

  17. Design a Basic Search Engine (Google or Bing) | System Design Interview Prep

  18. Deploying a Visual C++ Application (배포 방법)

  19. defer, async 스크립트

  20. Debugging Node.js Memory Leaks: How to Detect, Solve or Avoid Them in Applications

  21. Data Conversions

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