How to get Version Info in Windows using VS2019 and not getting "Deprecated" error messages?

  • Thread starter Thread starter ananda vardhana
  • Start date Start date
A

ananda vardhana

Guest
Hello,

I know this is a very mundane question and there are 100's of examples. I was cleaning up my old code and recompiled one of my working code using VS2019. During the build I got the deprecated warning. I do not want to ignore it nor suppress it. All the info out in Google talks about how to ignore it or suppress it. So please tell me what the XXXX stand for. There are 10 different things XXXX can stand for and I tried them in all combination and none of them worked :(. All I need is a clean build with no warning nor error. Thanks a lot.

OSVERSIONINFOXXXX osvixxxx;

Zeromemory($osvixxxx, sizeof(OSVERSIONINFOXXXX);

GetVersionXXXX(&$osvixxxx);

Continue reading...
 
Back
Top