🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.web
3 messages
3 total messages Started by ascll Tue, 24 Aug 2004 07:44
Highest Priority
#1666
Author: ascll
Date: Tue, 24 Aug 2004 07:44
11 lines
1066 bytes
Greetings,



How to I set my application to having highest priority to access to Internet
among others also have to access Internet, especially on a very slow
connection (56kbps dial-up)?



Thanks in advance.
Re: Highest Priority
#1670
Author: Mark Jacobs
Date: Tue, 24 Aug 2004 15:38
18 lines
1381 bytes
On Tue, 24 Aug 2004 15:44:52 +0800, ascll <ascllREMOVE@yahoo.com> wrote:

> How to I set my application to having highest priority to access to  
> Internet among others also have to access Internet

In the main form's constructor, put this :-

SetPriorityClass(GetCurrentProcess(),HIGH_PRIORITY_CLASS);

HTH
-- 
Mark Jacobs
DK Computing
http://www.dkcomputing.co.uk
markj atty critical dotty co dotty uk
Re: Highest Priority
#1671
Author: Remy Lebeau (TeamB)
Date: Tue, 24 Aug 2004 19:00
13 lines
1308 bytes
"Mark Jacobs" <markjattycriticaldottycodottyuk> wrote in message
news:opsc8tpsa5bvaws7@dk-tzx09ucg42z4.s1.sol1.co.uk...
On Tue, 24 Aug 2004 15:44:52 +0800, ascll <ascllREMOVE@yahoo.com> wrote:

> In the main form's constructor, put this :-
>
> SetPriorityClass(GetCurrentProcess(),HIGH_PRIORITY_CLASS);

That is thread execution priority, not internet access priority.


Gambit
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads