Click here to Skip to main content
15,881,757 members
Home / Discussions / C#
   

C#

 
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 
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 
Thanks for the answer. The data is actually a shell item ID list, i supose i should add this as "pure" binary data, it can't be converted into a string (as far as i know), so basicly i guess my quesiton is: what do i "wrap" this into? This might be a basic question but as said, i don't yet have a well enough oversight with C#. I was looking at the *Ptr* methods in the Marshal class but i don't see which i could use, i tried reading the binary data byte-by-byte (Using Marshal.ReadByte) and add them to a list<byte> (yeah, it's a stupid idea but hell, i had to try), i could add this then to the data object with DataObject.SetData, but of course in the end i didn't get what i was looking for. Now i wonder if i could use one of the Copy methods to copy data from the unmanaged buffer to a managed byte[] array and then add that to the DataObject...
> 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. <

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 
AnswerRe: Visual Studio 2010 crashes when designer finishes loading Pin
Philippe Mori28-Aug-10 2:39
Philippe Mori28-Aug-10 2:39 
GeneralRe: Visual Studio 2010 crashes when designer finishes loading Pin
WebMaster28-Aug-10 4:03
WebMaster28-Aug-10 4: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.