1

Code:

#include "includes.h"
#include "no_renderer/FW1FontWrapper/FW1FontWrapper.h"
#include "no_renderer/no_menu/no_menu.h"
#include "no_renderer/no_gui/no_gui.h"
#include "no_define.h"
#include "fstream"
#include "no_cheat/no_spoofcall.h"
#include "no_cheat/framework.h"
#include "no_cheat/Esp.h"
#include "no_cheat/Aimbot.h"
#include "no_cheat/Exploits.h"
#include "no_cheat/PawnsLoop.h"
#pragma comment(lib, "windowscodecs.lib")


//typedef HRESULT(*present_fn)(IDXGISwapChain*, UINT, UINT);
//inline present_fn original_present{ };

//typedef HRESULT(*resize_fn)(IDXGISwapChain*, UINT, UINT, UINT, DXGI_FORMAT, UINT);
//inline resize_fn original_resize{ };




The full code is here: https://github.com/SantaaVibez/FortniteRageCheatSource/blob/main/1337/dllmain.cpp

How do I fix this?

I tried adding windowscodecs.lib to the code, and it didn't change anything, any fixes?

  • 3
    The error says you dont have a main method. Which seems to be true from what code you posted. – ChrisMM Jan 27 '22 at 10:51
  • I have a DllMain though – TsunamiWind Jan 27 '22 at 10:54
  • It's so pose to be a dll and not an executable too... – TsunamiWind Jan 27 '22 at 10:54
  • 2
    Then you need to change your compiler options so that it's compiling to a shared library, not an executable. In visual studio, go to the projects properties to change this setting. – ChrisMM Jan 27 '22 at 10:55
  • 2
    You used to the wrong project template to get started. It is trying to build a .exe file, not a .dll, a .exe requires a main() entrypoint. Project > Properties > General > "Configuration Type" should be Dynamic Library – Hans Passant Jan 27 '22 at 11:06
  • Try suggestion provided here: https://stackoverflow.com/questions/33400777/error-lnk2019-unresolved-external-symbol-main-referenced-in-function-int-cde – Harsh patel Mar 06 '22 at 11:15

0 Answers0