Solved compiler error

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

jello

Newbie
Silenced
Nov 20, 2014
8
154
0
i have this warning Warning 19 warning C4353: nonstandard extension used: constant 0 as function expression. Use '__noop' function intrinsic instead c:\users\toshiba\documents\visual studio 2013\projects\ac_hack_dll\ac_hack_dll\DllInterface1.h 319 1 AC_hack_Dll
and i dot know how i can fix it
C++:
                     //-----------------HEALTH----------------
                     if (GetAsyncKeyState(VK_F2))
                     {
                         OnePressTMR = clock();
                         HealthStatus = !HealthStatus;

                         AddressToWrite   FindDmaAddy(1, HealthOffsets, HealthBaseAddress);

                         if (!HealthStatus)
                         {
                             HealthStatusLBL->Text = "OFF";
                             if (AddressToWrite ! NULL)
                             {
                                here the problem >>  WriteToMemory(AddressToWrite, DefaultHealthValue, 2);
                             }

                         }
                         else HealthStatusLBL->Text = "ON";


                     }
                     if (GetAsyncKeyState(VK_F3))
                     {
                         OnePressTMR = clock();
                         RfireStatus = !RfireStatus;

                         if (RfireStatus)
                         {
                             RapidFireStatusLBL->Text = "ON";
                             WriteToMemory(RfireAddress, RfireOpCode, 2);
                         }
                         else
                         {
                             RapidFireStatusLBL->Text = "OFF";
                             WriteToMemory(RfireAddress, RfireDefaultOpCode, 2);

                         }

                     }
and this the function
C++:
			 void WriteToMemory(DWORD addressToWrite, char* valueToWrite, int byteNum)
			 {
				 unsigned long oldProtection;
				 VirtualProtect((LPVOID)addressToWrite, byteNum, PAGE_EXECUTE_READWRITE, &oldProtection);

				 memcpy((LPVOID)addressToWrite, valueToWrite, byteNum);

				 VirtualProtect((LPVOID)addressToWrite, byteNum, oldProtection, NULL);



			 }
 

Syperus

RTFM
Meme Tier VIP
Dank Tier Donator
Oct 29, 2012
432
2,638
7
I'm all for fixing warnings, but is your hack not working because of it? But looks like Brothen provded you with a link to your problem so i would read that and apply. :)
 

jello

Newbie
Silenced
Nov 20, 2014
8
154
0
yes now i know i need to change from 0 to __noop be cuz im using UM-VB 2013 and fleep using UN-VB 2010 :D thank you guys with out u im not thing
 
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods