The CFX API has a number of different limitations that might hamper certain
solutions but there are some established work arounds to those limitations.
Likewise, as you are certainly aware, your C++ solution may not be the most
portable if you must address a cross platform solution. All of the old
Allaire and current Macromedia documentation for writing C++ CFXs tend to
increase porting problems.
<selfpromotion>
You might consider picking up a copy of the ColdFusion MX Developer's
Handbook. Chapter 21 covers writing C++ CFXs and discusses how to handle
some of the porting issues. Specifically, it shows how to use the STL for
basic services which the Allaire/Macromedia examples immediately fall into
platform specific libraries (such as using the STL string library vs.
Microsoft's MFC CStr). Likewise there are some tips in Chapter 20 (which is
targeted at Java) that are equally useful for doing certain things in C++).
</selfpromotion>
Good luck.
rish
________________________________
From: Simon Smith [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 05, 2004 3:28 AM
To: CF-Talk
Subject: Coldfusion and C++
Hi,
I'm an experienced CF/Java/Php developer creating a framework for
API calls
in C++ (it needs to be in C++ for historic reasons) Are there any
pitfalls
using the cfx tags to integrate Coldfusion and C++? Has anyone got
any
advice on this ?
Legal Marketing Services Ltd.
LMS House, Lloyd Drive, Cheshire Oaks Business Park, Cheshire, CH65
9HQ
Tel: 0870 907 9400 Fax: 0870 907 9410 www.lmsuk.com
CONFIDENTIALITY NOTICE
This communication and the information it contains is intended for
the
person or organisation to whom it is addressed. Its contents are
confidential and may be protected in law. Unauthorised use, copying
or
disclosure of any of it may be unlawful. If you are not the intended
recipient, please contact us immediately.
________________________________
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

