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
|
|||
|
|||
check resources
I use the following code in a dB2K 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 |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
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 |
Major Problem | Matty | General | 3 | July 4th 04 05:02 PM |
Ping No resources error | Bulok | Internet | 0 | June 20th 04 09:42 PM |
Low Resources | Bekah | Improving Performance | 2 | May 23rd 04 07:26 AM |