If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
resources
I use the following code in a program to check if the computer has
sufficient resources to open an external wordprocessor: #define GFSR_SYSTEMRESOURCES 0 #define GFSR_GDIResOURCES 1 #define GFSR_USERRESOURCES 2 static SystemRes=0, UserRes=0, GDIRes=0 if type('GetFreeSystemResources') # 'FP' extern cint GetFreeSystemResources(cint) rsrc32.dll from '_MyGetFreeSystemResources32@4' endif mSystemRes = GetFreeSystemResources( GFSR_SYSTEMRESOURCES ) mGDIRes = GetFreeSystemResources( GFSR_GDIResOURCES ) mUserRes = GetFreeSystemResources( GFSR_USERRESOURCES ) This works fine when running under Windows ME. Windows 98 does not have the file 'rsrc32.dll'. Is there an equivalent file or a different code that works under ALL Windows operating systems? TIA Otto |
#2
|
|||
|
|||
resources
On Thu, 13 May 2004 17:37:50 -0400, "Otto Slembeck"
wrote: I use the following code in a program to check if the computer has sufficient resources to open an external wordprocessor: #define GFSR_SYSTEMRESOURCES 0 #define GFSR_GDIResOURCES 1 #define GFSR_USERRESOURCES 2 static SystemRes=0, UserRes=0, GDIRes=0 if type('GetFreeSystemResources') # 'FP' extern cint GetFreeSystemResources(cint) rsrc32.dll from '_MyGetFreeSystemResources32@4' endif mSystemRes = GetFreeSystemResources( GFSR_SYSTEMRESOURCES ) mGDIRes = GetFreeSystemResources( GFSR_GDIResOURCES ) mUserRes = GetFreeSystemResources( GFSR_USERRESOURCES ) This works fine when running under Windows ME. Windows 98 does not have the file 'rsrc32.dll'. It should reside in C:\Windows\System if not, extract it from the Cabs, [WIN98_56.CAB] or from the installation CD. -- Sincerely, Andrew H. Carter |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Low in System Resources while trying to open word | TechFreak | General | 1 | July 20th 04 03:56 PM |
System resources leaking away | Larry | General | 18 | July 13th 04 02:25 AM |
Please help! Display settings !! | Mitzi | Monitors & Displays | 12 | July 11th 04 05:19 AM |
Ping No resources error | Bulok | Internet | 0 | June 20th 04 09:42 PM |
shrinking available resources | Larry | General | 17 | June 11th 04 07:44 PM |