My Friend tell me to using GetSystemInfo api function to get a couple information :
- Number of procesor
- Low memory address -> MinimumApplicationAddress
- High memory address -> MaximumApplicationAddress
but i didn't know how to use this function.
anyone know how to do this???
please help me to solve my question, any help and suggestion will appreciated much.
Thank you very much.
Private Declare Sub GetSystemInfo Lib "kernel32" (lpSystemInfo As SYSTEM_INFO)
Private Type SYSTEM_INFO
dwOemID As Long
dwPageSize As Long
lpMinimumApplicationAddress As Long
lpMaximumApplicationAddress As Long
dwActiveProcessorMask As Long
dwNumberOrfProcessors As Long
dwProcessorType As Long
dwAllocationGranularity As Long
dwReserved As Long
Private Sub Form_Load()
Dim SInfo As SYSTEM_INFO
'Set the graphical mode to persistent
Me.AutoRedraw = True
'Get the system information
'Print it to the form
MsgBox "Number of procesor:" + Str$(SInfo.dwNumberOrfProcessors) & vbCrLf & _
"Processor:" + Str$(SInfo.dwProcessorType) & vbCrLf & _
"Low memory address:" + Str$(SInfo.lpMinimumApplicationAddress) & vbCrLf & _
"High memory address:" + Str$(SInfo.lpMaximumApplicationAddress)
I Developed application in C# with crystal reports and created setup file in third party (Advance) Installer.When i installed my application on client system application is working but ...