Return " Message: " cObject.Message " Number: " cObject. Public string PaymentDetails(ComplexObject cObject) String PaymentDetails(ComplexObject cObject) By capturing the error codes and the line exactly where it occurs, I found that its normally the long line of entry in the text file that throws the error (or may be a special hidden character). Public class ComplexObject : IComplexObject However for some files, it will throw error 'invalid procedure call or argument'. Executed the following in Visual Studio Command Prompt in bin\Release folder VBScript (server-side) on ClassicASPHome.asp page:Ĭode Snippet: // C# Code (ClassicASPCOM.dll) built with Strong Name and Registered for COM Interop: ![]() ![]() While the server object is getting createdĪnd the string passed to the COM method, any attempt to pass an argument of complex type goes in vain. Basically, I am new to Classic ASP and VBScript, and got this "VBScript runtime error: Invalid procedure call or argument", while trying to pass an argument of complex type to the COM method (vide screenshot below).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |