Guest User

main.cpp

a guest
Aug 20th, 2016
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. #include "stdafx.h"
  2.  
  3. __declspec(dllimport) int len(std::string);
  4.  
  5.  
  6. int _tmain(int argc, _TCHAR* argv[])
  7. {
  8. std::cout << "wow" << std::endl;
  9. std::string b = "a";
  10. std::cout << b << std::endl;
  11. LoadLibrary(TEXT("libencrypt.dll"));
  12. std::cout << len(b) << std::endl;
  13. system("PAUSE");
  14. return 0;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment