BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Newbie Question - Com Object

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation
View previous topic :: View next topic  
Author Message
Adele le Roux
Guest





PostPosted: Mon Nov 24, 2003 2:06 pm    Post subject: Newbie Question - Com Object Reply with quote



Hi All,

I recently wrote my first com object and I am having the following
problem...
I call my com object from a stored procedure in SQL Server and I get the
following error when the object is created. If I create the said com object
using a delphi application I get no errors.
Number: -2147467262
Description: No such interface supported
What I have done in the mean time (to get this up and running) is to create
a standard windows DLL (using Delphi) and created an ActiveX DLL in Visual
basic that calls the said delphi DLL. I am really confused as to why the
delphi com object does not work. Here is the steps that I followed to
create my com object (just a quick test com object).
I create a new ActiveX Library (File > New > ActiveX > ActiveX Library).
Then I create a com object within the activx library (File > New > ActiveX >
Com Object). I then create a new method and select a widestring (Bstr) as
the result type. When I call it from within SQL server I get the above
mentioned error. Does anyone have an idea what that means??? The class
string referred to in the SQL stored procedure is right as it gives another
error if it is not. PLEEEEEEEEEEEEEEEEEEAAASE HELP!!!

Thanks a million,
Adele


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.