This all great info guys. Thanks!
I don't quite have the big picture clear in my head. I think they have a server
in their office running the software and database that supports the API.
Can I access the data via the API using CF on any remote server? Do I need to
install the COM object on the remote server running the website??
Can't I just use:
<cfobject
class = "program ID"
name = "instance name"
action = "connect"
context = "remote"
server = "address of server running the database and API">
type = "com">
I wish I could get my hands on the current PHP website that's set up for this.
>First off, your server of course has to be Windows and can't be 64bit
>which doesn't have COM support.
>
>Then you install and register the COM object on your server.
>
>Once that's done, you instantiate it the way you're getting at:
>API = createObject("com", "registeredComObjectNameHere");
>
>then access the methods on it:
>userProfile = API.cUserInfo();
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349749
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm