SC small exe Update 2011

Single Click discussions / bugs

Re: SC small exe Update 2011

Postby Rudi De Vos » 2011-12-29 09:17

It doesn't exist as commandline...
winvnc.exe read the value's from the helpdesk.txt file

[DIRECT]
If you specify only ONE host entry the [DIRECT] option skip the step that you need to select a host.
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5462
Joined: 2004-04-23 10:21

Re: SC small exe Update 2011

Postby 2haerim » 2011-12-29 10:44

I created my own executable using AutoIt. It's called MyHelpDesk.exe.
When it gets run from a client PC, it unpacks the following files into the client's pc
- winvnc.exe
- rc4.key
- vnchooks.dll
- MSRC4Plugin.dsm

After unpacking, it executes the following:
winvnc.exe -connect MyIp:5500 -noregistry

This works very fine but the new two options [DIS_UAC] and [WALLPAPER] seem to be essential to overcome Windos 7 situation. (Am I right?)
So, I would like to know a way to use those two new options, but I don't want to use helpdesk.txt file because I have my own UI created from Autoit.

That's why I asked how to use those options from commanline mode.

Would it be possible to use those options with my own UI?

I modified the helpdesk.txt as shown below:

[HOST]
-connect 219.240.75.246:5500 -noregistry

[DIS_UAC]

[WALLPAPER]

[DIRECT]

I removed all the unnecessary options, but when I run winvnc, it still displays the default UI.
I need to know not showing the builtin UI.

thx
HR
2haerim
8
8
 
Posts: 17
Joined: 2005-05-18 17:29

Re: SC small exe Update 2011

Postby 2haerim » 2011-12-29 10:55

One most requested feature these days.

These days, so many people uses multi-monitors. Especially traders use many monitors with one PC.
So, SC is desirable to support multi-monitor connection like TeamViewer.

Do we have at least some solution for this feature request?

thx again
HR
2haerim
8
8
 
Posts: 17
Joined: 2005-05-18 17:29

Re: SC small exe Update 2011

Postby 2haerim » 2012-01-04 00:08

From the source file winvnc.cpp, the WinMain shows

Code: Select all
   if (strcmp(szCmdLine,"[b]-dis_auc[/b]")==NULL)
   {
      Disbale_UAC_for_admin();
      return 0;
   }
   if (strstr(szCmdLine,"[b]-en_auc [/b]")!=NULL)
   {
      char temp[10];
      strcpy(temp,szCmdLine+8);
      int i=atoi(temp);
      Restore_UAC_for_admin(i);
      return 0;
   }


I can see -dis_uac and -en_uac options supported even though I still don't see -wallpaper option.
However they only manages registry keys and returns without doing anything else.

Rudi, would you be able to add both -dis_uac and -wallpaper as command line options so that I can embed SC into my own UI rather than one created based on helpdesk.txt?

MyHelpDesk will execute
winvnc.exe -autoreconnect -dis_uac -wallpaper -connect MyIP:5500 -noregistry
where MyIP will be obtained from my own UI.

thx a lot
HR
2haerim
8
8
 
Posts: 17
Joined: 2005-05-18 17:29

Re: SC small exe Update 2011

Postby 2haerim » 2012-01-04 00:11

winvnc.exe -autoreconnect -connect MyIP:5500 -noregistry

I thought this would reconnect on a temporary internect failure, but it never reconnected.
Please tell me what is missing to use autoreconnection feature.

thx
2haerim
8
8
 
Posts: 17
Joined: 2005-05-18 17:29

Re: SC small exe Update 2011

Postby twilight » 2013-01-31 12:46

by default winvnc.exe from SC2011 runs with that options:
Image

Is there a way to run with checked Poll Window Under Cursor?
twilight
 
Posts: 1
Joined: 2013-01-31 12:40

Re: SC small exe Update 2011

Postby Rudi De Vos » 2013-02-01 13:11

Default can't be changed, it's hard coded.
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5462
Joined: 2004-04-23 10:21

Previous

Return to SC

Who is online

Users browsing this forum: No registered users and 4 guests