일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- CNN
- Lotto
- pycharm
- index
- keras
- GT-S80
- pip
- LSTM
- DFS
- mariadb
- Splunk
- RNN
- synology
- ipad
- E-P1
- imread
- pandas
- SciPy
- javascript
- 삼성소프트웨어멤버십
- SPL
- dataframe
- 알고리즘
- Python
- install
- Numpy
- GitHub
- Series
- mean
- Button
Archives
- Today
- Total
잠토의 잠망경
명시적인 로드 본문
#undef UNICODE #include#include typedef int (*pFunction)(int,int); void RunLink() { HINSTANCE hInst; pFunction pFunc; //명시적인 로드를 위한 LoadLibrary 함수이다. hInst=LoadLibrary("[40]DLLExternC.dll"); //Dll 모듈에서 AddInteger라는 이름의 함수를 얻오는 함수이다. pFunc=(pFunction)GetProcAddress(hInst,"AddInteger"); //함수를 직접호출하는 문장이다. int Result=pFunc(1,2); //함수의 결과를 출력한다. printf("Result: %d\n",Result); //모듈 사용이 끝났으므로 Dll의 usage count를 1줄인다. FreeLibrary(hInst); } int main(void) { RunLink(); return 0; }
Comments