Click here to Skip to main content
15,920,603 members
Home / Discussions / C#
   

C#

 
GeneralReturning a String from Managed to Unmanaged Code Pin
SanShou8-Jul-04 6:25
SanShou8-Jul-04 6:25 
GeneralRe: Returning a String from Managed to Unmanaged Code Pin
Heath Stewart8-Jul-04 8:49
protectorHeath Stewart8-Jul-04 8:49 
GeneralRe: Returning a String from Managed to Unmanaged Code Pin
SanShou8-Jul-04 8:57
SanShou8-Jul-04 8:57 
Generalmicrosoft.office.interop Pin
dcronje8-Jul-04 5:49
dcronje8-Jul-04 5:49 
GeneralRe: microsoft.office.interop Pin
Heath Stewart8-Jul-04 8:28
protectorHeath Stewart8-Jul-04 8:28 
GeneralIDragSourceHelper problem Pin
TylerBrinks8-Jul-04 4:17
TylerBrinks8-Jul-04 4:17 
GeneralRe: IDragSourceHelper problem Pin
Heath Stewart8-Jul-04 5:28
protectorHeath Stewart8-Jul-04 5:28 
GeneralRe: IDragSourceHelper problem Pin
TylerBrinks8-Jul-04 5:52
TylerBrinks8-Jul-04 5:52 
Perhaps I wasn't clear enough in my question...
I already have all the interop classes created. (That's was my point in saying I have everything working for the IDropTargetHelper interface). I wasn't suggesting I was trying to create an interface - I was sparing a paragraph spelling out what my already working code does. My question was why I can get the IDropTargetHelper working but not the IDragSourceHelper using the same overall logic.

Now - according to shlguid.h the IID for the drop helper (IID_IDropTargetHelper) is 4657278B-411B-11d2-839A-00C04FD918D0. That works - no problem there at all.

It would stand to reason, then, that the guid for IID_IDragSourceHelper would work for using the IDragSourceHelper interface. IID_IDragSourceHelper is DE5BF786-477A-11d2-839D-00C04FD918D0. That's the part that doesn't work - when I create the object derived from the IDragSourceHelper interface I get the message specified in my first post.

Oddly, the value 4657278B-411B-11d2-839A-00C04FD918D0 is in my registry in several places, while DE5BF786-477A-11d2-839D-00C04FD918D0 is not in my registry.
GeneralRe: IDragSourceHelper problem Pin
Heath Stewart8-Jul-04 6:43
protectorHeath Stewart8-Jul-04 6:43 
GeneralRe: IDragSourceHelper problem Pin
Heath Stewart8-Jul-04 6:53
protectorHeath Stewart8-Jul-04 6:53 
GeneralForm display porblem Pin
wk_vigorous8-Jul-04 1:52
wk_vigorous8-Jul-04 1:52 
GeneralRe: Form display porblem Pin
Nick Parker8-Jul-04 3:43
protectorNick Parker8-Jul-04 3:43 
GeneralRe: Form display porblem Pin
wk_vigorous8-Jul-04 4:43
wk_vigorous8-Jul-04 4:43 
GeneralRe: Form display porblem Pin
Heath Stewart8-Jul-04 5:21
protectorHeath Stewart8-Jul-04 5:21 
GeneralSelection in datagrid gets really slow Pin
Atlemann8-Jul-04 1:02
Atlemann8-Jul-04 1:02 
Generalstring==C#?YES:NO Pin
saud_a_k7-Jul-04 22:49
saud_a_k7-Jul-04 22:49 
GeneralRe: string==C#?YES:NO Pin
SJ_Phoenix8-Jul-04 0:13
SJ_Phoenix8-Jul-04 0:13 
GeneralRe: string==C#?YES:NO Pin
Nick Parker8-Jul-04 1:37
protectorNick Parker8-Jul-04 1:37 
GeneralRe: string==C#?YES:NO Pin
Heath Stewart8-Jul-04 5:02
protectorHeath Stewart8-Jul-04 5:02 
GeneralRe: string==C#?YES:NO Pin
Grimolfr8-Jul-04 9:01
Grimolfr8-Jul-04 9:01 
GeneralRe: string==C#?YES:NO Pin
leppie8-Jul-04 9:35
leppie8-Jul-04 9:35 
GeneralRe: string==C#?YES:NO Pin
saud_a_k8-Jul-04 19:28
saud_a_k8-Jul-04 19:28 
GeneralRe: string==C#?YES:NO Pin
leppie8-Jul-04 9:37
leppie8-Jul-04 9:37 
GeneralRe: string==C#?YES:NO Pin
saud_a_k8-Jul-04 19:32
saud_a_k8-Jul-04 19:32 
GeneralRe: string==C#?YES:NO Pin
leppie9-Jul-04 7:06
leppie9-Jul-04 7:06 

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.