danielkrupinski / VAC-Bypass-Loader

Loader for VAC Bypass written in C.
MIT License
475 stars 121 forks source link

[FIXED] Crashes on Windows® 7 :( #92

Open ClaudiuHKS opened 3 years ago

ClaudiuHKS commented 3 years ago

Can someone help me fix it?

Windows® 7 Ultimate x64 Direct Link (.iso) https://download.microsoft.com/download/5/1/9/5195A765-3A41-4A72-87D8-200D897CBE21/7601.24214.180801-1700.win7sp1_ldr_escrow_CLIENT_ULTIMATE_x64FRE_en-us.iso (use UEFI setting)

image image

ClaudiuHKS commented 3 years ago

https://github.com/danielkrupinski/VAC-Bypass-Loader/blob/master/VAC-Bypass-Loader/main.c#L173

Looks like it returns 0 on Windows® 7.

ERROR_INVALID_ADDRESS 487 0x1E7 [ Attempt To Access Invalid Address ]

ClaudiuHKS commented 3 years ago

Fixed. A .dll file is not allowed to call MessageBox [A | W] into its DllMain entry point, on Windows® 7. It will just fail.