Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "stdafx.h"
- __declspec(dllimport) int len(std::string);
- int _tmain(int argc, _TCHAR* argv[])
- {
- std::cout << "wow" << std::endl;
- std::string b = "a";
- std::cout << b << std::endl;
- LoadLibrary(TEXT("libencrypt.dll"));
- std::cout << len(b) << std::endl;
- system("PAUSE");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment