Windows XP, Visual Studio 2008, C++
I am having a problem with this system call.
I found some example code and using that format doesn't work for me. I think I have tried all the possibilities. There must be something I don't understand. How do I get this to work?
We need to know what a dragon is
before we study its anatomy.
(Bryan Kelly, 2010)
I am having a problem with this system call.
Code:
LPSYSTEMTIME m_start;
LPSYSTEMTIME *mp_start;
...
mp_start = &m_start;
...
GetSystemTime( m_start ); // run time exception
GetSystemTime( &m_start ); // compile error , cannot convert from LPSYSTEMTIME * to LPSYSTEMTIME
GetSystemTime( *mp_start ); // run time exception
GetSystemTime( mp_start ); // compile error, cannot convert from LPSYSTEMTIME * to LPSYSTEMTIME
I found some example code and using that format doesn't work for me. I think I have tried all the possibilities. There must be something I don't understand. How do I get this to work?
We need to know what a dragon is
before we study its anatomy.
(Bryan Kelly, 2010)