Igor: I checked today, and my Macintosh is still not being treated like a PC in regards to VNC. Perhaps we should fix this again, this time from the "icon code" or "NID type" point of view.
-Scott On Tue, 9 Jul 2002, Scott C. Best wrote: > Igor: > Okay, I think you've found the problem then. Macintosh PC's > really should be treated as just a subset of PC's. The *only* > difference should be that, at startup, they are given a different > icon and put into a different Icon group. But *that's all*. So > it sounds like your changes to CEnumAllDevice are correct. It > may have been easier to just have changed the "icon code" instead. > > Really, there are only three types of devices: PC's (ie, > something that can run Kaboodle *or* VNC; Windows, MacOs, Linux, > whatever), Printers, and Appliances (eg, a LinkSys router). This > "type" field should be one of the first-most fields of the NID, > I would think. > > Ideally, the user should be able to *change* the auto- > detected type of a device in the "Icon Property" PropTab. If they > change, say, what we detected as a Printer to a PC, not only should > they be able to change the icon, but the "VNC Tab" should appear > in the PropPanel the next time it's opened. > > -Scott > > > On Tue, 9 Jul 2002, Igor Kotelevsky wrote: > > > Hello Scott. > > You wrote: > > > > > 3. If I startup a VNC server on a PC not running Kaboodle, I > > > > > can go the the PropPanel for that device and connect. No > > > > > problem. But the VNC Service icon is not listing the device > > > > > as a server, and the VNC halo is not being put on the device > > > > > correctly. > > > > > > > > I saw similar bugs. > > > > It was several days earlier. > > > > > > I've some more data. It only happens for me now if the > > > VNC server is running on a Mac. I've got two other machines on > > > my LAN that run VNC: a Mac and a WinNT laptop. The WinNT box > > > is treated correctly by Kaboodle: it gets a VNC halo and it gets > > > listed in the VNC servers in the VNC service icon. The Mac, > > > though, doesn't get either. I can use Kaboodle to VNC into it, > > > but only if I go thru the device's icon. > > > > > > Perhaps some of the code is looking at the "type" field > > > of the NID, and only reacting to PC's, not Mac's? > > ***************************************************** > > I don't know "MAC" part of Kaboodle's specification, > > so all my discourses carry the approximate nature. > > ***************************************************** > > Kaboodle source code has 30 strings which contain "type" field *EF_NID_PC*. > > If your assumption is valid, then I think following. > > Please see the class CEnumAllDevice in the file EF\ModifyRegWinVNC.cpp. > > In the header file you can found following: > > // This class enumerates all local object CNIDDevice which is PC. > > // Own PC non include in this list. > > That class enumerated PC device only. > > The MAC objects were absent in Kaboodle when I wrote that class. > > It seems to me that now the class CEnumAllDevice has to enumerate MAC > > device also. > > I added that enumerating into the class CEnumAllDevice. > > But I must to underline next. > > Current Kaboodle source code uses the class CEnumAllDevice in following > > cases: > > 1) - for VNC autodetection; > > 2) - for filling list of VNC service icon; > > 3) - for filling list of "Modify list" dialog > > (please see "VNC setup" prop tab on server side); > > 4) - for filling list of File Transfer service icon; > > 5) - for filling list of "Accept files only from machines in..." dialog > > (please see "Receive file" prop tab in File Transfer service icon). > > Now all of #1-#5 will include not only PC devices, but also MAC devices. > > Please let me know if it is not correct. > > ***************************************************** > > Sorry, I didn't have a MAC PC in my LAN, so I cannot check above. > > ***************************************************** > > Some other developers (I and Oleg) saw that bug on non MAC PC. > > So I think that source code have also other NID updating bug. > > ***************************************************** > > -Igor > > > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Stuff, things, and much much more. > http://thinkgeek.com/sf > _______________________________________________ > Kaboodle-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/kaboodle-devel > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Two, two, TWO treats in one. http://thinkgeek.com/sf _______________________________________________ Kaboodle-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/kaboodle-devel