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

.NET (Core and Framework)

 
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
mve#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 
Hi,
I'm writing an unmanaged application, and, am using the provided COM interfaces to invoke .NET Framework class methods. Generally, this works well, although the code is tedious to write. IPGlobalProperties is an abstract .NET class, and the GetIPGlobalProperties method is static. I am able to obtain a _MethodInfo interface pointer by invoking _Type.GetMethod_6 on the IPGlobalProperties type. Then, when I attempt to invoke _MethodInfo.Invoke_3, providing a bstr "GetIPGlobalProperties", the application crashes with an access violation. The same thing happens when I call _MethodInfo.QueryInterface, providing the IID for the _MethodBase interface (which succeeds), and, then invoking _MethodBase.Invoke_3.
I'm thinking, maybe, I should be calling: _Type.InvokeMember, or something along these lines.
Previously in my code, I had no problem obtaining a NetworkInformationPermission object by calling its constructor, and providing a NetworkInformationAccess value of read, so I'm wondering what is the reason for the access violations.

modified 31-Aug-16 17:04pm.

AnswerRe: Invoking GetIPGlobalProperties from Unmanaged Application Pin
#realJSOP31-Aug-16 3:22
mve#realJSOP31-Aug-16 3:22 
GeneralRe: Invoking GetIPGlobalProperties from Unmanaged Application Pin
Derek Tortonian31-Aug-16 10:22
Derek Tortonian31-Aug-16 10:22 
AnswerRe: Invoking GetIPGlobalProperties from Unmanaged Application Pin
#realJSOP7-Sep-16 1:29
mve#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 
GeneralRe: Calling e.Row.Parent.ClientID generate another ID for its GridView Pin
Andrés Leiva24-Aug-16 4:07
Andrés Leiva24-Aug-16 4:07 
GeneralRe: Calling e.Row.Parent.ClientID generate another ID for its GridView Pin
Pete O'Hanlon24-Aug-16 5:21
mvePete O'Hanlon24-Aug-16 5:21 
QuestionAssembly - SQL Server 2008 Pin
equelna21-Aug-16 23:30
equelna21-Aug-16 23:30 
AnswerRe: Assembly - SQL Server 2008 Pin
Richard Deeming22-Aug-16 2:00
mveRichard Deeming22-Aug-16 2:00 
GeneralRe: Assembly - SQL Server 2008 Pin
equelna22-Aug-16 4:41
equelna22-Aug-16 4:41 
GeneralRe: Assembly - SQL Server 2008 Pin
Richard Deeming22-Aug-16 10:01
mveRichard Deeming22-Aug-16 10:01 
Question_Type.GetProperty Pin
Derek Tortonian19-Aug-16 10:40
Derek Tortonian19-Aug-16 10:40 
AnswerRe: _Type.GetProperty Pin
Gerry Schmitz20-Aug-16 4:25
mveGerry Schmitz20-Aug-16 4:25 
QuestionString was not recognized as a valid DateTime. Pin
abdul subhan mohammed14-Aug-16 21:15
professionalabdul subhan mohammed14-Aug-16 21:15 
AnswerRe: String was not recognized as a valid DateTime. Pin
Richard MacCutchan14-Aug-16 21:16
mveRichard MacCutchan14-Aug-16 21:16 
GeneralRe: String was not recognized as a valid DateTime. Pin
abdul subhan mohammed14-Aug-16 21:20
professionalabdul subhan mohammed14-Aug-16 21:20 
AnswerRe: String was not recognized as a valid DateTime. Pin
Slacker00717-Aug-16 1:18
professionalSlacker00717-Aug-16 1:18 

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.