Giter Club home page Giter Club logo

outlook-dndprotocol's People

Contributors

tgeens avatar tobiasviehweger avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

outlook-dndprotocol's Issues

MemoryStream is empty

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?

Conversation View Drag

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".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.