Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Prob with XMLToCursor() in VFP 7
Message
De
13/02/2004 14:58:07
 
 
À
13/02/2004 12:26:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00876826
Message ID:
00877244
Vues:
15
Hi Fred,

I downloaded MSFT's SP4 install for these files but after installing it, it only installed msxml3.dll and msxml3r.dll (on an XP Pro machine) and on my PC (a W2K Pro machine) it did not update the msxml3a.dll file. My "guess" is that the msxml3a.dll file is not needed - it has the name "XML Resources" as does the msxml3r.dll file so maybe the "a" file is an older version that got on my machine somehow. I tried the function on the user's machine and it seemed to work - but then it worked 50% of the time for the user before so I will have to wait and see if it works 100% of the time.

I did not manually register the dll using regsvc and it seemed to work so can I assume that the Windows Installation program does this?

Thanks,
Albert

>Hi Albert,
>
>It seems only the msxml3.dll woiuld need to be registered on each machine. The other DLL files only have to be copied to the appropriate place.
>
>
>
>>Hi Fred,
>>
>>After reading the below, I found another thread that gave a link to the latest (I hope) msxml3?.dll's on MSFT. These are MSXML3.dll, MSXML3A.dll and MSXMLR.DLL SP4. There is a MSXML3USA.msi file to download. Do I need to run that .msi file on each and every computer in the office? In the past, I could just put up my .exe and VFP run time files in the company's app directory and away we went - I guess that I will now have to do more work to deploy changes if I have to start registering these dll's on every PC. Note that I do not install VFP on the user's local machine: it is just up on their network.
>>
>>Albert
>>
>>>http://fox.wikis.com/wc.dll?Wiki~VFP7RuntimeFiles~VFP
>>>
>>>
>>>>Hi Y'all,
>>>>
>>>>I have tried to issue the following command:
>>>>
>>>>XMLTOCURSOR(lcXMLData,tcCursorName,4)
>>>>
>>>>where lcXMLData is an XML string held in a memvar, without a scheme (or it is an "embedded" schema) and tcCursorName is "CorrespondenceTypes" and 4 means "retain white space". Users get a bomb every 2nd time they run this code (why it does not happen every time, I have no idea - and note, the user can use it one time but then not the next time and visa versa).
>>>>
>>>>The error that is thrown is "create cursor CorrespondenceTypes from array _XMLCalvinh"
>>>>
>>>>I did a search hear and for that user, the answer was to install a new version of MSXML 3.0. I have not tried this (yet) - it seemed like the answer was that to use XMLTOCURSOR() that this .dll had to be installed - but I thought that VFP did not rely upon installing new .dlls along with the product. Do I have to install it on every person's PC or can I just dump it into the default directory for the app (which is what I have done with a couple other dll's that I have had to use over time).
>>>>
>>>>Thanks,
>>>>Albert
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform