Applies to: Clarion 5.5 32-bit ABC app, as named in the thread; WinFax versions 8 to 10.0.2.
Problem
The poster had written a free template that talked to WinFax over DDE. It worked with WinFax from version 8 on, but DDE became less reliable. Version 10.0 of WinFax works with DDE but is not XP certified; 10.0.2 is XP certified but does not work with DDE at all. He asked for a COM class or template set he could drop into his app. He knew a report-bound fax product, but understood it works only with that vendor's reports.
Solution
- WinFax ships with an SDK on its CD. A poster translated the VB examples into Clarion.
- The SDK objects do not appear in the registry list inside Clarion. Define them as the SDK describes and then use them like a normal OCX. The sample used an OLE control hidden on the window:
OLE,AT(76,92,8,8),USE(?Fax),HIDE,CREATE('WinFax.SDKLog'),COMPATIBILITY(020H)
- One poster used the SDK with classes generated from the OLE objects.
- Third-party wrappers were announced in the thread (a WinFax automation interface due in November 2002) but not yet released.
Caveats
- When unimodem support is installed, the first send worked and later sends gave the error "Commx already open: Reset and retry". Resetting did not help. The poster did not find a cure; a user without unimodem support was not affected.
- The thread does not show a full working template. The original poster only wrote that he had e-mailed a contributor for more details.
Today (2026)
Not re-tested; WinFax itself is long out of use. The OLE-control approach is likely still the way to reach any COM server from a Clarion window.
Sources: Trevor C. (Oct 2002, the question), Larry T., Steve J., Arnor B., Richard R., Chris B., Dinko B. (Oct 2002) in softvelocity.products.c55ee.