Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ColdFusion and Fox objects
Message
De
05/02/2001 13:09:24
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00471886
Message ID:
00472557
Vues:
31
>>>I have been working with Cold Fusion for some time now and have gave up on getting Cold Fusion to work with VFP COM objects. I called Allaire on the issue and this is what I posted before:
>>>
>>>We received a call from Allaire yesterday on this issue and the bottom line is that Cold Fusion does not work well with VFP Component Object Model objects because VFP uses Variant typing (we dont have strict typing yet).
>>>
>>>They indicated that it may change in a new version, but I dont get any warm fuzzies about that promise coming true.
>>>
>>>****
>>>
>>>So since I am forced to use Cold Fusion, I made calls to FoxWeb to perform all my Data Manipulation. Cold Fusion can do all the data queries OK, but I let FoxWeb handle updates and business rules for the web application.
>>
>>
>>I use VFP Objects with my CF pages all the time. The only issue I've found is that I can't pass parameters to the methods of the object. Instead, I have to set properties on the object and refer to those in my methods.
>
>Yeah Steve I have seen that, but to me the object calls did not work all the time even with using properties. The flakiness was really wasting my time. Could you tell me what version of CF are you using and what OS is your server running. Also it could be helpful to others who look at this thread in the future if you would put some CF code showing how you declare the object and set the properties and call the methods.

I have had no problems with my objects and nearly every page on our Intranet uses them. Were are running CF Enterprise 4.01 on NT 4 SP 4. Here is some sample code:










Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform