Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using 16-bit DLLs
Message
De
19/11/2004 23:42:34
 
 
À
15/11/2004 05:44:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows '98
Database:
Visual FoxPro
Divers
Thread ID:
00961338
Message ID:
00963145
Vues:
9
Hi
>
>I need to use 16-bit dll (not possible to recompile in 32-bit) in vfp 8, in my old programs on vfp6 it works fine including Ddereg.exe in program directory. Now I ported the application in vfp8 it works fine in Win xp in win 98 it is possible to run the program only one time. If I close the program and start again it stop when declaring the dll with regfn it seems that ddereg.exe is not available. If I close the machine and start again I am able to run my program (only one time).

Since you say it works if called from vfp6, I'ld go for a temprorary solution and create a small vfp6 COM exe which does nothing but calling the 16-bit dll. From the behaviours you describe you should be able to run the rest of your app ported to vfp8 and execute the calls to 16 bit via calling the vfp6 COM component.

If you have isolated the calls into a com exe, try to isolate the different DDE behaviour in vfp6 and vfp8 (even better: try as soon as possible with vfp9 open beta) by porting that COM exe to vfp9. If the error still exists, you should have a fairly short code sample to send to MS to get the problem resolved, while you are calling the 16-bit-dll a bit slower via vfp6. But the [in my eyes] important step is to get a reproducible error for MS.

HTH

thomas
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform