You have an old version of VS
It's not that old, actually 
Stay with the paths of your first test and add the includelib (original lib not those of the forum package lib).
You can also try to use LINK instead of polink
Doesn't help. Did anybody else succeed in building something with Yves' SDK?
Hi jj2007,
the SDK from TouEnMasm is my favorite over the years, I've compiled the example with no problem:
Lucky you... it seems that it requires a pretty special setup including that behemoth of M$ C compiler. Too complicated for my taste 
Hi jj2007,
no, this is not necessary, you just need to prepare the environment, as elsewhere, you need to correct the file with your default inclusions - "include sdk32.inc", I excluded this file and added my own set of options, this is my habit.
It was before>
include sdk32.inc
include stdio.sdk
include conio.sdk
;include ntifs.sdk
include accCtrl.sdk
include aclapi.sdk
;SdkDdkVer.sdk
;winnt.sdk
;include H:\sdkrc100\um\dbghelp.sdk NTDDI_WIN10_RS5
;include perso32.inc
;includelib perso32.lib
;includelib libucrt.lib
;includelib libcmt.lib
;includelib libcmt.lib
turned into (Add to the header of the source code (Security.asm))
.686P
.XMM
.model flat,stdcall
option casemap:none
option LITERALS:ON
OPTION FIELDALIGN:16; 1|2|4|8|16|32 - The default value is 1 or the value set by cmdline switch -Zp
include translate32.inc
include windows.inc
include WinUser.inc
include ShlObj.inc
include WinBase.inc
include stdio.inc
include sysinfoapi.inc
include timezoneapi.inc
include stdio.inc
include conio.inc
include accCtrl.inc
include aclapi.inc
includelib crt10_32.lib
includelib ntdll.lib
includelib ntdllp.lib
includelib kernel32.Lib
includelib User32.Lib
includelib ntoskrnl.lib
includelib Advapi32.lib
includelib ucrt.lib
.nolist
.nocref
Next, you need a basic set of lib files, I use from visual studio 2017. After that, define the paths to all this data, I do this through the script (Can be downloaded from the attachment.)
Variables are defined in the Bat script.
REM ************* The following lines can be customized:
set UASM=C:\masm64\bin
set MASM=C:\masm64\bin\HostX64\x64
set INCLUDE=C:\masm64\sdkrc100\um;C:\masm64\sdkrc100\shared;C:\masm64\sdkrc100\VC;
set LIB=C:\masm64\VS2017\Lib\10.0.18362.0\um\x86\;C:\masm64\sdkrc100\crt_lib\IX86\release;C:\masm64\VS2017\Lib\10.0.18362.0\km\x86\;C:\masm64\VC2015CompSDK\lib;C:\masm64\VS2017\Lib\10.0.18362.0\ucrt\x86
REM **************************** End of customized lines
And, of course, you need linkers from Microsoft
I forgot to say that I renamed all *.sdk to *.inc extensions, and then through notepad++ corrected the internal links to *.inc file extension.P.S> Attachments don't work