Click here to Skip to main content
15,905,776 members
Home / Discussions / COM
   

COM

 
GeneralRe: Help!! - "both" components Pin
Nick Parker8-Feb-04 10:30
protectorNick Parker8-Feb-04 10:30 
GeneralRe: Help!! - "both" components Pin
LasVegasGuy8-Feb-04 10:34
LasVegasGuy8-Feb-04 10:34 
GeneralRe: Help!! - "both" components Pin
Anonymous8-Feb-04 12:09
Anonymous8-Feb-04 12:09 
GeneralRe: Help!! - "both" components Pin
LasVegasGuy8-Feb-04 12:14
LasVegasGuy8-Feb-04 12:14 
GeneralRe: Help!! - "both" components Pin
Anonymous8-Feb-04 18:56
Anonymous8-Feb-04 18:56 
GeneralRe: Help!! - "both" components Pin
Anonymous9-Feb-04 8:33
Anonymous9-Feb-04 8:33 
GeneralIEnumIDList Pin
Tristan Rhodes6-Feb-04 5:27
Tristan Rhodes6-Feb-04 5:27 
GeneralRe: IEnumIDList Pin
Jörgen Sigvardsson7-Feb-04 3:42
Jörgen Sigvardsson7-Feb-04 3:42 
The Catalyst wrote:
Am I right here?

Yes you are. For reference, see IEnumXXX in the MSDN docs.


The Catalyst wrote:
This is an array of ITEMIDLIST's? Or a pointer to ITEMIDLIST that is an array?

It's an array of LPITEMIDLIST which is an array of pointers to ITEMIDLISTs.


Now, I'm no C#/COM guru, but I think your sample code is wrong. It should probably be something like this:
IntPtr arr[] = new IntPtr[10];
int num;
do { 
   IDList.Next(10, out arr, out num);
   for(int i = 0; i < num; ++i) {
      doSomething(arr[i]);
   }
} while(num == 10);


--
Gott weiß ich will kein Engel sein.
Generalcomplier error:...undefined class 'ATL_NO_VTABLE Pin
Abhi Lahare6-Feb-04 2:02
Abhi Lahare6-Feb-04 2:02 
GeneralRe: complier error:...undefined class 'ATL_NO_VTABLE Pin
Mike Dimmick6-Feb-04 2:50
Mike Dimmick6-Feb-04 2:50 
GeneralRe: complier error:...undefined class 'ATL_NO_VTABLE Pin
Abhi Lahare6-Feb-04 3:28
Abhi Lahare6-Feb-04 3:28 
QuestionHow can i get properties of com object dynamically Pin
Inam5-Feb-04 19:47
Inam5-Feb-04 19:47 
AnswerRe: How can i get properties of com object dynamically Pin
Mike Dimmick6-Feb-04 3:23
Mike Dimmick6-Feb-04 3:23 
GeneralRe: How can i get properties of com object dynamically Pin
Inam7-Feb-04 7:20
Inam7-Feb-04 7:20 
GeneralCommercial ActiveX Control - ClistCtrl/CListView Pin
Charles Roderick4-Feb-04 5:10
Charles Roderick4-Feb-04 5:10 
GeneralRe: Commercial ActiveX Control - ClistCtrl/CListView Pin
Jörgen Sigvardsson9-Feb-04 9:59
Jörgen Sigvardsson9-Feb-04 9:59 
GeneralRe: Commercial ActiveX Control - ClistCtrl/CListView Pin
Charles Roderick9-Feb-04 12:08
Charles Roderick9-Feb-04 12:08 
GeneralSHGetPathFromIDList - Problem Pin
Tristan Rhodes4-Feb-04 3:53
Tristan Rhodes4-Feb-04 3:53 
GeneralSolved Pin
Tristan Rhodes4-Feb-04 10:55
Tristan Rhodes4-Feb-04 10:55 
GeneralRe: SHGetPathFromIDList - Problem Pin
Mike Dimmick5-Feb-04 0:58
Mike Dimmick5-Feb-04 0:58 
GeneralSHBrowseForFolder problem Pin
Tristan Rhodes4-Feb-04 1:19
Tristan Rhodes4-Feb-04 1:19 
GeneralRe: SHBrowseForFolder problem Pin
Tristan Rhodes4-Feb-04 2:01
Tristan Rhodes4-Feb-04 2:01 
GeneralPartial Solution Pin
Tristan Rhodes4-Feb-04 2:55
Tristan Rhodes4-Feb-04 2:55 
GeneralMethod overloading Pin
Anonymous3-Feb-04 4:19
Anonymous3-Feb-04 4:19 
GeneralRe: Method overloading Pin
Steve S3-Feb-04 22:55
Steve S3-Feb-04 22:55 

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.