Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Resource File Version Mismatch
Message
 
À
11/03/2009 04:39:18
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01387062
Message ID:
01387064
Vues:
55
Hi Agnes.Thanks for replying

Yes.. the DLL is a VFP DLL
A very simple dll... see below.

___________________________________________________
*
* MYDLL.PRG
*
DEFINE CLASS MYCLASS AS Session OLEPUBLIC
cStartPath = ""
PROCEDURE Init
** Set commands for COM SEvers
SET RESOURCE OFF
SET EXCLUSIVE OFF
SET REPROCESS TO 2 SECONDS
SET CPDIALOG OFF
SET DELETED ON
SET EXACT ON
SET SAFETY OFF

** sAVE SERVER STARTUP PATH
This.cStartpath = ADDBS(JUSTPATH(Application.ServerName))
SET PATH TO (This.cStartPath)
ENDPROC

PROCEDURE MYMETHOD
RETURN "ABC 123"
ENDPROC

ENDDEFINE
________________________________________________________






>Gerard,
>
>Is MYDLL a VFP DLL? Then there might be a foxuser inside the dll that does not fit to your VFP.
>
>Agnes
>>Hi.
>>When I issue following command
>>X=CREATEOBJECT("MYDLL.MYCLASS")
>>I get a Resource File Version Mismatch and then and then an OLE error code
>>
>>I have deleted FOXUSER.* but message still comes up.
>>Anybody any ideas whats casuing this.
>>Regards,
>>Gerard
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform