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

.NET (Core and Framework)

 
GeneralRe: Active Directory : User account options, Homefolder drive and directory and memberof group Pin
JANAZA9-Sep-16 3:45
professionalJANAZA9-Sep-16 3:45 
GeneralRe: Active Directory : User account options, Homefolder drive and directory and memberof group Pin
Richard Deeming9-Sep-16 4:11
mveRichard Deeming9-Sep-16 4:11 
GeneralRe: Active Directory : User account options, Homefolder drive and directory and memberof group Pin
JANAZA9-Sep-16 4:27
professionalJANAZA9-Sep-16 4:27 
GeneralRe: Active Directory : User account options, Homefolder drive and directory and memberof group Pin
Richard Deeming9-Sep-16 4:35
mveRichard Deeming9-Sep-16 4:35 
GeneralRe: Active Directory : User account options, Homefolder drive and directory and memberof group Pin
JANAZA9-Sep-16 8:08
professionalJANAZA9-Sep-16 8:08 
GeneralRe: Active Directory : User account options, Homefolder drive and directory and memberof group Pin
JANAZA11-Sep-16 19:52
professionalJANAZA11-Sep-16 19:52 
GeneralRe: Active Directory : User account options, Homefolder drive and directory and memberof group Pin
JANAZA11-Sep-16 22:37
professionalJANAZA11-Sep-16 22:37 
GeneralRe: Active Directory : User account options, Homefolder drive and directory and memberof group Pin
Richard Deeming12-Sep-16 1:55
mveRichard Deeming12-Sep-16 1:55 
GeneralRe: Active Directory : User account options, Homefolder drive and directory and memberof group Pin
JANAZA12-Sep-16 2:23
professionalJANAZA12-Sep-16 2:23 
GeneralRe: Active Directory : User account options, Homefolder drive and directory and memberof group Pin
Richard Deeming12-Sep-16 2:29
mveRichard Deeming12-Sep-16 2:29 
PraiseRe: Active Directory : User account options, Homefolder drive and directory and memberof group Pin
JANAZA12-Sep-16 3:01
professionalJANAZA12-Sep-16 3:01 
Questionfinal year project Pin
Member 127233156-Sep-16 6:07
Member 127233156-Sep-16 6:07 
AnswerRe: final year project Pin
OriginalGriff6-Sep-16 6:10
mveOriginalGriff6-Sep-16 6:10 
AnswerRe: final year project Pin
#realJSOP7-Sep-16 1:24
professional#realJSOP7-Sep-16 1:24 
QuestionASP.Net MVC File upload Pin
Dani_el1-Sep-16 4:01
Dani_el1-Sep-16 4:01 
AnswerRe: ASP.Net MVC File upload Pin
NotPolitcallyCorrect1-Sep-16 4:11
NotPolitcallyCorrect1-Sep-16 4:11 
GeneralRe: ASP.Net MVC File upload Pin
Dani_el1-Sep-16 4:16
Dani_el1-Sep-16 4:16 
GeneralRe: ASP.Net MVC File upload Pin
Simon_Whale1-Sep-16 4:21
Simon_Whale1-Sep-16 4:21 
GeneralRe: ASP.Net MVC File upload Pin
NotPolitcallyCorrect1-Sep-16 4:34
NotPolitcallyCorrect1-Sep-16 4:34 
QuestionInvoking GetIPGlobalProperties from Unmanaged Application Pin
Derek Tortonian29-Aug-16 12:28
Derek Tortonian29-Aug-16 12:28 
AnswerRe: Invoking GetIPGlobalProperties from Unmanaged Application Pin
#realJSOP31-Aug-16 3:22
professional#realJSOP31-Aug-16 3:22 
GeneralRe: Invoking GetIPGlobalProperties from Unmanaged Application Pin
Derek Tortonian31-Aug-16 10:22
Derek Tortonian31-Aug-16 10:22 
Hi, John,
By writing an unmanaged application, I'm actually using only COM interfaces to access .NET Framework classes. For Instance: the _Type interface All the various COM interfaces provide methods to access .NET objects, but, the syntax is different from C#. In my application, I obtain a COM interface pointer for the DefaultDomain (after loading the version 4 CLR), then, use that with the _AppDomain interface to call GetAssemblies. This returns a SAFEARRAY of _Assembly Interface pointers, which I can use to call GetTypes. Also, I can invoke: _AppDomain.Load, with an assembly Display Name, and this succeeds in loading a .NET assembly into the AppDomain. And, it goes on from there.
Anyway, once you have an interface pointer to a Type, you can call GetConstructors, which returns a SAFEARRAY of _ConstructorInfo interface pointers. In this case (IPGlobalProperties), which is an abstract class, the GetConstructors method returns a SAFEARRAY with NO interface pointers,...so, it is impossible to invoke the constructor and then call GetIPGlobalProperties with an instance of IPGlobalProperties.

...In C#, you would do this (from the NetStat .NET Framework SDK Code Sample):
C#
IPGlobalProperties ipGlobal = IPGlobalProperties.GetIPGlobalProperties();

I don't have Visual Studio installed on my computer. But, my COM application (which I'm writing in assembly language), I would attempt to invoke GetIPGlobalProperties using: _MethodInfo.Invoke, or one of the other Invoke overloads (after invoking _Type.GetMethod, which succeeds). GetIPGlobalProperties is a static method, with no parameters, so the parameters to Invoke are NULL.
When I call it, though (_MethodInfo.Invoke), it crashes my application with an access violation.

modified 31-Aug-16 17:11pm.

AnswerRe: Invoking GetIPGlobalProperties from Unmanaged Application Pin
#realJSOP7-Sep-16 1:29
professional#realJSOP7-Sep-16 1:29 
QuestionCalling e.Row.Parent.ClientID generate another ID for its GridView Pin
Andrés Leiva23-Aug-16 6:51
Andrés Leiva23-Aug-16 6:51 
AnswerRe: Calling e.Row.Parent.ClientID generate another ID for its GridView Pin
Pete O'Hanlon24-Aug-16 0:01
mvePete O'Hanlon24-Aug-16 0:01 

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.