Guest User

Hosted+

a guest
Jan 22nd, 2021
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. Hosted+
  2.  
  3. How to add Hosted+ to your project:
  4.  
  5. 1. Include the files in your project directory, and inside the project.
  6. 2. Project Properties -> VC++ Directories -> Library Directories
  7.  
  8. $(MsBuildProjectDirectory)\Hosted+\cURL
  9. $(MsBuildProjectDirectory)\Hosted+\JSON
  10.  
  11. 3. Project Properties -> Linker -> Input
  12.  
  13. libcurl_a.lib
  14. jsoncpp.lib
  15. Ws2_32.lib
  16. Wldap32.lib
  17. crypt32.lib
  18. Normaliz.lib
  19.  
  20. 4. Project Properties -> Preprocessor ->
  21.  
  22. CURL_STATICLIB
  23.  
  24. 5. Apply then your goot to go.
  25.  
  26. How to use Hosted+:
  27.  
  28. to get started u firts do:
  29. HostedPlus::run();
  30.  
  31. To get the address you can do
  32. HostedPlus::json["addresses"]["addr name"]["addr"]
  33.  
  34. To get the conv you can do
  35. HostedPlus::json["addresses"]["addr name"]["cc"]
  36.  
  37. To add an function u can do:
  38. auto function = HostedPlus::CreateDef<typedef,args...>("addr name");
Advertisement
Add Comment
Please, Sign In to add comment