Re: Console application exporting COM interface?
- From: "harry" <arijit.bee@xxxxxxxxx>
- Date: 9 Nov 2005 01:34:43 -0800
Well...thanks brian for the shakeup. Anyway, I dont have a choice since
I already have some C code that I want to use from a VB script. Given
that situation, I would clearly have to make a COM wrapper for my C
code. Anyway, who said that I want to understand everything that
happens in COM?? I just want to get that wrapper running and want a
kind of tutorial that would get me started. I think it would be better
to start with an ATL project and then port my C app into the COM
environment. Can you pls guide me to a tutorial abt starting an ATL
project with .NET compiler?? I have not searched extensively over the
net but hope to find some nice tut. If u know ne, pls point me to it.
regards
harry
Brian Muth wrote:
> Constructing a COM object is not a quick one or two day job if you have
> never done it before. I'm afraid you may be underestimating the effort
> required. My first COM object took me two weeks to write, but another 6
> months before I really understood how it worked.
>
> If you think this is a worthwhile project for you, then I strongly recommend
> that you purchase a book to guide you. Since you are posting in an ATL
> group, I would suggest Beginning ATL COM Programming by Grimes et al, but
> there are others.
>
> If you are familiar with MFC, then that might be a better way to go since it
> does a better job at hiding the COM plumbing.
>
> Sorry to give you this reality shakeup.
>
> Brian
>
> "harry" <arijit.bee@xxxxxxxxx> wrote in message
> news:1131448217.130160.321160@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> > Hi
> >
> > I have a Win32 console application which is more or less written in C.
> > I would like to call some functions of this app from a VB script. I
> > have read a bit abt it and it seems that I need to create a COM
> > interface for my console application. However, I have not been able to
> > find the details since all the tutorials point to the inner workings of
> > making a MFC app as a COM object. Can anyone pls guide me to a tutorial
> > from where I can get some info abt how I can create a COM interface for
> > an already existing Win32 Console application??
> >
> > Thanks in advance
> >
> > regards
> > Harry
> >
.
- References:
- Console application exporting COM interface?
- From: harry
- Re: Console application exporting COM interface?
- From: Brian Muth
- Console application exporting COM interface?
- Prev by Date: ActiveX not working on WinXP SP2 with latest updates/patchs
- Next by Date: Re: Failed to register dll in some PC, why? urgent!
- Previous by thread: Re: Console application exporting COM interface?
- Next by thread: Re: Console application exporting COM interface?
- Index(es):
Relevant Pages
|
|