A Windows 98 & ME forum. Win98banter

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.

Go Back   Home » Win98banter forum » Windows ME » Software & Applications
Site Map Home Authors List Search Today's Posts Mark Forums Read Web Partners

check resources



 
 
Thread Tools Display Modes
  #1  
Old May 13th 04, 04:23 PM
Otto Slembeck
external usenet poster
 
Posts: n/a
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT +1. The time now is 11:53 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Win98banter.
The comments are property of their posters.