Click here to Skip to main content
16,005,162 members
Home / Discussions / COM
   

COM

 
GeneralReturning a COM object Pin
10-Apr-02 17:17
suss10-Apr-02 17:17 
GeneralRe: Returning a COM object Pin
Paul M Watt10-Apr-02 17:36
mentorPaul M Watt10-Apr-02 17:36 
GeneralRe: Returning a COM object Pin
Mazdak10-Apr-02 20:00
Mazdak10-Apr-02 20:00 
GeneralC++ COM and VB Pin
Philip Patrick10-Apr-02 2:25
professionalPhilip Patrick10-Apr-02 2:25 
GeneralRe: C++ COM and VB Pin
Mazdak10-Apr-02 3:02
Mazdak10-Apr-02 3:02 
GeneralRe: C++ COM and VB Pin
Philip Patrick10-Apr-02 3:36
professionalPhilip Patrick10-Apr-02 3:36 
GeneralHi, Mazdak, I still have a question here Pin
chq129-Apr-02 10:35
chq129-Apr-02 10:35 
GeneralRe: Hi, Mazdak, I still have a question here Pin
Mazdak10-Apr-02 0:58
Mazdak10-Apr-02 0:58 
chq12 wrote:
another used to implement rules. But how to realize it.

Sorry,what do you mean by rules?

I have sample code that work with ADO objects in a COM object,and pass from client to server.Yuo can tell me your email to send it for you.


If you want to use first COM object in second one use CreateInstance() in the Method you to use it and create first object in second one and here you can access to Methods and properties of first object.Imagine second COM object as a simple client application and first one is a regular COM onject.

You can pass _ConnectionPtr,_CommandPtr as parameter I don't THINK there is limitation for it,whats your problem for that?
Again use CreateInstance() to initialize them and pass it to COM object.In my application I pass strings to COM object and use those strings for _ConnectionPtr or _CommandPtr ,I think this really safer and better than passig the _ConnectionPtr and _CommandPtr themselves. I think its waste time and codes to create two object and use one for only pass those objects,you can pass simple strings and use them in one object. Smile | :)

Mazy

"The path you tread is narrow and the drop is shear and very high,
The ravens all are watching from a vantage point near by,
Apprehension creeping like a choo-train uo your spine,
Will the tightrope reach the end;will the final cuplet rhyme?"Cymbaline-Pink Floyd

GeneralRe: Hi, Mazdak, I still have a question here Pin
chq1211-Apr-02 6:41
chq1211-Apr-02 6:41 
GeneralMy ASP Component freezes the IIS Pin
hAMMER tHE mADdOG8-Apr-02 23:19
hAMMER tHE mADdOG8-Apr-02 23:19 
GeneralRe: My ASP Component freezes the IIS Pin
14-Apr-02 20:35
suss14-Apr-02 20:35 
QuestionCOM book recommendations? Pin
moliate8-Apr-02 6:39
moliate8-Apr-02 6:39 
AnswerRe: COM book recommendations? Pin
Joao Vaz9-Apr-02 0:10
Joao Vaz9-Apr-02 0:10 
GeneralRe: COM book recommendations? Pin
moliate10-Apr-02 9:46
moliate10-Apr-02 9:46 
GeneralUserId of calling process Pin
StefanM8-Apr-02 3:53
StefanM8-Apr-02 3:53 
GeneralCOM object passing Pin
7-Apr-02 16:17
suss7-Apr-02 16:17 
GeneralRe: COM object passing Pin
Mazdak8-Apr-02 4:29
Mazdak8-Apr-02 4:29 
GeneralRe: COM object passing Pin
8-Apr-02 14:53
suss8-Apr-02 14:53 
GeneralRe: COM object passing Pin
Mazdak9-Apr-02 1:19
Mazdak9-Apr-02 1:19 
GeneralRe: COM object passing Pin
el davo9-Apr-02 18:54
el davo9-Apr-02 18:54 
GeneralRe: COM object passing Pin
Sam Strachan10-Apr-02 3:16
Sam Strachan10-Apr-02 3:16 
GeneralRe: COM object passing Pin
el davo10-Apr-02 19:24
el davo10-Apr-02 19:24 
GeneralRe: COM object passing Pin
Sam Strachan10-Apr-02 22:36
Sam Strachan10-Apr-02 22:36 
GeneralITextDocument??? UGH!!! Pin
Dave_7-Apr-02 12:36
Dave_7-Apr-02 12:36 
GeneralCreating Search Engine Component for Intranet Pin
6-Apr-02 19:57
suss6-Apr-02 19:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.