Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wierd COM+ behavior
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00905887
Message ID:
00906124
Views:
12
Craig,

I tried accessing my mtdll from VFP 8.0 and got an error message "File access denied". So I changed my USE statement by adding the SHARED NOUPDATE clauses and the dll worked. Now my question is why, when I set Exclusive off in the mtdll code, do I need to add these clauses? I SET EXCLUSIVE OFF in the beginning of the code but outside the OLEPUBLIC class. Do I need to place all my SET environment statements inside the class?

Joel

>>Craig,
>>
>>I initially tried installing the DLL using the Component Services Manager. I had the same problem described below...so I deleted it from the Component Services Manager and registered the mtdll using REGSVR32. Still the same problem exists.
>>
>>No I haven't tried calling the DLL from VFP before re-registering it. What is the purpose of trying it from VFP?
>>
>>Joel
>>
>
>It's a test to see if it's truely not registered or if it's an issue with Excel.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform