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

.NET (Core and Framework)

 
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 
You are right.
Now bring you an excerpt of code example as well as I understand reading on various forums and on msdn microsoft.

This is just one example of the assembly, but follows closely the structure of the actual rate.
I verified the functionality of the assembly first with a pgm in C # and then with SQLServer and functioning properly, but when calling the Store procedures that invoke assembly from different connections, both local and remote, as a result I have what I have written previously.

using System;
using System.Runtime.InteropServices;
using System.Text;

namespace MyNamespace
{
    public class MtClassofFunction
{
    private static MyLib2ExternalDllFunction.Function myLib = new MyLib2ExternalDllFunction.Function();
    static public SqlIn32 MyFunction1(SqlChars szValue, SqlInt32 lValue)
{
    Int32 l_value=0;
    int rs=myLib.Function1(args[]); 
    .....
    return (SqlInt32) l_value;
}

static public SqlInt32 MyFunction2(SqlInt32 lValue1, SqlInt32 lValue2)
{
   Int32 rs=0;
   int value=myLib.OtherFunction(args[]);
   ... do something
   return (SqlInt32)rs;
}
//........
//other functions
}


Please help me
Thanks
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 
GeneralRe: String was not recognized as a valid DateTime. Pin
#realJSOP17-Aug-16 3:05
mve#realJSOP17-Aug-16 3:05 
GeneralRe: String was not recognized as a valid DateTime. Pin
Slacker00717-Aug-16 3:39
professionalSlacker00717-Aug-16 3:39 
GeneralRe: String was not recognized as a valid DateTime. Pin
#realJSOP17-Aug-16 4:25
mve#realJSOP17-Aug-16 4:25 
GeneralRe: String was not recognized as a valid DateTime. Pin
Slacker00717-Aug-16 4:32
professionalSlacker00717-Aug-16 4:32 
GeneralRe: String was not recognized as a valid DateTime. Pin
#realJSOP17-Aug-16 5:30
mve#realJSOP17-Aug-16 5:30 
GeneralRe: String was not recognized as a valid DateTime. Pin
Gerry Schmitz17-Aug-16 5:58
mveGerry Schmitz17-Aug-16 5:58 
GeneralRe: String was not recognized as a valid DateTime. Pin
Richard MacCutchan17-Aug-16 3:42
mveRichard MacCutchan17-Aug-16 3:42 
GeneralRe: String was not recognized as a valid DateTime. Pin
Slacker00717-Aug-16 4:12
professionalSlacker00717-Aug-16 4:12 
GeneralRe: String was not recognized as a valid DateTime. Pin
#realJSOP17-Aug-16 4:26
mve#realJSOP17-Aug-16 4:26 
GeneralRe: String was not recognized as a valid DateTime. Pin
Slacker00717-Aug-16 4:33
professionalSlacker00717-Aug-16 4:33 

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.