Hi RebeccaG, About the second question,I find the error message: Unhandled Exception: System.ArgumentOutOfRangeException: startIndex cannot be larger than length of string. Parameter name: startIndex ...
See more...
Hi RebeccaG, About the second question,I find the error message: Unhandled Exception: System.ArgumentOutOfRangeException: startIndex cannot be larger than length of string. Parameter name: startIndex at System.String.Substring (System.Int32 startIndex, System.Int32 length) [0x00037] in :0 at System.String.Substring (System.Int32 startIndex) [0x00008] in :0 at ds2xdriver.ds2Interface.ds2purchase (System.Int32 cart_items, System.Int32[] prod_id_in, System.Int32[] qty_in, System.Int32 customerid_out, System.Int32& neworderid_out, System.Boolean& IsRollback, System.Double& rt) [0x00252] in :0 at ds2xdriver.User.Emulate () [0x00fc8] in :0 at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00017] in :0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x0008d] in :0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in :0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00031] in :0 at System.Threading.ThreadHelper.ThreadStart () [0x0000b] in :0 [ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentOutOfRangeException: startIndex cannot be larger than length of string. Parameter name: startIndex at System.String.Substring (System.Int32 startIndex, System.Int32 length) [0x00037] in :0 at System.String.Substring (System.Int32 startIndex) [0x00008] in :0 at ds2xdriver.ds2Interface.ds2purchase (System.Int32 cart_items, System.Int32[] prod_id_in, System.Int32[] qty_in, System.Int32 customerid_out, System.Int32& neworderid_out, System.Boolean& IsRollback, System.Double& rt) [0x00252] in :0 at ds2xdriver.User.Emulate () [0x00fc8] in :0 at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00017] in :0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x0008d] in :0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in :0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00031] in :0 at System.Threading.ThreadHelper.ThreadStart () [0x0000b] in :0 How to slove it Thanks Wen