I received 3 or 4 replies to this subject on the 27th and I think 1 on the 28th, plus what I have today. So the messages appear to be getting to me on the day they are sent out.
Dawn -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christopher Jordan Sent: Thursday, March 29, 2007 9:43 AM To: Dallas/Fort Worth ColdFusion User Group Mailing List Subject: Is there a problem with the list? [was: Re: [DFW CFUG] Need help instantating a COM object in CF7... It's my first time... :o(] Dave is there a problem with the list? I've brought up this subject before, but no one ever responded to it. Your response (as well as others) was sent on 03/27, but I'm just now getting it (03/29)... I'm signed up with other lists, and I don't have this problem. I'm wondering if it's just me. If so, I may need to sign up for the list with a different email address. Thanks, Chris Dave Shuck wrote: > Christopher is the DLL registered on the system? When I have used COM > objects, I have instantiated them by the class name that they system > knows it by rather than how you would instantiate a CFC in a particular > dot delimited path from your web root. > > ~Dave > > On 3/27/07, *Christopher Jordan* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Hi folks, > > I really need some help instantiating a COM object. > > I've been given a .dll file, and been told that it is the COM object, > but I don't know how to instantiate it. I thought it would be simple. > I've tried: > > <cfset BBAPI = CreateObject("COM", "COM.BBAPI")> > > The directory is COM and the dll is called BBAPI. I thought maybe it was > a path thing, but I tried instantiating a CFC (whose directory is on > the > same level as the COM directory) and it worked like a champ. > > The only thing mentioned about instantiating the object is mentioned in > his component summary. The first two items are: > > Type: COM > Name: BBAPI > Note: Used for instantiating the object > > Type: Class > Name: API > Note: Used for instantiating the object. (i.e. CreateObject BBAPI.API) > > I've tried: > > <cfset BBAPI = CreateObject("COM", " COM.API")> > <cfset BBAPI = CreateObject("COM", "COM.BBAPI")> > <cfset BBAPI = CreateObject("COM", "COM.BBAPI.API")> > <cfset BBAPI = CreateObject("COM", " COM.BBAPI.dll")> > > I just don't know what to do. The docs say that I need: > > <cfset BBAPI = CreateObject("COM", "class")> > > Well according to what I'm reading the class is "API". > > Can someone help me please? :o) > > Chris > > _______________________________________________ > Reply to DFWCFUG: > [email protected] <mailto:[email protected]> > Subscribe/Unsubscribe: > http://lists1.safesecureweb.com/mailman/listinfo/list > List Archives: > http://www.mail-archive.com/list%40list.dfwcfug.org/ > <http://www.mail-archive.com/list%40list.dfwcfug.org/> > http://www.mail-archive.com/list%40dfwcfug.org/ > DFWCFUG Sponsors: > www.instantspot.com/ <http://www.instantspot.com/> > www.teksystems.com/ <http://www.teksystems.com/> > > > > > -- > ~Dave Shuck > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > www.daveshuck.com <http://www.daveshuck.com> > > Where's your Spot? > www.instantspot.com <http://www.instantspot.com> > > > ------------------------------------------------------------------------ > > _______________________________________________ > Reply to DFWCFUG: > [email protected] > Subscribe/Unsubscribe: > http://lists1.safesecureweb.com/mailman/listinfo/list > List Archives: > http://www.mail-archive.com/list%40list.dfwcfug.org/ > http://www.mail-archive.com/list%40dfwcfug.org/ > DFWCFUG Sponsors: > www.instantspot.com/ > www.teksystems.com/ _______________________________________________ Reply to DFWCFUG: [email protected] Subscribe/Unsubscribe: http://lists1.safesecureweb.com/mailman/listinfo/list List Archives: http://www.mail-archive.com/list%40list.dfwcfug.org/ http://www.mail-archive.com/list%40dfwcfug.org/ DFWCFUG Sponsors: www.instantspot.com/ www.teksystems.com/ _______________________________________________ Reply to DFWCFUG: [email protected] Subscribe/Unsubscribe: http://lists1.safesecureweb.com/mailman/listinfo/list List Archives: http://www.mail-archive.com/list%40list.dfwcfug.org/ http://www.mail-archive.com/list%40dfwcfug.org/ DFWCFUG Sponsors: www.instantspot.com/ www.teksystems.com/
