Have you got a Com callable wrapper for your .NET application ?
--Saurabh
> Hi,
>
[quoted text clipped - 12 lines]
>
> Thanks.
ElleEmme - 14 Jan 2005 17:25 GMT
The VB6 program is from third parties and I can only specify an executable to
launch.
I need a callable wrapper for my .NET console app also in this case?
Thanks.
> Have you got a Com callable wrapper for your .NET application ?
>
[quoted text clipped - 15 lines]
> >
> > Thanks.
Sorry I did not read it properly, but I am still wondering why you are using
CreateProcess? The way I had done it is define an interface, write an
implementation class and in visual studio project setting set the register
for com interop to true. This generates the CCW for your class and then you
can call the methods defined in the interface from your VB 6 app.
I am not sure thought if that will affect the errors you have mentioned. Can
you provide more info as to how far the execution goes? Does your
application gets launched from VB6 at all? the error you have mentioned
might be an issue with sql server running with different account from the
one which you are using to launch your exe
> Hi,
>
[quoted text clipped - 12 lines]
>
> Thanks.
ElleEmme - 14 Jan 2005 17:47 GMT
You're right, but as i wrote in my second message, I haven't the source of
the VB6 app, only I can specify an executable to launch.
Credential are fine, also windows identity, I checked them during the
execution.
But it works standalone, and doesn't work launched from the other program...
:-(
> Sorry I did not read it properly, but I am still wondering why you are using
> CreateProcess? The way I had done it is define an interface, write an
[quoted text clipped - 24 lines]
> >
> > Thanks.