일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- pycharm
- E-P1
- Numpy
- dataframe
- pip
- SciPy
- GitHub
- LSTM
- keras
- Python
- Button
- mariadb
- Series
- mean
- 알고리즘
- install
- ipad
- javascript
- GT-S80
- DFS
- synology
- 삼성소프트웨어멤버십
- pandas
- RNN
- SPL
- Splunk
- CNN
- imread
- Lotto
- index
- Today
- Total
목록공부/Cpp (45)
잠토의 잠망경
1. Project를 생성합니다. 2. Visual C++에서 Win32 Console Application을 선택합니다. 3. DLL을 선택하고 Empty_project를 선택하세요. 그리고 Finish 그럼 끝
보는 봐와 같이. 아무리 extern "C"를 해도 __cdecl 과 같은 함수명을 얻을 수는 없다. 단지 extern "C"를 안했을 때는 C++ Name Mangling의 규칙에 따라 예상할 수도 없는 범위의 함수명을 얻게 된다. 참조 무식함의 끝을 달리던 나... 드디어 운명의 책을 만났으니... 여기보면 나의 삽질을 무색하는 그 무언가가 있다.. 야호~~ 추신. 오타가 좀 있다. ㅡㅡ;
내 환경에서는 왜 extern "C"가 안될까? vc++ 6.0 2005,2008 모두 이게 작동을 안한다. ㅜㅜ 아 수많은 밤을 이 문제를 해결하려고 노력했고 해결한듯한 착각속에 프로젝트를 진행했고 완성했다. (기적이다. ㅡㅡ;; 내가 어떻게 멤버십에 있는거지 ㅜㅜ) 지금 dumpbin으로 내가 했던 모든 dll들을 확인해보니 이건뭥미.. ㅜㅜ 아.. 왜 왜 왜 안되는건가. ㅜㅜ 그냥 def 혹은 dumpbin으로 그냥 로드할란다. 귀찮다.
현재 Dll 학습하는 가운데 삽질한 내용을 정리하려 합니다. 우선 extern "C"를 쓰는 이유는 name Mangling 때문에 CPP에서 사용하는 것으로 C에서는 사용할 이유가 없다. 고로 .C파일에서는 extern "C"를 사용할 경우 Error을 뿌려대는듯하다.
Download clipboard demo project - 12 Kb Download notification demo project - 12 Kb Adding clipboard support to a VC++ / MFC application is extremely simple. This article covers the basic steps involved in getting your applictions talking to the clipboard. In it are examples of the following: Reading and writing text Reading and writing WMF data Reading and writing a bitmap Setting up and using y..
Introduction Hooks are one of the most powerful features of Windows. We can hooks to trp all the events in the Windows environment. This example shows how to trap keyboard events and save the keys to a text file. In the Microsoft® Windows™ operating system, a hook is a mechanism by which a function can intercept events (messages, mouse actions, keystrokes) before they reach an application. The f..
Introduction Simulation of a keyboard input is a well known concept for those who are all familiar with Visual Basic. SendKeys() in Visual Basic does all the things, if you want to do anything without keyboard. But what is in SendKeys() function? What does it do? Can we do such a thing with Visual C++? This article is the answer. I think this will be useful for beginners who are all just trying ..
http://hdp.null2root.org/reversing.html http://www.debuglab.com/knowledge/APIHOOKING.html http://www.codeproject.com/KB/system/hooksys.aspx http://dual5651.hacktizen.com/tt/entry/Windows-Global-API-HookingPart-1 http://www.gpgstudy.com/forum/viewtopic.php?t=14054