A Windows 98 & ME forum. Win98banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Win98banter forum » Windows 98 » Shell
Site Map Home Authors List Search Today's Posts Mark Forums Read Web Partners

How to avoid SendTo max-param-len limitation



 
 
Thread Tools Display Modes
  #1  
Old January 15th 07, 11:00 AM posted to microsoft.public.windowsxp.general,microsoft.public.win98.shell,microsoft.public.cs.windows,microsoft.public.dotnet.general,microsoft.public.win32.programmer.gdi
external usenet poster
 
Posts: n/a
Default 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


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SendTo is lost webster72n General 3 August 8th 04 08:42 PM


All times are GMT +1. The time now is 03:25 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright 2004-2018 Win98banter.
The comments are property of their posters.