Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error using _DateTime.vcx/_OLECalendar class on Win10
Message
From
01/12/2015 22:26:47
 
 
To
01/12/2015 17:00:44
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01628212
Message ID:
01628237
Views:
45
It's probably not the controls but rather the support libraries. I have the necessary dll's baked into our installer, and have not had any problems using the mscomct2 calendar, and any machines including Win 10. I'm not using the same VCX (baked my own to suit our purposes), but your problem seems to be with the control, not the class wrapping it.

>I have 2 apps that use the _OLECalendar class of the VFP FFC class _DateTime.vcx.
>
>Both work fine on Win7.
>
>On Win10, when invoking the calendar, one app works fine. The other crashes with an error: "DdeReq failed C 4006".
>
>The two apps use slightly different versions of _DateTime.vcx. However, I rebuilt the problem app with the VCX from the "good" one and the problem persists.
>
>In the _OLECalendar class, its .OLEClass property shows as MsComCtl2.MonthView.2 . I'm guessing a "DdeReq" error may refer to Dynamic Data Exchange (DDE) which AFAIK VFP doesn't use directly, but an ActiveX/OCX might.
>
>The next step will be to dive into the implementation details of that class in these two different apps, but I'd appreciate it if anyone has seen an error like this before and can offer some ideas.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform