Welcome!

Join our community of MMORPG enthusiasts and private server developers! By registering, you'll gain access to in-depth discussions on source codes, binaries, and the latest developments in MMORPG server files. Collaborate with like-minded individuals, explore tutorials, and share insights on building and optimizing private servers. Join us today and unlock the full potential of MMORPG server development!

Join Today!

splash screen DLL

🚫
Exiled
Joined
Jul 31, 2010
Messages
405
Reaction score
25
Hi ,
as the title say i want a splash screen dll
and be able to edit the image from resource hacker/tuner
thank you
 
Make a dialogbox resource, then add a BMP, finally add a picture box & change the type to BMP, select the BMP in resource, apply my source & done. (Make the dialog name 101)
Code:
#include <windows.h>
#include "resource.h"

BOOL DlgProc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam){
  DWORD TimerID = NULL;
  switch(msg){
  case WM_CLOSE:{
		  KillTimer(hwnd, TimerID);
		  EndDialog(hwnd, 0);
	  }
	  break;
   case WM_INITDIALOG:{
      DWORD TimerID = SetTimer(hwnd, 466, 3000, NULL);
	  }
	  break;
    case WM_TIMER:{
		  SendMessage(hwnd, WM_CLOSE,0,0);
	  }
	  break;
  default:break;
   }
  return FALSE;
}




BOOL WINAPI DllMain(HMODULE hModule, DWORD dwReason, LPVOID){
	if (dwReason == DLL_PROCESS_ATTACH){
			DialogBoxParamA(hModule, MAKEINTRESOURCE(101), NULL, (DLGPROC)DlgProc, NULL);
		}
	if (dwReason == DLL_PROCESS_DETACH){
		ExitProcess(0);
		}
    return TRUE;
}
 
Upvote 0
Back