![]() |
|
|
#1 |
|
Oct 2008
Germany, Hamburg
5·13 Posts |
I noticed that the actual Version from the FTP server (Zip-date 5.12.08) isn't running under Windows 98 (SE). A message-Box appears saying that it need's Kernel32.dll:GlobalMemoryStatus.ex.
25.7 just did fine.... |
|
|
|
|
|
#2 |
|
P90 years forever!
Aug 2002
Yeehaw, FL
165618 Posts |
I'll try dynamically linking to that procedure
|
|
|
|
|
|
#3 |
|
Bemusing Prompter
"Danny"
Dec 2002
California
5×479 Posts |
Whoa, version 25.8 is out already?
|
|
|
|
|
|
#4 |
|
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
17×251 Posts |
|
|
|
|
|
|
#5 |
|
Mar 2005
Malton, England
308 Posts |
|
|
|
|
|
|
#6 |
|
Oct 2008
Germany, Hamburg
5×13 Posts |
|
|
|
|
|
|
#7 |
|
P90 years forever!
Aug 2002
Yeehaw, FL
7,537 Posts |
|
|
|
|
|
|
#8 |
|
Oct 2008
Germany, Hamburg
5×13 Posts |
great to hear, so i don't have to throw the old engine out of the race
Last fiddled with by Phantomas on 2008-12-08 at 20:56 |
|
|
|
|
|
#9 |
|
Mar 2005
Malton, England
308 Posts |
A different but related result here? The attached is what I get if I try to run V25.7 under Win95B, (and no I am not that sad, I booted the Win95 machine to get out a CD-ROM I had left in the CD drive about 12 months ago. So I thought what the heck give it a whirl!)
|
|
|
|
|
|
#10 |
|
P90 years forever!
Aug 2002
Yeehaw, FL
753710 Posts |
Version 25 may well not run on Win95. I've no plans to fix any Win95 bugs.
|
|
|
|
|
|
#11 |
|
Oct 2008
Germany, Hamburg
5×13 Posts |
Hmmpf, Version 25.8b3 shows the same error message "Prime95.exe is linked to missing export-kernel32.dll:GlobalMemoryStatusEx".
As I googled Win98/95 only did support "GlobalMemoryStatus" that returns a structure Code:
typedef struct _MEMORYSTATUS {
DWORD dwLength;
DWORD dwMemoryLoad;
DWORD dwTotalPhys;
DWORD dwAvailPhys;
DWORD dwTotalPageFile;
DWORD dwAvailPageFile;
DWORD dwTotalVirtual;
DWORD dwAvailVirtual;
} MEMORYSTATUS, *LPMEMORYSTATUS;
dwLengthSpecifies the size, in bytes, of the MEMORYSTATUS structure. Set this member to sizeof(MEMORYSTATUS) when passing it to the GlobalMemoryStatus function.
dwMemoryLoadSpecifies a number between zero and 100 that gives a general idea of current memory use, in which zero indicates no memory use and 100 indicates full memory use.
dwTotalPhysIndicates the total number of bytes of physical memory.
dwAvailPhysIndicates the number of bytes of physical memory available.
dwTotalPageFileIndicates the total number of bytes that can be stored in the paging file. This number does not represent the physical size of the paging file on disk.
dwAvailPageFileIndicates the number of bytes available in the paging file.
dwTotalVirtualIndicates the total number of bytes that can be described in the user mode portion of the virtual address space of the calling process.
dwAvailVirtualIndicates the number of bytes of unreserved and uncommitted memory in the user mode portion of the virtual address space of the calling process.
Code:
typedef struct _MEMORYSTATUSEX {
DWORD dwLength;
DWORD dwMemoryLoad;
DWORDLONG ullTotalPhys;
DWORDLONG ullAvailPhys;
DWORDLONG ullTotalPageFile;
DWORDLONG ullAvailPageFile;
DWORDLONG ullTotalVirtual;
DWORDLONG ullAvailVirtual;
DWORDLONG ullAvailExtendedVirtual;
} MEMORYSTATUSEX,
*LPMEMORYSTATUSEX;
Members
dwLengthThe size of the structure, in bytes. You must set this member before calling GlobalMemoryStatusEx.
dwMemoryLoadA number between 0 and 100 that specifies the approximate percentage of physical memory that is in use (0 indicates no memory use and 100 indicates full memory use).
ullTotalPhysThe amount of actual physical memory, in bytes.
ullAvailPhysThe amount of physical memory currently available, in bytes. This is the amount of physical memory that can be immediately reused without having to write its contents to disk first. It is the sum of the size of the standby, free, and zero lists.
ullTotalPageFileThe current committed memory limit for the system or the current process, whichever is smaller, in bytes. To get the system-wide committed memory limit, call GetPerformanceInfo.
ullAvailPageFileThe maximum amount of memory the current process can commit, in bytes. This value is equal to or smaller than the system-wide available commit value. To calculate the system-wide available commit value, call GetPerformanceInfo and subtract the value of CommitTotal from the value of CommitLimit.
ullTotalVirtualThe size of the user-mode portion of the virtual address space of the calling process, in bytes. This value depends on the type of process, the type of processor, and the configuration of the operating system. For example, this value is approximately 2 GB for most 32-bit processes on an x86 processor and approximately 3 GB for 32-bit processes that are large address aware running on a system with 4-gigabyte tuning enabled.
ullAvailVirtualThe amount of unreserved and uncommitted memory currently in the user-mode portion of the virtual address space of the calling process, in bytes.
ullAvailExtendedVirtualReserved. This value is always 0.
Would id be possible to use the older form on w98/w95 systems? Yes I know, it will lead to ugly code..... Last fiddled with by Phantomas on 2008-12-13 at 15:21 |
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| LLR Version 3.8.5 is available! | Jean Penné | Software | 11 | 2011-02-20 18:22 |
| LLR Version 3.8.0 is now available! | Jean Penné | Software | 22 | 2010-04-28 07:45 |
| Which version for P-III's? | richs | Software | 41 | 2009-01-07 14:40 |
| LLR - new version | Cruelty | Riesel Prime Search | 8 | 2006-05-16 15:00 |
| Which LLR version to use... | Cruelty | Riesel Prime Search | 1 | 2005-11-10 15:17 |