473,378 Members | 1,410 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

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
Jan 15 '07 #1
0 1055

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Carlos Marangon | last post by:
Hello! People go to sign my guestbook and wrote all text in capital letters. Did you know any script that shows an window alert when one types the second capital letter? Best regards,
1
by: Intaek Lim | last post by:
I'm writing a simple path MTU discovery utility by modifying 'traceroute' source code in Win32 with MSVC7. I set DF bit in IP header and send packets filled with N bytes of data. When MTU size...
0
by: J.V. | last post by:
I want to make localhost on my browser a sendto destination, so I can right click on an ASP or PHP file, choose sendto, then localhost and have a browser open up with the ASP file running in it. ...
4
by: B.r.K.o.N.j.A. | last post by:
I've been having trouble with sendto function (I open a socket, bind it to eth0, recvfrom works fine but when I execute following line I get sendto(): invalid argument) if(sendto(sokit, buf,...
4
by: Just | last post by:
Hi everybody I was wondering if it is possible to use SendTo to send a whole IP package including header to another IP than specified in the package. Say I have a complete package and in it...
7
by: ataanis | last post by:
I'm currently using the function: sendto(sockfd, message, strlen(message), 0,&client_addr, addr_size) to sending a message back to a client, and I was wondering if there was a way of sending a...
2
by: Christof Nordiek | last post by:
Hi all, I'm building an application, that should be started from the SendTo Menu. My Setup-Project puts a link into the SendTo Menu. But this works only for the User running the Setup. Even if...
3
by: Sven C. Koehler | last post by:
Hello, the html below displays a box (#container) with a #footer and an #image inside. Is there any way how I could get rid of declaring max-width and max-height for the #image? The #image...
4
by: BlueJ | last post by:
My program is to send data using socket.. but I got the error message: "sendto(msg) points to uninitialised byte(s) " This is my source code 1. key_list = emalloc(BUFSIZE - sizeof(Key) -...
1
by: kavok | last post by:
I am writing a software that needs to sniff packets in the network (raw ethernet) and also, with another thread send regular UDP packets with the common socket API's. However, when the RAW...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.