Just starting to learn all the graphics api stuff to render my own GUIs. I was doing a lot of that stuff back with winforms and C# but moved away from that and got comfier with c++. Chernos video a week or so ago got me thinking about going back to external GUIS (c++ and being internal is such a treat) just as a launcher of sorts cause thats how I handle most my stuff. Console frameworks can be fun but in 2022 its not really something people want to look at lol Thanks for this spot on tutorial, definitely earned the subscription man. I truly appreciate how you went on to explain everything in detail. Explaining what each function does and how everything works together. Its exactly what i needed broken down. Really appreciate this THANK you. PS. Watching this not even 4 months later and going from 61 subscribers to almost 2kl is insane. Props
In Solution Properties, set your Platform (at the top) to Active(Win32) or All platforms in order for the C++ 20 standard to work. Else you will run into issues with the inline statements and the characters later on.
this is by far the bes texplanation of imgui, and even how to create a custom overlay (i always skidded keyauth overlay shit lmao). damn bro keep it up man +rep
Thanks so much for this. I've been curious about imgui since I saw Cherno blow through it a couple of weeks ago. Would changing the back-end to DX12 make any difference programmatically, other than the obvious requirement to change the back-end files?
Very helpful tutorial! How would I make the ImGui window always stay ontop? If I click on my game the game window is infront of the ImGui window, thanks in advance! (or how would I inject it so its part of the game - if you already have a video about that)
hey, i am getting a error is 'a value of type "long (__stdcall *)(HWND window, UINT message, WPARAM wideParameter, LPARAM longParameter)" cannot be assigned to an entity of type "WNDPROC" ...' void gui::CreateHWindow( const char* windowName, const char* className) noexcept { windowClass.cbSize = sizeof(WNDCLASSEXA); windowClass.style = CS_CLASSDC; windowClass.lpfnWndProc = windowProcess;// ERROR // this are different parts of the code long __stdcall windowProcess( HWND window, UINT message, WPARAM wideParameter, LPARAM longParameter)
just use classes, functions and stuff, also use a dynamic-link library project (c++) and put your project there if you want to inject it. (well thats what i think?)
RECENTLY found your channel and i can say that this easy to understand but i ran into a problem with the exe, it just appears that it closes itself Do you have a solution for this?
Well... for c++, learncpp.com, the cherno & thenewboston's videos. For hacking, guidedhacking.com, unknowncheats.me & possibly these videos! Goodluck :)
Does this work on Windows 11? I build everything and it only outputs the .exe and the .pdb. When I click the .exe nothing happens. How can I fix this? It puts all the other files in another folder called "release" inside my cheat folder. Did i configure anything wrong? @cazz
ImGui is rendered with primitives each frame over a DirectX window, like a game. It is more customizable and in my opinion, better for creating cheats as you will probably be using DX anyway. But with that being said, drag & drop winforms with C++ isn't bad either. Ultimately, they are two completely different paradigms, do whatever suits you best.
How does it work if no graphics acceleration is available on the computer, like before installing GPU driver after Windows is installed. Does it even work? Traditional Win32 applications would work in that situation.
As far as I know, nothing should change. Your CPU will just be doing the graphical processing instead of the GPU that you obviously do not have installed. If not, there will 100% be a way to get around it, interesting question though :)
@cazz Respect on this video. Can I ask let’s say if I made an easy CSGO bunny hop console hack. How can I transfer the code and make a imgui menu for it?
Hey cazz I'm still new to imgui and coding but i have a question i got a imgui example menu that was made by someone but how would i use the menu in-game Ex: CSGO, i wanna be able to add code and features to the menu but can only get it to show in the Imgui example window
yo bro i typed it all out no errors appearing but when i build and run it it doesnt show anything other then an application on the tray that closes after a few seconds any idea how to fix it?
when i build the solutions the visual studios give me a warning on line 5 (main.cpp) fot wWinMain it says: inconsistente annotation for 'wWinMain': This instance has no annotations, help plzz
Hey...just found this video & joined your discord channel, but can't find the code you mentioned in the video. Can you direct me to it? Thanks & great work.
I am getting this error: "error LNK2001: unresolved external symbol "long __cdecl ImGui_ImplWIn32_WndProcHandler(struct HWND__ *,unsigned int,unsigned int,long)" (?ImGui_ImplWIn32_WndProcHandler@@YAJPAUHWND__@@IIJ@Z)" I went through the whole video and wrote the code from scratch following along, and the only thing I did different was not set C++ Language Standard to ISO C++ 20. Could this be the issue?
I use x86 in my videos for the sake of simplicity. When you switch platform (aka x86 or x64) the size of types change, for example, on x86 a pointer is 4 bytes where as on x64 a pointer is 8 bytes. An experienced programmer could code this in x64 and still make use of RPM/WPM if they are conscious of the differing sizes of types. As for "injecting", when you make a .dll file it HAS TO BE the same architecture as the game you are trying to cheat it. Hope that clears it up, cazz ~
@@cazz Ah ok thanks a lot for the detailed answer. I am currently trying to add a ImGui menu to my internal cheat, I guess I will just try to do it in x64 then.
I Like ImGui for overlays and internal cheats. The access to the ImGui DrawList is very useful. Otherwise, as far as I know, QT is a good library for making other actual applications.
Learn the difference between immediate UI and non-immediate. Depends on the program. If it’s a normal GUI, you want non-immediate. If it’s to be ran in a loop, you want immediate
@@ChaseHoops11 only working and safe cheats you can find for those are paid and i have no idea how to bypass eac (easy anti cheat) but you can use an ai aimbot that uses an ai model to detect what looks like an enemy on your screen then moves your mouse to where it thinks theres an enemy but i got banned while using it on my alt and i spent like 2 days trying to fix the hwid ban. If you want i could try to make a cheat for a unity game that doesnt use eac
It was a mistake on my part. I've updated the github. To fix it, in your WindowProcess function, make it return DefWindowProc instead of "DefWindowProcW" aka remove the "W" - sorry about that :)