bugs icon indicating copy to clipboard operation
bugs copied to clipboard

Provided code will not compile

Open heduhecixa opened this issue 6 years ago • 0 comments

Hi. With regards to the Dell support assist LPE bug, The provided code will not compile. I have added from your other repos the files stdafx.cpp, stdafx.h and targetver.h. When compiling with cl.exe, I get the following error : C:\Users\user\Desktop\dell-support-assist\dell-sa-lpe.cpp(150) : error C2561: 'ReadBlockMem' : function must return a value C:\Users\user\Desktop\dell-support-assist\dell-sa-lpe.cpp(126) : see declaration of 'ReadBlockMem' C:\Users\user\Desktop\dell-support-assist\dell-sa-lpe.cpp(191) : error C2664: 'int memcmp(const void *,const void *,size_t)' : cannot convert argument 1 from 'SIZE_T' to 'const void *' Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast C:\Users\user\Desktop\dell-support-assist\dell-sa-lpe.cpp(224) : error C3861: 'NtQuerySystemInformation': identifier not found C:\Users\user\Desktop\dell-support-assist\dell-sa-lpe.cpp(224) : fatal error C1903: unable to recover from previous error(s); stopping compilation

heduhecixa avatar May 12 '19 00:05 heduhecixa