I used static member in class and reference to assembly, in sperate files I got error, Is there anyway to solve it?

The assembly will struggle to find the variable you are referring to as its name is mangled by the C++ compiler

It would be easier if you had a global variable - I’m not sure what’s the purpose of the class there or the assembly language

1 Like