Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get DDEInitiate() to work in RunTime Version.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00183907
Message ID:
00184079
Vues:
19
>>Have you tried something like:
>>
>>llddeenabled = DDEENABLED()
>>IF NOT llddeenabled
>>  = DDEENABLED(.T.)
>>  * Your processing here
>>ENDIF
>>= DDEENABLED(llddeenabled)
>
>
>No I hadn't exactly. But I just did something similar.
>I ran this on the same machine, once under the Development version and once under the run-time version. With the following results:
>
>
                    && Under Developer       Under Run-Time
>? ddeenabled()           &&  .T.                      .F.
>? ddeenabled(.t.)        &&  .T.                      .F.
>? ddeenabled()           &&  .T.                      .F.
>? ddelasterror()         &&   0                       10
>
>
Well, as Erik suggested, it looks like it's time for OLE Automation rather than DDE. I mentioned earlier that in FPW I had interfaced with Lotus 1-2-3 using DDE. Unfortunately, with the release of SmartSuite 97, Lotus products no longer support the DDE interface. So I'm having to create an OLE interface under VFP 6.0 with it. One interesting thing of note: That error that's reported evaluates to "no DDEInitiate()".

Sorry,
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform