Click here to Skip to main content
15,868,016 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi i want to know which type i have to use for uint64 in variant..like for int i m using variant1.intval...i try to use variant2.uintval fit uint43 but i didnt get output which i want.
Posted

Your question isn't clear, but I spotted the tag VC++, so I assumed you meant Microsofts Variant structure. Anyway, just using the little information you gave, Google gives you plenty of answers:
https://www.google.ch/search?q=VC%2B%2B+Variant&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:de:official&client=firefox-a&channel=sb&gfe_rd=cr&ei=QQM9U56bCeOg8wea0oEQ[^]

The very first link should provide the info you're looking for: http://msdn.microsoft.com/en-us/library/windows/desktop/ms221627%28v=vs.85%29.aspx[^]

If it doesn't, be more specific about what you need.

P.S.: look at the individual type descriptions:
Quote:
ullVal

Type: ULONGLONG

An unsigned 8-byte integer value.
 
Share this answer
 
v2
Use the VARIANT member ullval for unsigned __int64 and the member llval for signed __int64.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900