SysWhispers icon indicating copy to clipboard operation
SysWhispers copied to clipboard

unable to compile in VS 2019 - 16.9.2

Open philross88 opened this issue 3 years ago • 1 comments

I have tried both SysWhisper and SysWhisper2. VS is throwing the following error messages. I have enabled the MASM in build customization and also the asm file is set to Macro Assembler.

1 . The first error on the line for NtAllocateVirtualMemory. Error (active) | E0167 | argument of type "PULONG" is incompatible with parameter of type "PSIZE_T" | NewMetaPlayerLow | main.cpp | 127 |   status = NtAllocateVirtualMemory(process_handle, &pointer_after_allocated, 0, (PULONG)&allocation_size, MEM_COMMIT | MEM_RESERVE, PAGE_EXECUTE_READWRITE);

  1. The second error is on the ASM file. Error | A2088 | END directive required at end of file | NewMetaPlayerLow | c:\project\folder\syscalls_common.asm | 2872 |  

  2. The third error is Error | MSB3721 | The command "ml64.exe /c /nologo /Zi /Fo"x64\Release\syscalls_common.obj" /W3 /errorReport:prompt  /Tasyscalls_common.asm" exited with code 1. | NewMetaPlayerLow | C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\BuildCustomizations\masm.targets | 70 |  

Any help would be great or if you have a working visual studio project, that I can use to compare against my environment, would be big help too.

philross88 avatar Mar 26 '21 04:03 philross88