Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help: 'Invalid class string' error when calling XMLToCursor
Message
From
25/01/2002 11:13:14
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Help: 'Invalid class string' error when calling XMLToCursor
Miscellaneous
Thread ID:
00610528
Message ID:
00610528
Views:
51
Hi all,
When I run the following lines of code in another workstation, I received this error: 'OLE error code 0x800401f3: Invalid class string'.

Please advice. Thank you.
loSummary = CREATEOBJECT("SummaryData")
lcXMLData = loSummary.Summary()
*&
= XMLTOCURSOR(lcTodayData, "cTodaySummary")  && Error occurred here.

DEFINE CLASS SummaryData AS Session

  PROCEDURE Summary
       LOCAL lcXML
            USE "TodaySummary" ALIAS "cToday"
            = CURSORTOXML("cToday", "lcXML", 1, 0, 0, "1")
            USE IN "cToday"
       RETURN lcXML
  ENDPROC

ENDDEFINE
Wan
Next
Reply
Map
View

Click here to load this message in the networking platform