473,386 Members | 1,860 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

VERY VERY Strange Problem with Emitting Dynamic Assemblies

Hi,All Gurus:
It is kind of complicated, please bear with me and let me know if you have
any questions.
Thanks a lot in advance.
John

I have a csharp method, using emit to dynamically generate classes & method
depends on the meta table in the database,here is my problem
1) One method I generated works when it was called, but another set of
method does not work, it generate the following error
Object reference not set to an instance of an object
2) The generate method method which is not working on one machine is
working on a differennt computer with not code change
3) The generate method method which is not working on one machine is
working fine on the same machine if run under using visual studio.net (both
debug mode & release mode)
4) I put some trace in the method, looks like the error happend when the
method was called, but has not execute anything on the method yet (the was
not trace out
5) I am using the following code to call the generated method
public delegate void SetValue( DataRow rw, Object objrtn);
private static void ExecSetValue(ArrayList arr, Object objrtn,CTask
objtask,DataRow rw,string task_id)
{
if (objtask.delemethod==null)
objtask.delemethod=BuildStaticDelegateMethod(arr,o bjrtn,task_id);

//Trace.WriteLineIf(objtask.delemethod==null,"deleme thod is
NULLLLLLLLLLLL","ERROR");
if (objtask.delemethod==null)
Trace.WriteLine("delemethod is NULLLLLLLLLLLL","ERROR");
objtask.delemethod(rw,objrtn);

//Here the delemethod is define cas following:
public SetValue delemethod=null;
}

6) I am using the following code to emit the IL code
static public SetValue BuildStaticDelegateMethod(ArrayList arr,Object
O,string task_id)
{

string strClassName="SQLExecSet" + task_id;
TypeBuilder myTypeBuilder = myModule.DefineType(strClassName,
TypeAttributes.Public);

string strMethodName="SetValue" +task_id;
MethodInfo targetTrace = typeof(Trace).GetMethod("WriteLine", new Type[]
{typeof(String)} );
MethodBuilder ParMethod = myTypeBuilder.DefineMethod(strMethodName,
MethodAttributes.Public | MethodAttributes.Static , typeof(void), new
Type[] { typeof(DataRow),typeof(Object) });

ILGenerator ILParaFunc= ParMethod.GetILGenerator(); // Create local
variables.

Label[] arrlbl=new Label[arr.Count];
Label[] arrlbl1=new Label[arr.Count];
Label[] arrlblintbool=new Label[arr.Count];
Type objType=O.GetType();

//LocalBuilder oType0= ILParaFunc.DeclareLocal(typeof(Type));
LocalBuilder objcasted = ILParaFunc.DeclareLocal(objType);
ILParaFunc.Emit(OpCodes.Ldarg_1);
ILParaFunc.Emit(OpCodes.Castclass,objType);
ILParaFunc.Emit(OpCodes.Stloc,objcasted);
for (int i=0;i<arr.Count;i++)
{
arrlbl[i]=ILParaFunc.DefineLabel();
arrlbl1[i]=ILParaFunc.DefineLabel();
arrlblintbool[i]=ILParaFunc.DefineLabel();
CTaskOutput objoutput= (CTaskOutput) arr[i];
if (objoutput.parent_structure)
continue;
FieldInfo field=objType.GetField(objoutput.varible_name);

//ILParaFunc.Emit(OpCodes.Ldarg_1);

//ILParaFunc.Emit(OpCodes.Callvirt,typeof(System.Obj ect).GetMethod("GetType"
));
//ILParaFunc.Emit(OpCodes.Stloc, oType0);

ILParaFunc.Emit(OpCodes.Ldstr,"Inside Set Value Method");
ILParaFunc.Emit(OpCodes.Callvirt,targetTrace);

ILParaFunc.Emit(OpCodes.Ldarg_0);
ILParaFunc.Emit(OpCodes.Ldstr, objoutput.field_name);
MethodInfo mi_GetDataRowItem =
typeof(System.Data.DataRow).GetProperty("Item",new Type[]{
typeof(System.String)}).GetGetMethod();
ILParaFunc.Emit(OpCodes.Callvirt, mi_GetDataRowItem);

LocalBuilder ofieldvalue= ILParaFunc.DeclareLocal(typeof(Object));
ILParaFunc.Emit(OpCodes.Stloc,ofieldvalue);
ILParaFunc.Emit(OpCodes.Ldloc,ofieldvalue);

if (field.FieldType.BaseType==typeof(System.ValueType ))
{
MethodInfo m2=typeof(System.Convert).GetMethod("IsDBNull",new Type[]
{typeof(object[]) } );
ILParaFunc.EmitCall(OpCodes.Callvirt,m2,null);
ILParaFunc.Emit(OpCodes.Brtrue,arrlbl[i]);

ILParaFunc.Emit(OpCodes.Ldloc,objcasted);
ILParaFunc.Emit(OpCodes.Ldloc,ofieldvalue);
ILParaFunc.Emit(OpCodes.Callvirt,typeof(Object).Ge tMethod("ToString"));
MethodInfo mi_parse=null;
if (objoutput.datatype=="Int32ToString")
ILParaFunc.Emit(OpCodes.Br,arrlbl1[i]);
else
{
if (objoutput.datatype=="IntBool")
mi_parse= typeof(long).GetMethod("Parse",new Type[]{
typeof(System.String)});
else
mi_parse = field.FieldType.GetMethod("Parse",new Type[]{
typeof(System.String)});
}
ILParaFunc.Emit(OpCodes.Callvirt,mi_parse);
ILParaFunc.Emit(OpCodes.Br,arrlbl1[i]);
}
ILParaFunc.Emit(OpCodes.Pop);
ILParaFunc.Emit(OpCodes.Ldloc,objcasted);
ILParaFunc.Emit(OpCodes.Ldloc,ofieldvalue);
ILParaFunc.Emit(OpCodes.Callvirt,typeof(Object).Ge tMethod("ToString"));

ILParaFunc.MarkLabel(arrlbl1[i]);
ILParaFunc.Emit(OpCodes.Stfld,field);
ILParaFunc.MarkLabel(arrlbl[i]);
}
ILParaFunc.Emit(OpCodes.Ret );
#if (SAVEDATA)
Delegate.CreateDelegate(
typeof(SetValue),
myTypeBuilder.CreateType(),
strMethodName );
myAssembly.Save("sql22.dll");
return (SetValue)Delegate.CreateDelegate(
typeof(SetValue),
myTypeBuilder.CreateType(),
strMethodName );
#else
return (SetValue)Delegate.CreateDelegate(
typeof(SetValue),
myTypeBuilder.CreateType(),
strMethodName );
#endif
7) The Generated IL code that is not working on one machines is
followingc.method
public static void SetValue18(class [System.Data]System.Data.DataRow A_0,
object A_1) cil managed
{
// Code size 355 (0x163)
.maxstack 8
.locals init (class
[DTO]Honda.CASS.DTO.GETEMPLOYEE_RPLY_DATAGETEMPLOYEE_RP LY V_0,
object V_1,
object V_2,
object V_3,
object V_4,
object V_5,
object V_6,
object V_7)
IL_0000: ldarg.1
IL_0001: castclass
[DTO]Honda.CASS.DTO.GETEMPLOYEE_RPLY_DATAGETEMPLOYEE_RP LY
IL_0006: stloc.0
IL_0007: ldstr "Inside Set Value Method"
IL_000c: callvirt void
[System]System.Diagnostics.Trace::WriteLine(string)
IL_0011: ldarg.0
IL_0012: ldstr "branch"
IL_0017: callvirt instance object
[System.Data]System.Data.DataRow::get_Item(string)
IL_001c: stloc.1
IL_001d: ldloc.1
IL_001e: pop
IL_001f: ldloc.0
IL_0020: ldloc.1
IL_0021: callvirt instance string [mscorlib]System.Object::ToString()
IL_0026: stfld string
[DTO]Honda.CASS.DTO.GETEMPLOYEE_RPLY_DATAGETEMPLOYEE_RP LY::BRANCH
IL_002b: ldstr "Inside Set Value Method"
IL_0030: callvirt void
[System]System.Diagnostics.Trace::WriteLine(string)
IL_0035: ldarg.0
IL_0036: ldstr "BranchIdx"
IL_003b: callvirt instance object
[System.Data]System.Data.DataRow::get_Item(string)
IL_0040: stloc.2
IL_0041: ldloc.2
IL_0042: callvirt bool [mscorlib]System.Convert::IsDBNull(object)
IL_0047: brtrue IL_006a
IL_004c: ldloc.0
IL_004d: ldloc.2
IL_004e: callvirt instance string [mscorlib]System.Object::ToString()
IL_0053: callvirt int64 [mscorlib]System.Int64::Parse(string)
IL_0058: br IL_0065
IL_005d: pop
IL_005e: ldloc.0
IL_005f: ldloc.2
IL_0060: callvirt instance string [mscorlib]System.Object::ToString()
IL_0065: stfld int64
[DTO]Honda.CASS.DTO.GETEMPLOYEE_RPLY_DATAGETEMPLOYEE_RP LY::BRANCHIDX
IL_006a: ldstr "Inside Set Value Method"
IL_006f: callvirt void
[System]System.Diagnostics.Trace::WriteLine(string)
IL_0074: ldarg.0
IL_0075: ldstr "first_name"
IL_007a: callvirt instance object
[System.Data]System.Data.DataRow::get_Item(string)
IL_007f: stloc.3
IL_0080: ldloc.3
IL_0081: pop
IL_0082: ldloc.0
IL_0083: ldloc.3
IL_0084: callvirt instance string [mscorlib]System.Object::ToString()
IL_0089: stfld string
[DTO]Honda.CASS.DTO.GETEMPLOYEE_RPLY_DATAGETEMPLOYEE_RP LY::FIRSTNAME
IL_008e: ldstr "Inside Set Value Method"
IL_0093: callvirt void
[System]System.Diagnostics.Trace::WriteLine(string)
IL_0098: ldarg.0
IL_0099: ldstr "id"
IL_009e: callvirt instance object
[System.Data]System.Data.DataRow::get_Item(string)
IL_00a3: stloc.s V_4
IL_00a5: ldloc.s V_4
IL_00a7: callvirt bool [mscorlib]System.Convert::IsDBNull(object)
IL_00ac: brtrue IL_00d1
IL_00b1: ldloc.0
IL_00b2: ldloc.s V_4
IL_00b4: callvirt instance string [mscorlib]System.Object::ToString()
IL_00b9: callvirt int64 [mscorlib]System.Int64::Parse(string)
IL_00be: br IL_00cc
IL_00c3: pop
IL_00c4: ldloc.0
IL_00c5: ldloc.s V_4
IL_00c7: callvirt instance string [mscorlib]System.Object::ToString()
IL_00cc: stfld int64
[DTO]Honda.CASS.DTO.GETEMPLOYEE_RPLY_DATAGETEMPLOYEE_RP LY::ID
IL_00d1: ldstr "Inside Set Value Method"
IL_00d6: callvirt void
[System]System.Diagnostics.Trace::WriteLine(string)
IL_00db: ldarg.0
IL_00dc: ldstr "last_name"
IL_00e1: callvirt instance object
[System.Data]System.Data.DataRow::get_Item(string)
IL_00e6: stloc.s V_5
IL_00e8: ldloc.s V_5
IL_00ea: pop
IL_00eb: ldloc.0
IL_00ec: ldloc.s V_5
IL_00ee: callvirt instance string [mscorlib]System.Object::ToString()
IL_00f3: stfld string
[DTO]Honda.CASS.DTO.GETEMPLOYEE_RPLY_DATAGETEMPLOYEE_RP LY::LASTNAME
IL_00f8: ldstr "Inside Set Value Method"
IL_00fd: callvirt void
[System]System.Diagnostics.Trace::WriteLine(string)
IL_0102: ldarg.0
IL_0103: ldstr "login_name"
IL_0108: callvirt instance object
[System.Data]System.Data.DataRow::get_Item(string)
IL_010d: stloc.s V_6
IL_010f: ldloc.s V_6
IL_0111: pop
IL_0112: ldloc.0
IL_0113: ldloc.s V_6
IL_0115: callvirt instance string [mscorlib]System.Object::ToString()
IL_011a: stfld string
[DTO]Honda.CASS.DTO.GETEMPLOYEE_RPLY_DATAGETEMPLOYEE_RP LY::LOGINNAME
IL_011f: ldstr "Inside Set Value Method"
IL_0124: callvirt void
[System]System.Diagnostics.Trace::WriteLine(string)
IL_0129: ldarg.0
IL_012a: ldstr "status"
IL_012f: callvirt instance object
[System.Data]System.Data.DataRow::get_Item(string)
IL_0134: stloc.s V_7
IL_0136: ldloc.s V_7
IL_0138: callvirt bool [mscorlib]System.Convert::IsDBNull(object)
IL_013d: brtrue IL_0162
IL_0142: ldloc.0
IL_0143: ldloc.s V_7
IL_0145: callvirt instance string [mscorlib]System.Object::ToString()
IL_014a: callvirt int64 [mscorlib]System.Int64::Parse(string)
IL_014f: br IL_015d
IL_0154: pop
IL_0155: ldloc.0
IL_0156: ldloc.s V_7
IL_0158: callvirt instance string [mscorlib]System.Object::ToString()
IL_015d: stfld bool
[DTO]Honda.CASS.DTO.GETEMPLOYEE_RPLY_DATAGETEMPLOYEE_RP LY::ISACTIVE
IL_0162: ret
} // end of method SQLExecSet18::SetValue18
6) The Generated IL code that is working on all machines is following
..method public static void SetValue55(class
[System.Data]System.Data.DataRow A_0,
object A_1) cil managed
{
// Code size 589 (0x24d)
.maxstack 8
.locals init (class
[DTO]Honda.CASS.DTO.GETCASEBYWIPBIN_RPLY_DATAGETCASEBYW IPBIN_RPLY V_0,
object V_1,
object V_2,
object V_3,
object V_4,
object V_5,
object V_6,
object V_7,
object V_8,
object V_9,
object V_10,
object V_11,
object V_12,
object V_13)
IL_0000: ldarg.1
IL_0001: castclass
[DTO]Honda.CASS.DTO.GETCASEBYWIPBIN_RPLY_DATAGETCASEBYW IPBIN_RPLY
IL_0006: stloc.0
IL_0007: ldstr "Inside Set Value Method"
IL_000c: callvirt void
[System]System.Diagnostics.Trace::WriteLine(string)
IL_0011: ldarg.0
IL_0012: ldstr "condition"
IL_0017: callvirt instance object
[System.Data]System.Data.DataRow::get_Item(string)
IL_001c: stloc.1
IL_001d: ldloc.1
IL_001e: pop
IL_001f: ldloc.0
IL_0020: ldloc.1
IL_0021: callvirt instance string [mscorlib]System.Object::ToString()
IL_0026: stfld string
[DTO]Honda.CASS.DTO.GETCASEBYWIPBIN_RPLY_DATAGETCASEBYW IPBIN_RPLY::CONDITION
IL_002b: ldstr "Inside Set Value Method"
IL_0030: callvirt void
[System]System.Diagnostics.Trace::WriteLine(string)
IL_0035: ldarg.0
IL_0036: ldstr "current_location"
IL_003b: callvirt instance object
[System.Data]System.Data.DataRow::get_Item(string)
IL_0040: stloc.2
IL_0041: ldloc.2
IL_0042: pop
IL_0043: ldloc.0
IL_0044: ldloc.2
IL_0045: callvirt instance string [mscorlib]System.Object::ToString()
IL_004a: stfld string
[DTO]Honda.CASS.DTO.GETCASEBYWIPBIN_RPLY_DATAGETCASEBYW IPBIN_RPLY::CURRENTLO
CATION
IL_004f: ldstr "Inside Set Value Method"
IL_0054: callvirt void
[System]System.Diagnostics.Trace::WriteLine(string)
IL_0059: ldarg.0
IL_005a: ldstr "dayspassdue"
IL_005f: callvirt instance object
[System.Data]System.Data.DataRow::get_Item(string)
IL_0064: stloc.3
IL_0065: ldloc.3
IL_0066: callvirt bool [mscorlib]System.Convert::IsDBNull(object)
IL_006b: brtrue IL_008e
IL_0070: ldloc.0
IL_0071: ldloc.3
IL_0072: callvirt instance string [mscorlib]System.Object::ToString()
IL_0077: callvirt int64 [mscorlib]System.Int64::Parse(string)
IL_007c: br IL_0089
IL_0081: pop
IL_0082: ldloc.0
IL_0083: ldloc.3
IL_0084: callvirt instance string [mscorlib]System.Object::ToString()
IL_0089: stfld int64
[DTO]Honda.CASS.DTO.GETCASEBYWIPBIN_RPLY_DATAGETCASEBYW IPBIN_RPLY::DAYSPASSD
UE
IL_008e: ldstr "Inside Set Value Method"
IL_0093: callvirt void
[System]System.Diagnostics.Trace::WriteLine(string)
IL_0098: ldarg.0
IL_0099: ldstr "elm_objid"
IL_009e: callvirt instance object
[System.Data]System.Data.DataRow::get_Item(string)
IL_00a3: stloc.s V_4
IL_00a5: ldloc.s V_4
IL_00a7: callvirt bool [mscorlib]System.Convert::IsDBNull(object)
IL_00ac: brtrue IL_00d1
IL_00b1: ldloc.0
IL_00b2: ldloc.s V_4
IL_00b4: callvirt instance string [mscorlib]System.Object::ToString()
IL_00b9: callvirt int64 [mscorlib]System.Int64::Parse(string)
IL_00be: br IL_00cc
IL_00c3: pop
IL_00c4: ldloc.0
IL_00c5: ldloc.s V_4
IL_00c7: callvirt instance string [mscorlib]System.Object::ToString()
IL_00cc: stfld int64
[DTO]Honda.CASS.DTO.GETCASEBYWIPBIN_RPLY_DATAGETCASEBYW IPBIN_RPLY::ID
IL_00d1: ldstr "Inside Set Value Method"
IL_00d6: callvirt void
[System]System.Diagnostics.Trace::WriteLine(string)
IL_00db: ldarg.0
IL_00dc: ldstr "first_name"
IL_00e1: callvirt instance object
[System.Data]System.Data.DataRow::get_Item(string)
IL_00e6: stloc.s V_5
IL_00e8: ldloc.s V_5
IL_00ea: pop
IL_00eb: ldloc.0
IL_00ec: ldloc.s V_5
IL_00ee: callvirt instance string [mscorlib]System.Object::ToString()
IL_00f3: stfld string
[DTO]Honda.CASS.DTO.GETCASEBYWIPBIN_RPLY_DATAGETCASEBYW IPBIN_RPLY::FIRSTNAME
IL_00f8: ldstr "Inside Set Value Method"
IL_00fd: callvirt void
[System]System.Diagnostics.Trace::WriteLine(string)
IL_0102: ldarg.0
IL_0103: ldstr "id_number"
IL_0108: callvirt instance object
[System.Data]System.Data.DataRow::get_Item(string)
IL_010d: stloc.s V_6
IL_010f: ldloc.s V_6
IL_0111: pop
IL_0112: ldloc.0
IL_0113: ldloc.s V_6
IL_0115: callvirt instance string [mscorlib]System.Object::ToString()
IL_011a: stfld string
[DTO]Honda.CASS.DTO.GETCASEBYWIPBIN_RPLY_DATAGETCASEBYW IPBIN_RPLY::STRID
IL_011f: ldstr "Inside Set Value Method"
IL_0124: callvirt void
[System]System.Diagnostics.Trace::WriteLine(string)
IL_0129: ldarg.0
IL_012a: ldstr "last_name"
IL_012f: callvirt instance object
[System.Data]System.Data.DataRow::get_Item(string)
IL_0134: stloc.s V_7
IL_0136: ldloc.s V_7
IL_0138: pop
IL_0139: ldloc.0
IL_013a: ldloc.s V_7
IL_013c: callvirt instance string [mscorlib]System.Object::ToString()
IL_0141: stfld string
[DTO]Honda.CASS.DTO.GETCASEBYWIPBIN_RPLY_DATAGETCASEBYW IPBIN_RPLY::LASTNAME
IL_0146: ldstr "Inside Set Value Method"
IL_014b: callvirt void
[System]System.Diagnostics.Trace::WriteLine(string)
IL_0150: ldarg.0
IL_0151: ldstr "next_contact_date"
IL_0156: callvirt instance object
[System.Data]System.Data.DataRow::get_Item(string)
IL_015b: stloc.s V_8
IL_015d: ldloc.s V_8
IL_015f: callvirt bool [mscorlib]System.Convert::IsDBNull(object)
IL_0164: brtrue IL_0189
IL_0169: ldloc.0
IL_016a: ldloc.s V_8
IL_016c: callvirt instance string [mscorlib]System.Object::ToString()
IL_0171: callvirt valuetype [mscorlib]System.DateTime
[mscorlib]System.DateTime::Parse(string)
IL_0176: br IL_0184
IL_017b: pop
IL_017c: ldloc.0
IL_017d: ldloc.s V_8
IL_017f: callvirt instance string [mscorlib]System.Object::ToString()
IL_0184: stfld valuetype [mscorlib]System.DateTime
[DTO]Honda.CASS.DTO.GETCASEBYWIPBIN_RPLY_DATAGETCASEBYW IPBIN_RPLY::NEXTCONTA
CTDATE
IL_0189: ldstr "Inside Set Value Method"
IL_018e: callvirt void
[System]System.Diagnostics.Trace::WriteLine(string)
IL_0193: ldarg.0
IL_0194: ldstr "oldaccno"
IL_0199: callvirt instance object
[System.Data]System.Data.DataRow::get_Item(string)
IL_019e: stloc.s V_9
IL_01a0: ldloc.s V_9
IL_01a2: pop
IL_01a3: ldloc.0
IL_01a4: ldloc.s V_9
IL_01a6: callvirt instance string [mscorlib]System.Object::ToString()
IL_01ab: stfld string
[DTO]Honda.CASS.DTO.GETCASEBYWIPBIN_RPLY_DATAGETCASEBYW IPBIN_RPLY::OLDACCOUN
TNUMBER
IL_01b0: ldstr "Inside Set Value Method"
IL_01b5: callvirt void
[System]System.Diagnostics.Trace::WriteLine(string)
IL_01ba: ldarg.0
IL_01bb: ldstr "orig_branch_no"
IL_01c0: callvirt instance object
[System.Data]System.Data.DataRow::get_Item(string)
IL_01c5: stloc.s V_10
IL_01c7: ldloc.s V_10
IL_01c9: pop
IL_01ca: ldloc.0
IL_01cb: ldloc.s V_10
IL_01cd: callvirt instance string [mscorlib]System.Object::ToString()
IL_01d2: stfld string
[DTO]Honda.CASS.DTO.GETCASEBYWIPBIN_RPLY_DATAGETCASEBYW IPBIN_RPLY::ORIGINATI
NGBRANCH
IL_01d7: ldstr "Inside Set Value Method"
IL_01dc: callvirt void
[System]System.Diagnostics.Trace::WriteLine(string)
IL_01e1: ldarg.0
IL_01e2: ldstr "originator"
IL_01e7: callvirt instance object
[System.Data]System.Data.DataRow::get_Item(string)
IL_01ec: stloc.s V_11
IL_01ee: ldloc.s V_11
IL_01f0: pop
IL_01f1: ldloc.0
IL_01f2: ldloc.s V_11
IL_01f4: callvirt instance string [mscorlib]System.Object::ToString()
IL_01f9: stfld string
[DTO]Honda.CASS.DTO.GETCASEBYWIPBIN_RPLY_DATAGETCASEBYW IPBIN_RPLY::ORIGINATO
R
IL_01fe: ldstr "Inside Set Value Method"
IL_0203: callvirt void
[System]System.Diagnostics.Trace::WriteLine(string)
IL_0208: ldarg.0
IL_0209: ldstr "title"
IL_020e: callvirt instance object
[System.Data]System.Data.DataRow::get_Item(string)
IL_0213: stloc.s V_12
IL_0215: ldloc.s V_12
IL_0217: pop
IL_0218: ldloc.0
IL_0219: ldloc.s V_12
IL_021b: callvirt instance string [mscorlib]System.Object::ToString()
IL_0220: stfld string
[DTO]Honda.CASS.DTO.GETCASEBYWIPBIN_RPLY_DATAGETCASEBYW IPBIN_RPLY::TITLE
IL_0225: ldstr "Inside Set Value Method"
IL_022a: callvirt void
[System]System.Diagnostics.Trace::WriteLine(string)
IL_022f: ldarg.0
IL_0230: ldstr "type"
IL_0235: callvirt instance object
[System.Data]System.Data.DataRow::get_Item(string)
IL_023a: stloc.s V_13
IL_023c: ldloc.s V_13
IL_023e: pop
IL_023f: ldloc.0
IL_0240: ldloc.s V_13
IL_0242: callvirt instance string [mscorlib]System.Object::ToString()
IL_0247: stfld string
[DTO]Honda.CASS.DTO.GETCASEBYWIPBIN_RPLY_DATAGETCASEBYW IPBIN_RPLY::TYPE
IL_024c: ret
} // end of method SQLExecSet55::SetValue55
Jul 21 '05 #1
0 1690

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Darren Thomas | last post by:
Hi all, In a C# solution I'm using a C++ makefile project to register my C# assemblies in the GAC and COM+. The C++ project is set to "utility" and I'm using the pre-build step to call the...
9
by: Ender | last post by:
I have an application that I would like third party developers to be able to create Plug-ins that will be dynamically loaded into our application to extend functionality. I have utilized the...
4
by: BrianS | last post by:
What is the best strategy for dynamic loading private assemblies in asp.net? I understand, and have confirmed, that any dll placed in the app's /bin dir will get loaded on startup. This is not...
0
by: Andy | last post by:
Hey All, I'm a beginner with VB.Dotnet Deployment and I'm a little confused about some very basic deployment issues . . . I've now created some core assemblies that will be used throughout all...
6
by: AA | last post by:
Hi all, I have created a .Net control for myself, and put it inside the folder "framework\v1.1.4322". Then, I create a new project, reference the dll and draw the control on the window form....
0
by: john | last post by:
Hi,All Gurus: It is kind of complicated, please bear with me and let me know if you have any questions. Thanks a lot in advance. John I have a csharp method, using emit to dynamically generate...
2
by: allfyre | last post by:
Ok, to make a long story short, I'm Emitting some MSIL from a c# application. I know that THIS is the MSIL I want to be emitting: //**************************************************************...
6
by: tony | last post by:
Hello! I have several projects where each one build a library.(class library or window control library). Now I get some strange compile error when building the *.exe file and doesn't...
160
by: DiAvOl | last post by:
Hello everyone, Please take a look at the following code: #include <stdio.h> typedef struct person { char name; int age; } Person;
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.