Closed GoogleCodeExporter closed 9 years ago
can you attach a copy of the generated code? to reproduce the issue.
Thanks.
Original comment by Rodrigo.Ruz.V@gmail.com
on 20 Aug 2012 at 11:03
ok, is attached ^^
Thanks for your great job
Original comment by joeduard...@gmail.com
on 21 Aug 2012 at 12:48
Attachments:
The issue occurs on this line
Writeln(Format('Capacity %d',[Integer(FWbemPropertySet.Item('Capacity',
0).Get_Value)]));// Uint64
because the returned value (which is a Uint64) is cast to a Integer, to fix
just cast to the UInt64 type
Writeln(Format('Capacity %d',[UInt64(FWbemPropertySet.Item('Capacity',
0).Get_Value)]));
Original comment by Rodrigo.Ruz.V@gmail.com
on 21 Aug 2012 at 5:13
Thank you, worked perfectly
Original comment by pr...@novapc.com.br
on 3 Sep 2012 at 12:09
Original issue reported on code.google.com by
pr...@novapc.com.br
on 20 Aug 2012 at 7:11