overide the WM_LBUTTONDOWN message. Inside that call CTabCtrl::HitTest() to find the item. If the item is the one that u dont want to act as disabled, simply return the function with out calling the CTabCtrl::OnLButtonDown(..)
The limit on the user-mode virtual address space for a process is well-defined for each OS. In Win32 it's normally 2GB, but on some versions of NT you can change it to some other value at boot time with boot.ini switches. The most common value to change to is 3GB. 64-bit Windows has different limits for each CPU type.
> What are the sizes of the packets?
> Do they change?
Initially the packet sizes are about 8-10 bytes. Later packet sizes increase to 600-800 bytes. When the packet size is small and packets per second are low, the error is generated after a longer time. When packet size increases the error is generated in a very short time.