How to import a Unsigned Long (ULONG64) into x64 ASM File in Visual Studio 2019

Vikki Mehra 31 Reputation points

OK so I'm using Visual Studio Community 2019 with MASM enabled and I'm trying to declare a variable that is defined outside of the .ASM file but in the same project. How can I do this ?

I've tried the following:


but Visual Studio gives me the following compile error:

Error A2006 undefined symbol : ULONG64 TestDrv C:\Users\XFL\Documents\Visual Studio 2019\Projects\XFL\TestDrv\TestDrv\SwapSrc.asm

Windows Hardware Performance
Windows Hardware Performance
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,567 questions
0 comments No comments
{count} votes