Author |
Topic |
|
trivita
New Member
3 Posts |
Posted - Mar 02 2005 : 08:51:18 AM
|
i have a variable 'socket' of CSocket, but when i type 'socket', only non-inherited methods of CSocket pop up! for example i can't get 'socket.Connect(...)', coz Connect() is inherited from CAsyncSocket()!
why?
|
|
feline
Whole Tomato Software
United Kingdom
19020 Posts |
Posted - Mar 02 2005 : 7:06:41 PM
|
i don't know. i have just added the code:
#include "afxsock.h"
CSocket socket;
socket.|
to a C++ project in .NET 2003 using VAX 1297 and i am getting a nice long list of member functions, variables and even enum's.
if you can provide more details we will be in a better position to try and guess what is going on.
http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=2703
since you have asked here i will delete the duplicate thread in "Suggestions and Ideas" for ease. this avoids splitting the discussion in two. |
zen is the art of being at one with the two'ness |
|
|
psenevir
New Member
USA
5 Posts |
Posted - Mar 03 2005 : 08:08:53 AM
|
I too have the same problem with the CSocket class. I am using Visual C++ 6.0, not .NET C++. |
|
|
feline
Whole Tomato Software
United Kingdom
19020 Posts |
Posted - Mar 03 2005 : 5:44:21 PM
|
i have just added the same code to a C++ project using VC6 and VAX 1297
again i seem to be getting all of the class members for the CSocket class.
do you have any other plugin's installed? what difference does turning off VAX make? can you reproduce this in a new sample project, or is the effect project specific? |
zen is the art of being at one with the two'ness |
|
|
trivita
New Member
3 Posts |
Posted - Mar 03 2005 : 11:30:21 PM
|
VA_X.dll file version 10.1.1297.0 VAOpsWin.dll version 1.2.0.4 MSDev.exe version 6.0.9782.2 Devshl.dll version 6.0.9782.0 Devedit.pkg version 6.0.9782.0 Font: Sim Sun 15(Pixels) Comctl32.dll version 6.0.2900.2180 WindowsNT 5.1 Build 2600 Service Pack 2 Single processor
Platform: Win32 (x86) Stable Includes: D:\\VC6\\VC98\\INCLUDE; D:\\VC6\\VC98\\MFC\\INCLUDE; D:\\VC6\\VC98\\ATL\\INCLUDE; d:\\Program Files\\Intel\\CPP\\Compiler80\\Ia32\\Include; D:\\VC6\\VC98\\INCLUDE\\SGI;
Library Includes: D:\\VC6\\VC98\\MFC\\SRC; D:\\VC6\\VC98\\CRT\\SRC; D:\\VC6\\VC98\\ATL\\SRC;
Other Includes:
|
|
|
psenevir
New Member
USA
5 Posts |
Posted - Mar 04 2005 : 1:49:01 PM
|
I can reproduce the problem in a new project. So its not a project specific problem. When I disable VAX, I loose all intellisene except for Ctrl+Space. That too is very limited (only local variables and project functions). I don't hanve any other plug-ins installed.
My VC++ has Visual Studio Service Pack 6.
Following is a screen shot of some of the class members that I see (this section should include the Connect member function)
|
Edited by - psenevir on Mar 04 2005 3:47:08 PM |
|
|
Stephen
Tomato Guru
United Kingdom
781 Posts |
Posted - Mar 04 2005 : 2:08:14 PM
|
Amazingly, we can't see images on your hard drive. |
Stephen Turner ClickTracks http://www.clicktracks.com/ Winner: ClickZ's Best Web Analytics Tool 2003 & 2004
|
|
|
psenevir
New Member
USA
5 Posts |
Posted - Mar 04 2005 : 3:48:34 PM
|
Oops!
Its fixed now. |
|
|
feline
Whole Tomato Software
United Kingdom
19020 Posts |
Posted - Mar 06 2005 : 6:57:43 PM
|
psenevir is the bottom item in this listbox "SendToHelper" and if so is it also shown in bold?
if you ask VAX nicely it will place all of the non-inherited members first in completion listboxes, and it can also show then in bold. on my .NET 2003 system i am getting the same list, also in bold, but i have a much smaller scroll bar. it is as if VAX cannot find the base class for CSocket.
can you try turning off the VAX options: text editor -> listboxes -> bold non-inherited members text editor -> listboxes -> list non-inherited entries first
and see if this makes any difference? rebuilding the symbol databases (VAX options -> performance -> general) might also be a good idea. hopefully this will fix this for you, or at least provide some more clues. |
zen is the art of being at one with the two'ness |
|
|
psenevir
New Member
USA
5 Posts |
Posted - Mar 08 2005 : 12:05:29 PM
|
The bottom item is ~CSocket, but the one above that is SendToHelper and it is in bold. Turning off the VAX options mentioned does not display the connect method. Rebuilding the symbols database didn't make any difference either. |
|
|
feline
Whole Tomato Software
United Kingdom
19020 Posts |
Posted - Mar 08 2005 : 3:56:04 PM
|
most odd.
case=525 |
zen is the art of being at one with the two'ness |
|
|
|
Topic |
|