473,396 Members | 2,099 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,396 software developers and data experts.

C# Asynchronous Protocol Handler for IE -- not working from embedded browser

2
Hi Folks,

I've got an asynchronous pluggable protocol (APP) handler implemented (based on the excellent work here: http://www.codeproject.com/aspnet/AspxProtocol.asp) that works absolutely perfectly from a normal IE window.

HOWEVER, when accessed from a browser embedded in another application, it doesn't seem to work at all. I can turn on a fair amount of logging and when I access the URL from a normal IE window I see all the logs I would expect to see as the handler is instantiated, etc. NONE of that happens when accessing a custom URL from the embedded browser so something fundamental is clearly going wrong.

Just to prove to myself that a normally registered (in HKCR/PROTOCOLS/handler) but non-standard APP works from the embedded browser, I tried the skype4com APP (skype4com:openzonesettings) from the embedded browser (the embedding application knows nothing about skype) and that works, so it would seem to not be something the embedded browser is preventing -- I conclude that I'm doing something wrong but have no idea how to proceed.

As near as I can tell, my APP is doing all the right things, registering the CLSID in HKCR/PROTOCOLS/qbwc, CLSID and ProgID are properly registered. The only real difference between the skype4com protocol and mine are that the skype4com seems to be implemented in C++ and mine is implemented in C# and therefore works through COM/.NET interop (mscoree.dll) but I would expect that kind of difference to cause a problem for the non-embedded case as well if it's going to cause a problem.

Suggestions gratefully received!
Peter+
Jun 27 '07 #1
1 3462
pvogel
2
OK. After much wailing and gnashing of teeth I believe I understand what's going on here -- the application embedding IE is hosting the .NET 1.1 CLR, the protocol handler is using .NET 2.0, it won't work. If I back the protocol handler off to .NET 1.1. it works fine.

Truly annoying, but at least we understand the problem now!

Peter+
Jun 28 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

20
by: igarrison | last post by:
I have an APP that reads from a file on disk and decrypts the raw data into the memory stream that then gets passed to the client. This works great for any text or image files, but I can't seem to...
7
by: Colin | last post by:
I'm writing a little console socket server but I'm having some difficulty. Can I ask your advice - where is the best place to get some help on that topic? It would be nice if some people who knew...
4
by: Alexander | last post by:
Hi, I am developing a web-application which will start telephone-calls using a special protocol (callto: or phone:) There will be two groups of users, one with a phone-client installed and...
9
by: Sharon | last post by:
I have a remoting object, lets call it A, that fires an event to remotely registered handlers, lets call it B. The invocation is working OK and the remote handler B is handling the event like it...
2
by: Macca | last post by:
My app has an asynchronous socket server. It will have 20 clients connected to the server. Each client sends data every 500 millisecondsThe Connections once established will not be closed unless...
0
by: Macca | last post by:
Hi, I am writing an asychronous socket server to handle 20+ simulataneous connections. I have used the example in MSDN as a base. The code is shown at end of question. Each connection has a...
7
by: Siv | last post by:
Hi, I have a stored procedure that I want to execute and then wait in a loop showing a timer whilst it completes and then carry on once I get notification that it has completed. The main reason...
0
by: Bishoy George | last post by:
Hi, I have a asp.net 2.0 web application. I want to implement the asynchronous model through http handler in web.config ...
6
by: Pat B | last post by:
Hi, I'm writing my own implementation of the Gnutella P2P protocol using C#. I have implemented it using BeginReceive and EndReceive calls so as not to block when waiting for data from the...
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
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.