the cf syntax isn't much different.

<cfset  objUserProfile  = CreateObject("COM","API.cUserInfo")>

http://cfquickdocs.com/cf9/#createobject.comobject

then you just call the methods of  objUserProfile

<cfset foo =  objUserProfile.method(params)>




On Wed, Feb 1, 2012 at 11:04 PM, jack Lemay <[email protected]>wrote:

>
> Hey everyone,
>
> I've been asked to work on a website that interacts with a database via an
> API. I have the manual to the API and think I may be in over my head, but
> would like to explore this a little more. Is it as Daunting as it looks?
> The database is set up and the current old website (php) uses this API to
> interact with the website, mostly letting customers update account info
> from the website. I don't have access to the current website files.
>
> About the API:
>
> This ..." API is a COM+ application. It
> provides a set of COM objects that can be manipulated by COM-
> compliant development tools such as Visual Basic, Visual C++, Visual
> C#, VSTA and so on. "
>
> The manual lists classes with input paramaters and return values like:
>
> "Example
>
> The following example shows how to create a new user profile once the
> account has been validated:
>
> Dim objUserProfile as Object
> Dim lRetCode as Integer
> ‘
> Set objUserProfile = CreateObject("API.cUserInfo")
>
> "
>
> I've been using CF for years, but don't know how to integrate with this.
>
> Any tips or suggestions on where to look for help on this? Or does this
> require knowledge of a different language altogether?
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:349731
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to