일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- RNN
- Numpy
- pycharm
- Python
- LSTM
- DFS
- javascript
- keras
- Lotto
- mariadb
- E-P1
- imread
- 삼성소프트웨어멤버십
- install
- CNN
- Splunk
- GitHub
- Series
- dataframe
- pandas
- ipad
- pip
- index
- GT-S80
- Button
- mean
- SciPy
- 알고리즘
- SPL
- synology
Archives
- Today
- Total
잠토의 잠망경
명시적 연결 Dll 본문
DllPutMes.h
DllPutMes.cpp
PutMesApp.cpp
#ifdef MYEXPORT #define MYEXPORT extern "C" __declspec(dllexport) #else #define MYEXPORT extern "C" __declspec(dllimport) #endif #include
DllPutMes.cpp
#undef UNICODE #define MYEXPORT #include "PutMes.h" MYEXPORT void PutMes() { MessageBox(NULL,"안녕하세요.","인사",MB_OK); }
PutMesApp.cpp
#undef UNICODE #include "PutMes.h" #includetypedef void (*fPutMes)(); int main(void) { fPutMes fPUTMES; HMODULE hF; if(INVALID_HANDLE_VALUE==(hF=LoadLibrary("[40]DllPutMes.dll"))) { printf("LoadLibrary error\n"); return 0; } fPUTMES=(fPutMes)GetProcAddress(hF,"PutMes"); if(!fPUTMES) { printf("GetProcAddress error\n"); return 0; } fPUTMES(); FreeLibrary(hF); return 0; }
Comments