메뉴 건너뛰기

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 게시판 관련

    Date2014.11.01 CategoryTool/etc ByMoA Views1748
    read more
  2. fwrite(), fread()

    Date2013.07.28 CategoryC/C++ ByMoA Views622
    Read More
  3. fopen 함수가 Multi Thread 에서 안전한가?

    Date2013.07.28 CategoryC/C++ ByMoA Views588
    Read More
  4. Flash CS5 and Version Control

    Date2013.10.11 CategoryTool/etc ByMoA Views350
    Read More
  5. FastAPI 톺아보기 - 부제: python 백엔드 봄은 온다

    Date2023.01.25 CategoryPython ByOBG Views120
    Read More
  6. extern "C" 에 관하여

    Date2013.07.28 CategoryC/C++ ByMoA Views320
    Read More
  7. ExcelFormat Library

    Date2012.08.02 CategoryLibrary ByNaya Views872
    Read More
  8. Essential C 링크

    Date2011.08.31 CategoryC/C++ By너울 Views302
    Read More
  9. Embedding Python in C/C++

    Date2013.12.23 CategoryPython ByMoA Views407
    Read More
  10. Dumpbin.exe 사용

    Date2012.10.21 CategoryReversing ByNaya Views353
    Read More
  11. DoModal Dialog 기초

    Date2013.07.28 CategoryAPI/MFC ByMoA Views375
    Read More
  12. DLL 이란

    Date2013.07.28 CategoryAPI/MFC ByMoA Views462
    Read More
  13. DLL 생성 시 주의

    Date2013.08.22 CategoryAPI/MFC ByMoA Views2690
    Read More
  14. DirectX 9.0c SDK을 Visual Studio2008에 적용방법

    Date2013.07.28 CategoryGraphic ByMoA Views304
    Read More
  15. Direct3D 9 compile

    Date2013.07.28 CategoryGraphic ByMoA Views270
    Read More
  16. Design Patterns Quick Reference

    Date2013.07.28 CategoryTool/etc ByMoA Views367
    Read More
  17. Design a Basic Search Engine (Google or Bing) | System Design Interview Prep

    Date2023.05.27 Category서버 ByOBG Views116
    Read More
  18. Deploying a Visual C++ Application (배포 방법)

    Date2012.08.02 CategoryAPI/MFC ByNaya Views635
    Read More
  19. defer, async 스크립트

    Date2023.01.10 CategoryWeb ByOBG Views112
    Read More
  20. Debugging Node.js Memory Leaks: How to Detect, Solve or Avoid Them in Applications

    Date2023.07.04 Category서버 ByOBG Views118
    Read More
  21. Data Conversions

    Date2013.07.28 CategoryC/C++ ByMoA Views623
    Read More
Board Pagination Prev 1 ... 5 6 7 8 9 10 11 12 13 14 ... 15 Next
/ 15
위로