Pinoy Extreme Hackerz
After Register or Log in just click login on the right corner of the chatbox to activate it. Thank you!

________________________________________________________

Pagkatapos mag register o mag log in ay pindutin sa kanang bahagi ng ating chabox ang login upang ito ay aktibahin. Salamat!


▁ ▂ ▃ ▄ ▅ ▆ ▇ █ ☆Welcome To Pinoy Extreme Hackerz☆ █ ▇ ▆ ▅ ▄ ▃ ▂ ▁
 
HomeRegisterLog in
Announcement ! All registered users here, Please go to our new site @ http://pinoyextremehackerz.tk/ ..Thank you
This Webiste is Closed

Share | 
 

 [TUTORIAL] BUILDING A DLL WITH PICTURES

Go down 
AuthorMessage
๖ۣۜмΣтαℓωσℓƒ
Administrator
Administrator
avatar

Posts : 17
Join date : 20/09/2013

PostSubject: [TUTORIAL] BUILDING A DLL WITH PICTURES   Fri Sep 20, 2013 5:38 pm

Required Tools: Microsoft Visual Studio (any version)

Steps:

1. Open Microsoft Visual Studio and select Create : Project.


2. In new Project select Visual C++ --> Win32 --> Win32 Project --> Put Your DLL Name then click OK.


3. In Win32 Application Wizard - Your DLL Name, click NEXT.


4. Then select DLL --> Empty Project and click FINISH.


5. Now in Solution Explorer Menu (Note: If you can't see your Solution Explorer Menu just select VIEW --> Solution Explorer or Ctrl + Alt + L). Right click Source Files --> Add --> New Item.


6. Then in New Item Menu select Code --> C++ File (.cpp) --> Enter Name (like: Main or Base) --> then click Add.


7. After adding your Item (Main.cpp).. time to paste the Main DLL source code.
Code:
#include <windows.h>

BOOL WINAPI DllMain(HMODULE hDll, DWORD dwReason, LPVOID lpReserved)
{
   switch(dwReason)
   {
      case DLL_PROCESS_ATTACH:

      // If your DLL is attached or injected
      // Call your code here

      break;

      case DLL_PROCESS_DETACH:

      break;
   }
   return TRUE;
}


8. And that's it Wink.. Next Tutorial Building a DLL.

_________________
Back to top Go down
 
[TUTORIAL] BUILDING A DLL WITH PICTURES
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Pinoy Extreme Hackerz :: Programming :: C++-
Jump to: