Get the BIOS Date Via Direct Memory Access (Win 95/98)
Category:
System/APIType:
SnippetsDifficulty:
AdvancedAuthor:
Arkadiy OlovyannikovVersion Compatibility: Visual Basic 5
More information:
VB runtime libraries (msvbvm50(60).dll) allow direct access to a memory address. Using them, you can read data directly from memory. Unfortunately, you can not access some memory addresses (BIOS addresses for example) under NT/2000.
As noted above, this code is for Windows 95/98 only. Using this example on NT/2000 will cause your application to crash.
Instructions: Copy the declarations and code below and paste directly into your VB project.
Declarations: