Click here to Skip to main content
15,895,709 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Is COM really dead? Pin
Anonymous15-Nov-02 3:32
Anonymous15-Nov-02 3:32 
GeneralRe: Is COM really dead? Pin
Kevin McFarlane15-Nov-02 5:12
Kevin McFarlane15-Nov-02 5:12 
GeneralRe: Is COM really dead? Pin
joan_fl18-Nov-02 8:23
joan_fl18-Nov-02 8:23 
GeneralRe: Is COM really dead? Pin
Aisha Ikram17-Nov-02 16:51
Aisha Ikram17-Nov-02 16:51 
QuestionWhat is about Application Domain? Pin
Aisha Ikram12-Nov-02 21:02
Aisha Ikram12-Nov-02 21:02 
AnswerRe: What is about Application Domain? Pin
leppie13-Nov-02 6:28
leppie13-Nov-02 6:28 
GeneralRe: What is about Application Domain? Pin
Aisha Ikram13-Nov-02 17:00
Aisha Ikram13-Nov-02 17:00 
GeneralWindowsXP Shell Namespace Extension / C# Pin
CohesiveTeam.Net12-Nov-02 7:44
CohesiveTeam.Net12-Nov-02 7:44 
I am writing a shell namespace extension for XP (in C#) and have run into some troubles.

I am successful in creating a shell folder and shell view, but once I start working with sub-folders, all falls apart.

I get a call into EnumObjects successfully, but when I return I get:
Unhandled exception at 0x76a6ebf7 (shdocvw.dll) in explorer.exe:
0xC0000005: Access violation reading location 0x80004005.


Here is how I define EnumObjects:
[PreserveSig()]<br />
uint EnumObjects(IntPtr hwnd, SHCONTF grfFlags,	out System.IntPtr<br />
ppenumIDList);<br />

Here is the code:
<br />
CTWShellEnum eList = new CTWShellEnum()<br />
ppenumIDList = Marshal.GetComInterfaceForObject(eList,<br />
typeof(IEnumIDList));<br />
return CTWShellConstants.S_OK;<br />


I never get a call into IEnumIDList.Next (which is what I expect to be the next call)

Here is my IEnumIDList definition:
<br />
public interface IEnumIDList {<br />
[PreserveSig()]<br />
uint Next(<br />
  int celt,<br />
  [MarshalAs(UnmanagedType.LPArray), Out] out IntPtr[] rgelt,<br />
  out int pceltFetched);<br />
<br />
[PreserveSig()]<br />
uint Skip(int celt);<br />
<br />
[PreserveSig()]<br />
uint Reset();<br />
<br />
[PreserveSig()]<br />
uint Clone(out System.IntPtr ppenum);<br />
}<br />


Any insight or information from others who have successfully implemented will be greatly appreciated.

Thanks
-Bill
GeneralSSCLI now compiles on MacOS X Pin
James T. Johnson12-Nov-02 3:12
James T. Johnson12-Nov-02 3:12 
GeneralRe: SSCLI now compiles on MacOS X Pin
David Stone12-Nov-02 4:35
sitebuilderDavid Stone12-Nov-02 4:35 
GeneralRe: SSCLI now compiles on MacOS X Pin
Paul Watson12-Nov-02 5:43
sitebuilderPaul Watson12-Nov-02 5:43 
GeneralRe: SSCLI now compiles on MacOS X Pin
David Stone12-Nov-02 8:07
sitebuilderDavid Stone12-Nov-02 8:07 
GeneralRe: SSCLI now compiles on MacOS X Pin
Ray Cassick13-Nov-02 7:23
Ray Cassick13-Nov-02 7:23 
GeneralRe: SSCLI now compiles on MacOS X Pin
James T. Johnson13-Nov-02 7:37
James T. Johnson13-Nov-02 7:37 
General.NET redistributable related Pin
Shamoon11-Nov-02 16:56
Shamoon11-Nov-02 16:56 
GeneralRe: .NET redistributable related Pin
David Stone11-Nov-02 18:43
sitebuilderDavid Stone11-Nov-02 18:43 
GeneralRe: .NET redistributable related Pin
RichardEastes13-Nov-02 15:55
RichardEastes13-Nov-02 15:55 
GeneralActiveDirectory ldap Pin
Anonymous11-Nov-02 10:01
Anonymous11-Nov-02 10:01 
GeneralSoap serialization Pin
Gerosa11-Nov-02 6:00
Gerosa11-Nov-02 6:00 
GeneralPassword Encryption Pin
Derek Lakin11-Nov-02 3:41
Derek Lakin11-Nov-02 3:41 
GeneralRe: Password Encryption Pin
Daniel Turini11-Nov-02 3:47
Daniel Turini11-Nov-02 3:47 
GeneralRe: Password Encryption Pin
Furty13-Nov-02 16:07
Furty13-Nov-02 16:07 
QuestionSubclassing? Pin
Stan Shannon11-Nov-02 2:19
Stan Shannon11-Nov-02 2:19 
AnswerRe: Subclassing? Pin
James T. Johnson11-Nov-02 3:11
James T. Johnson11-Nov-02 3:11 
GeneralRe: Subclassing? Pin
Stan Shannon11-Nov-02 3:45
Stan Shannon11-Nov-02 3:45 

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.