Click here to Skip to main content
15,886,422 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# loading data Pin
C.CoderCreator28-Aug-10 20:00
C.CoderCreator28-Aug-10 20:00 
GeneralRe: C# loading data Pin
dan!sh 28-Aug-10 20:06
professional dan!sh 28-Aug-10 20:06 
GeneralRe: C# loading data Pin
C.CoderCreator28-Aug-10 20:11
C.CoderCreator28-Aug-10 20:11 
GeneralRe: C# loading data Pin
harold aptroot29-Aug-10 22:38
harold aptroot29-Aug-10 22:38 
AnswerRe: C# loading data Pin
Luc Pattyn29-Aug-10 1:49
sitebuilderLuc Pattyn29-Aug-10 1:49 
GeneralRe: C# loading data Pin
Mycroft Holmes29-Aug-10 2:20
professionalMycroft Holmes29-Aug-10 2:20 
JokeRe: C# loading data Pin
dan!sh 29-Aug-10 6:58
professional dan!sh 29-Aug-10 6:58 
QuestionPassing an unmanaged buffer to DataObject Pin
Code-o-mat28-Aug-10 8:27
Code-o-mat28-Aug-10 8:27 
Hello people!

I am getting a buffer (allocated with CoTaskMemAlloc) from an unmanaged DLL call along with the buffer's size. I would like to feed this buffer (or a copy of this buffer) to DataObject (and drag-drop it...). Is it possible and if yes, how?
I've been coding in C++ for many years now (so i am not new to the concept of the whole programming business), but i'm relatively new to C#, so please keep it simple for me.

Thanks in advance for any answers.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> "It doesn't work, fix it" does not qualify as a bug report. <
> Amazing what new features none of the programmers working on the project ever heard of you can learn about when reading what the marketing guys wrote about it. <

AnswerRe: Passing an unmanaged buffer to DataObject Pin
Luc Pattyn28-Aug-10 14:05
sitebuilderLuc Pattyn28-Aug-10 14:05 
GeneralRe: Passing an unmanaged buffer to DataObject Pin
Code-o-mat28-Aug-10 22:24
Code-o-mat28-Aug-10 22:24 
GeneralRe: Passing an unmanaged buffer to DataObject Pin
Luc Pattyn29-Aug-10 1:40
sitebuilderLuc Pattyn29-Aug-10 1:40 
GeneralRe: Passing an unmanaged buffer to DataObject Pin
Code-o-mat29-Aug-10 1:47
Code-o-mat29-Aug-10 1:47 
AnswerRe: Passing an unmanaged buffer to DataObject Pin
Luc Pattyn29-Aug-10 1:51
sitebuilderLuc Pattyn29-Aug-10 1:51 
GeneralRe: Passing an unmanaged buffer to DataObject Pin
Code-o-mat29-Aug-10 2:18
Code-o-mat29-Aug-10 2:18 
GeneralRe: Passing an unmanaged buffer to DataObject Pin
Luc Pattyn29-Aug-10 2:28
sitebuilderLuc Pattyn29-Aug-10 2:28 
Questionform apearance Pin
ronakT28-Aug-10 7:59
ronakT28-Aug-10 7:59 
AnswerRe: form apearance PinPopular
Dan Mos28-Aug-10 8:29
Dan Mos28-Aug-10 8:29 
AnswerRe: form apearance Pin
PIEBALDconsult29-Aug-10 5:45
mvePIEBALDconsult29-Aug-10 5:45 
AnswerRe: form apearance Pin
Abhinav S29-Aug-10 6:37
Abhinav S29-Aug-10 6:37 
AnswerRe: form apearance Pin
Pete O'Hanlon29-Aug-10 9:43
mvePete O'Hanlon29-Aug-10 9:43 
GeneralRe: form apearance Pin
ronakT4-Sep-10 9:38
ronakT4-Sep-10 9:38 
QuestionLoad print templates Pin
dSolariuM28-Aug-10 1:42
dSolariuM28-Aug-10 1:42 
QuestionRe: Load print templates Pin
Yusuf28-Aug-10 4:55
Yusuf28-Aug-10 4:55 
AnswerRe: Load print templates Pin
Abhinav S28-Aug-10 5:22
Abhinav S28-Aug-10 5:22 
QuestionVisual Studio 2010 crashes when designer finishes loading Pin
WebMaster28-Aug-10 1:03
WebMaster28-Aug-10 1:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.