Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with API_APPRUN classe
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00454101
Message ID:
00454281
Vues:
38
I think I will ask my question in an another way.

I download the class API_APPRUN.
I changed nothing to the class.
I add SET CLASSLIB TO PROCESS ADDITIVE.
I create a small form with a button.
When I click it does:

oProcess = CREATEOBJ('API_AppRun','NOTEPAD.EXE AUTOEXEC.BAT','C:\','NOR')
oProcess.LaunchApp()

(Code like in the sample in FAQ)

When it run it fails and I receive an error

Pgm:API_APPRUN.LAUNCHAPP/Line: 102
Err.mess.:Data type mismatch.

So one of the parameter is of the wrong type. I tried with the debugger to see which one but with any succes.

Note : I am no expert with API Calls.

Does this works with Win98? Probably yes. I use other classes from Web Connection and API calls works fine.

May be I am forgetting something like an another class, a call?

Any idea would be very appreciated, since I need exactly this functionality.

Thank's
Eric.
Eric.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform