Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help: 'Invalid class string' error when calling XMLToCursor
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Help: 'Invalid class string' error when calling XMLToCursor
Divers
Thread ID:
00610528
Message ID:
00610528
Vues:
52
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform