Convert LARGE_INTEGER data to string using sprintf

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
I have tried following code.
<font size=2>
<font size=2>CHAR szTemp[MAX_PATH] = {0};</font>
LARGE_INTEGER i ={100};
<font size=2>sprintf(szTemp,</font><font color="#a31515" size=2>"%ld"</font><font size=2>,i);

It works for Visual Studio 2005.But it gives Static analysis error for VS2008 that non integer parameter 3 passed as integer.
 
</font>Can anyone help to resolve this issue?
Thanks in advance
</font>

View the full article
 
Back
Top