일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- install
- pycharm
- SciPy
- Lotto
- Series
- dataframe
- CNN
- mean
- LSTM
- 삼성소프트웨어멤버십
- index
- E-P1
- SPL
- pandas
- Python
- mariadb
- RNN
- Splunk
- pip
- synology
- GT-S80
- GitHub
- imread
- ipad
- DFS
- javascript
- 알고리즘
- keras
- Button
- Numpy
Archives
- Today
- Total
잠토의 잠망경
지연로딩 본문
DllDelayLIB.h
//사용자 정의 Define #ifdef MYEXPORTDF #define MYEXPORT extern "C" __declspec(dllexport) #else #define MYEXPORT extern "C" __declspec(dllimport) #endif #undef UNICODE #include#include
DllDelayLIB.cpp
#define MYEXPORTDF #include "DllDelayLIB.h" MYEXPORT void PutMessage() { MessageBox(NULL,"안녕하세요.","반가워",MB_OK); }
DelayApp.cpp
//Dll 로딩을 위한 사용자 정의 lib 추가 #pragma comment(lib,"DllDelayLoading.lib") //지연로딩을 위한 lib 추가 #pragma comment(lib, "DelayImp.lib") #include "DllDelayLIB.h" //암시적인 로딩 MYEXPORT void PutMessage(); int main(void) { //dll 함수의 호출 PutMessage(); return 0; }
Comments