🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
8 messages
8 total messages Started by L B A Wed, 07 Jul 1999 00:00
Xnews: Any max on number of groups?
#49750
Author: L B A
Date: Wed, 07 Jul 1999 00:00
21 lines
1394 bytes
Just wondering...and BTW, I love Xnews, Luu...

Is there any limit to the number of newsgroups that Xnews 2.07.01 can 
access?

Reason: when I went to get new groups, I got an error stating: "access 
violation at address 0047D76E in module XNEWS.EXE at address FFFFFFFF (8 
'F's) ... and it so happened that I was around the magic number 32768 
groups, or 2^15. When I manually deleted the last 12 lines or so of newsrc, 
bringing the number of lines down to 32764, and then went to GET ENTIRE 
NEWSGROUP LIST, the problem seems to have disappeared. Also, the number of 
newsgroups has fallen to 32627.

TIA

-- 
-----
Remove "no-" in "no-lba" and "no-hoflink" for return mail
-----

Re: Xnews: Any max on number of groups?
#49773
Author: Dufus
Date: Thu, 08 Jul 1999 00:00
41 lines
2068 bytes
L,

I had a similar problem my program under '95 or '98. There's an upper limit
of 32K items in a list control under those lame OS's (NT doesn't seem to
have this limit). You have to switch to using the callback method of feeding
the list control (assuming you aren't already Luu). For some reason many
European servers have more groups then those in the US. I had users with
45,000 groups in Europe while Supernews and Onlynews have about 31-32
thousand.

Hope this is helpful.

Conrad




L B A wrote in message <8DFC865CBlbahoflinkcom@news.hoflink.com>...
>Just wondering...and BTW, I love Xnews, Luu...
>
>Is there any limit to the number of newsgroups that Xnews 2.07.01 can
>access?
>
>Reason: when I went to get new groups, I got an error stating: "access
>violation at address 0047D76E in module XNEWS.EXE at address FFFFFFFF (8
>'F's) ... and it so happened that I was around the magic number 32768
>groups, or 2^15. When I manually deleted the last 12 lines or so of newsrc,
>bringing the number of lines down to 32764, and then went to GET ENTIRE
>NEWSGROUP LIST, the problem seems to have disappeared. Also, the number of
>newsgroups has fallen to 32627.
>
>TIA
>
>--
>-----
>Remove "no-" in "no-lba" and "no-hoflink" for return mail
>-----



Re: Xnews: Any max on number of groups?
#49776
Author: Dufus
Date: Thu, 08 Jul 1999 00:00
25 lines
1698 bytes
Luu,

Are you doing the virtual list control through callbacks or are you simply
adding and deleting items in real time as scrolling takes place? Just
curious. It seems like the adding and deleting while scrolling might be the
most efficient way if a little slower, since you never have more then N
items in the list N depending on the height of the control. I was too lazy
to do this and used the standard callback mechanism supplied by the list
control.

Conrad

>I'm not using a list control; I'm using a virtual listview, which can have
>up to 4Gb items (well, actually 2Gb in Xnews' case).
>
>I have a server with 66000+ groups. No problems.  Try d/l-ing the new
>comctl32.dll from my web site.
>
>--
>  luu
>author of Xnews -- http://xnews.3dnews.net



Re: Xnews: Any max on number of groups?
#49780
Author: Luu Tran
Date: Thu, 08 Jul 1999 00:00
17 lines
1186 bytes
Dufus@homo.com (Dufus) wrote in <7m2af1$q0t$1@usenet49.supernews.com>:

>I had a similar problem my program under '95 or '98. There's an upper
>limit of 32K items in a list control under those lame OS's (NT doesn't
>seem to have this limit).

I'm not using a list control; I'm using a virtual listview, which can have 
up to 4Gb items (well, actually 2Gb in Xnews' case).

I have a server with 66000+ groups. No problems.  Try d/l-ing the new 
comctl32.dll from my web site.

-- 
  luu
author of Xnews -- http://xnews.3dnews.net

O/T: listview was Re: Xnews: Any max on number of groups?
#49777
Author: Luu Tran
Date: Fri, 09 Jul 1999 00:00
27 lines
1774 bytes
Dufus@homo.com (Dufus) wrote in <931445871.384.52@news.remarQ.com>:

>Luu,
>
>Are you doing the virtual list control through callbacks or are you
>simply adding and deleting items in real time as scrolling takes place?
>Just curious. It seems like the adding and deleting while scrolling
>might be the most efficient way if a little slower, since you never have
>more then N items in the list N depending on the height of the control.
>I was too lazy to do this and used the standard callback mechanism
>supplied by the list control.
>
>Conrad
>

In virtual mode, you don't add or subtract items. You just set # of items 
and handle the callback for item data.  Windows is (or should be) smart 
enough to ask for only visible items.  Optionally, you can handle the 
"hint" callback, whereby Windows tells you which items it's likely to 
request next so you can pre-fetch the data to memory, assuming your data 
reside in slow memory such as a database.

-- 
  luu
author of Xnews -- http://xnews.3dnews.net

Re: listview was Re: Xnews: Any max on number of groups?
#49794
Author: Dufus
Date: Fri, 09 Jul 1999 00:00
22 lines
1575 bytes
Luu,

Sounds like we're really using the same mechanism. You called is off topic.
Is there an NNTP Programming group?

Conrad

>
>In virtual mode, you don't add or subtract items. You just set # of items
>and handle the callback for item data.  Windows is (or should be) smart
>enough to ask for only visible items.  Optionally, you can handle the
>"hint" callback, whereby Windows tells you which items it's likely to
>request next so you can pre-fetch the data to memory, assuming your data
>reside in slow memory such as a database.
>
>--
>  luu
>author of Xnews -- http://xnews.3dnews.net



Re: listview was Re: Xnews: Any max on number of groups?
#49803
Author: Luu Tran
Date: Sat, 10 Jul 1999 00:00
14 lines
1175 bytes
Dufus@homo.com (Dufus) wrote in <7m56kt$58a$1@usenet49.supernews.com>:

>Sounds like we're really using the same mechanism. You called is off
>topic. Is there an NNTP Programming group?
>

Are you writing a newsreader?  I think all questions regarding nntp clients 
are okay here.

-- 
  luu
author of Xnews -- http://xnews.3dnews.net

Re: listview was Re: Xnews: Any max on number of groups?
#49808
Author: Dufus Systems
Date: Sat, 10 Jul 1999 00:00
32 lines
2072 bytes
Luu,

I've been selling a binary downloader for 2-3 years now. It's the fastest
one out there at the moment (I've clocked it at 24 Mbits/sec to a local
server). I don't think I'm the smallest any more but I'm damn close, tipping
the scales at about 330K. I do on the fly JPG decoding as well. No
threading, no text posting, just pure and simple binaries.  I'm only
interested in binaries. You can read news with the current beta, I just
don't have a mechanism for posting replies.

Conrad


Luu Tran <luu@xnews.3dnews.net.invalid> wrote in message
news:8DFF55B8Fluutrangeocities@news.mindspring.com...
> Dufus@homo.com (Dufus) wrote in <7m56kt$58a$1@usenet49.supernews.com>:
>
> >Sounds like we're really using the same mechanism. You called is off
> >topic. Is there an NNTP Programming group?
> >
>
> Are you writing a newsreader?  I think all questions regarding nntp
clients
> are okay here.
>
> --
>   luu
> author of Xnews -- http://xnews.3dnews.net



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