Click here to Skip to main content
15,887,416 members
Home / Discussions / C#
   

C#

 
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 
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 
I already did a few basic things to get aquainted with C#, it looks more friendly and welcoming as i originally expected it to be. I'm now experimenting with mixing managed and unmanaged code and drag and drop. What i did was to create a temporary jpeg image and try to drag-drop it. However, most of the time, the drag-drop of the image to applications results in no visible effect. I used ClipSpy to compare a dragdrop from the app and a dragdrop from the shell (expolorer), my guess is that most programs use the "Item IDList Array" in the data to open the dragged file, however, the dragged data from C# does not contain this. I googled around but didn't find anything satisfying, or i just googled for the wrong terms, so i wrote unmanaged code that generates the IDList array from a path into an array allocated with CoTaskMemAlloc and then i hit the problem of not knowing what to do with this buffer once i got it in C#. I might be trying to re-invent the wheel here but at least i am learning. Smile | :)
Am not yet sure if the article about writing a shell extension and avoiding the ItemIDList can help me or not.
> 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 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 
GeneralRe: Visual Studio 2010 crashes when designer finishes loading Pin
WebMaster28-Aug-10 4:40
WebMaster28-Aug-10 4:40 
Questionrun a method on other application Pin
solomon8528-Aug-10 0:47
solomon8528-Aug-10 0:47 
AnswerRe: run a method on other application Pin
Eddy Vluggen28-Aug-10 3:16
professionalEddy Vluggen28-Aug-10 3:16 
AnswerRe: run a method on other application Pin
dan!sh 28-Aug-10 3:37
professional dan!sh 28-Aug-10 3:37 

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.