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