Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to avoid SendTo max-param-len limitation

4 views
Skip to first unread message

vlg

unread,
Jan 15, 2007, 5:00:07 AM1/15/07
to
hello

I write a little program, that receive as parameters some filepaths and use
them. The program will be "put" into SendTo menu and be available from
RightClick->SendTo menu.

The problem is that Windows execs programs in SendTo with ShellExecute witch
can send max 2048 char in WinXP and arownd 260 in Win95. This is a very big
and unexpected limitation.

Anyone knows how to avoid this ?

All programs in my SendTo menu are subject of this limitation except
Compressed (zipped) Folder,Mail Recipient. Windows seems to avoid this limit
by creating and asociating a new extension (ex: .ZFSendToTarget) and making
some triks into the registry. But I cant figure what is going on and how to
implement something like this...

[HKEY_CLASSES_ROOT\.ZFSendToTarget]
@="CLSID\\{888DCA60-FC0A-11CF-8F0F-00C04FD7D062}"

[HKEY_CLASSES_ROOT\.ZFSendToTarget\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"


[HKEY_CLASSES_ROOT\CLSID\{888DCA60-FC0A-11CF-8F0F-00C04FD7D062}]
DefaultIcon
(default) = %SystemRoot%\system32\zipfldr.dll
InProcServer32
(default) = %SystemRoot%\system32\zipfldr.dll
ThreadingModel = Apartment
ShellEx/DropHandler
(default) = {888DCA60-FC0A-11CF-8F0F-00C04FD7D062}


i'm a little bit stuck and any help will be great ....
thanks


0 new messages