Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resource File Version Mismatch
Message
 
To
11/03/2009 04:39:18
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01387062
Message ID:
01387064
Views:
57
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform