Talkinghow to create loadlibrary.exe

Posts 1–2 of 2 · Page 1 of 1
how to create loadlibrary.exe
anyone can help me how to create loadlibrary.exe in crossfire PH for cshell dump
Ofc. Make a new C++ Visual Studio Project and dissable Pre Compiled Headers and Change Character Set To Multi-Byte

Then C&P this Code.

Code:
// load_lib.cpp : Diese Datei enthält die Funktion "main". Hier beginnt und endet die Ausführung des Programms.
//

#include "pch.h"
#include <iostream>
#include "windows.h"


int main()
{
	DWORD err;
	HINSTANCE hDLL = LoadLibrary("CShell.dll");
	if (hDLL != NULL) {
		printf("Library has been loaded! \n");
	}
	else {
		err = GetLastError();
		printf("Could not load dll\n");
	}
	system("pause");
	return 0;
}
Right Click on your Project file -> Char Set Multi byte Setting(see Screenshot) :

Posts 1–2 of 2 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us