yasoonofficial / outlook-dndprotocol Goto Github PK
View Code? Open in Web Editor NEWreverse engineered Outlook drag and drop (clipboard) OLE protocol
License: MIT License
reverse engineered Outlook drag and drop (clipboard) OLE protocol
License: MIT License
Hi,
thank you for your work. I think, this is exactly what I was looking for.
Your debug-app works fine. For my work, which is also here at github, i need to convert your code to vb.net (4.0 Client). After I finished this I realized that the MemoryStream is empty. It's not really empty: the length of the stream is not zero, it has the correct size. But even a BinaryReader or a StreamReader can read the stream.
I wrote a several test forms, but I can not read the Stream. Even such easy c# scripts like the following does not work:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_DragDrop(object sender, DragEventArgs e)
{
if (e.Data.GetDataPresent("RenPrivateMessages"))
{
MemoryStream dataStream = e.Data.GetData("RenPrivateMessages") as MemoryStream;
if (dataStream != null)
{
StreamReader sr = new StreamReader(dataStream, Encoding.UTF8);
String t = sr.ReadToEnd();
}
}
}
private void Form1_DragOver(object sender, DragEventArgs e) {e.Effect = DragDropEffects.Copy;}
private void Form1_DragEnter(object sender, DragEventArgs e) {e.Effect = DragDropEffects.Copy;}
}
}
Do you have any idea, what my mistake is?
Hi,
thank you for your great work! We are intercepting DnD in Outlook and extend the CF_HDROP Format to enable DnD to the browser. In most cases it works fine, but if conversation view is enabled in the inbox and sent items are dragged, the format changes. Within the loop of items, the first value (SideEffects) changes and additionally 24 Bytes are inserted before "Length of MessageClass".
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.