How to avoid SendTo max-param-len limitation
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\PersistentHandle r] @="{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 |
All times are GMT +1. The time now is 10:07 PM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Win98Banter.com