일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- pycharm
- mariadb
- synology
- Numpy
- pandas
- 삼성소프트웨어멤버십
- 알고리즘
- E-P1
- SPL
- pip
- Series
- Button
- imread
- javascript
- Lotto
- GT-S80
- dataframe
- DFS
- Splunk
- ipad
- CNN
- GitHub
- SciPy
- keras
- Python
- LSTM
- mean
- index
- install
- RNN
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