Click here to Skip to main content
15,908,776 members
Home / Discussions / C#
   

C#

 
GeneralRe: Marshaling Array of IntPtr Pin
John Fisher12-Mar-04 3:46
John Fisher12-Mar-04 3:46 
General- COM Interface Function Pin
Tristan Rhodes12-Mar-04 3:51
Tristan Rhodes12-Mar-04 3:51 
GeneralRe: Marshaling Array of IntPtr Pin
Heath Stewart12-Mar-04 4:07
protectorHeath Stewart12-Mar-04 4:07 
GeneralRe: Marshaling Array of IntPtr Pin
Tristan Rhodes12-Mar-04 4:23
Tristan Rhodes12-Mar-04 4:23 
GeneralRe: Marshaling Array of IntPtr Pin
Heath Stewart12-Mar-04 4:28
protectorHeath Stewart12-Mar-04 4:28 
GeneralRe: Marshaling Array of IntPtr Pin
Tristan Rhodes12-Mar-04 4:45
Tristan Rhodes12-Mar-04 4:45 
GeneralRe: Marshaling Array of IntPtr Pin
Heath Stewart12-Mar-04 4:50
protectorHeath Stewart12-Mar-04 4:50 
GeneralRe: Marshaling Array of IntPtr Pin
Tristan Rhodes12-Mar-04 5:24
Tristan Rhodes12-Mar-04 5:24 
AWESOME! Thanks DUDE!

I got it enumerating properly.. well... i got a sub folder name without it crashing, exploding, or whatever. I'll worry about getting multiple PIDL's later.

One thing is confusing me though.

My StrRetToStr, while working, does odd stuff. 0 seems to be the value that works, but in COM it's supposed to be 1-3. Is this because i'm using signed ints?

Also, my StrRetToStr method refuses to work with a string base type, no matter how I marshal it. But if i change it to a pointer, process it, and change it back, it works fine. I know it's trivial, but i don't understand why it's doin it, and it's bugging me.

Again, thanks for all your help. While i know i've got a long way to go, it's another step towards me grasping COM more completely. *grin*

Cheers!

Cata
GeneralRe: Marshaling Array of IntPtr Pin
Heath Stewart12-Mar-04 5:29
protectorHeath Stewart12-Mar-04 5:29 
GeneralRe: Marshaling Array of IntPtr Pin
Tristan Rhodes12-Mar-04 6:28
Tristan Rhodes12-Mar-04 6:28 
Generalwebservice Pin
cmarmr12-Mar-04 3:26
cmarmr12-Mar-04 3:26 
GeneralRe: webservice Pin
Heath Stewart12-Mar-04 4:09
protectorHeath Stewart12-Mar-04 4:09 
GeneralPrinting With Win32API Pin
Shaun Becker12-Mar-04 3:24
Shaun Becker12-Mar-04 3:24 
GeneralA MDI in a MDI Pin
sixefftee12-Mar-04 3:12
sixefftee12-Mar-04 3:12 
GeneralRe: A MDI in a MDI Pin
ASGill12-Mar-04 4:23
ASGill12-Mar-04 4:23 
GeneralRe: A MDI in a MDI Pin
sixefftee12-Mar-04 6:20
sixefftee12-Mar-04 6:20 
GeneralRe: A MDI in a MDI Pin
John Fisher12-Mar-04 7:53
John Fisher12-Mar-04 7:53 
GeneralRe: A MDI in a MDI Pin
sixefftee12-Mar-04 8:34
sixefftee12-Mar-04 8:34 
GeneralRe: A MDI in a MDI Pin
John Fisher12-Mar-04 11:26
John Fisher12-Mar-04 11:26 
QuestionCan you temporarily lock a directory? Pin
boozebomb112-Mar-04 2:42
boozebomb112-Mar-04 2:42 
AnswerRe: Can you temporarily lock a directory? Pin
Heath Stewart12-Mar-04 3:56
protectorHeath Stewart12-Mar-04 3:56 
GeneralRe: Can you temporarily lock a directory? Pin
boozebomb112-Mar-04 4:13
boozebomb112-Mar-04 4:13 
GeneralRe: Can you temporarily lock a directory? Pin
Heath Stewart12-Mar-04 4:23
protectorHeath Stewart12-Mar-04 4:23 
GeneralCustom borders Pin
Mathew Hall12-Mar-04 2:24
Mathew Hall12-Mar-04 2:24 
GeneralRe: Custom borders Pin
John Fisher12-Mar-04 3:32
John Fisher12-Mar-04 3:32 

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.