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