Restored from previous forum. Originally posted by crono.
Hello folks !
How to translate the following VisualBasic Line in PureBasic?
Private Type LARGE_INTEGER
dwLow As Long
dwHigh As Long
End Type
Private Type SYSTEM_PERFORMANCE_INFORMATION
liIdleTime As LARGE_INTEGER
dwSpare(0 To 75) As Long
End Type
kind regards,
Alexander Schoenfeld
Email: [url]mailto:alexander.schoenfeld@chronologic.de[/url]
VB to PB
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Rings.
plz note, you don't need to declare Large_Integer, it is already declared
but you can do it like so:
Its a long way to the top if you wanna .....CodeGuru
plz note, you don't need to declare Large_Integer, it is already declared
but you can do it like so:
Code: Select all
Structure MyLARGE_INTEGER
dwLow.l
dwHigh.l
EndStructure
Structure SYSTEM_PERFORMANCE_INFORMATION
liIdleTime.MyLARGE_INTEGER
dwSpare.l[76]
EndStructure