Thread View: microsoft.public.vb.winapi
3 messages
3 total messages
Started by fobz
Fri, 23 Mar 2001 15:11
IIS apps help
Author: fobz
Date: Fri, 23 Mar 2001 15:11
Date: Fri, 23 Mar 2001 15:11
20 lines
1797 bytes
1797 bytes
When I create an IIS app within VB or Delphi, I have to use "regsvr32" to register the final product before IIS can use it within ASP. When within the IDE of both VB and Delphi, I can run my app, and the IDE somehow registers the object for me so I can test and debug it and my ASP in IIS. HOW is VB and Delphi registering my object for use in IIS without using "regsvr32" ??? The reason I ask is that when using "regsvr32", my object inherits the permissions or "IUSER_MACHINE", but when the VB IDE does it, my object has all the permissions of the interactive logged on user ! I am desperate to be able to load my object in the same way as the IDE, perhaps from another EXE. How... Thanks in advance...
Re: IIS apps help
Author: Tore
Date: Fri, 23 Mar 2001 23:17
Date: Fri, 23 Mar 2001 23:17
33 lines
2240 bytes
2240 bytes
The permission is assigned according to the context under which the ActiveX component is running. When run from the IDE (or invoked from a normal desktop application), the component will have the permissions of the interactive user. When the component runs under IIS, it will receive its permissions from IIS. HTH, Tore. "fobz" <fobz@iinet.net.au> wrote in message news:3ABB67AD.775C0D77@iinet.net.au... > When I create an IIS app within VB or Delphi, I > have to use "regsvr32" to register the final product before IIS can > use it within ASP. > > When within the IDE of both VB and Delphi, I can > run my app, and the IDE somehow registers the object > for me so I can test and debug it and my ASP in IIS. > > HOW is VB and Delphi registering my object for use > in IIS without using "regsvr32" ??? > > The reason I ask is that when using "regsvr32", my object > inherits the permissions or "IUSER_MACHINE", but when > the VB IDE does it, my object has all the permissions of the > interactive logged on user ! > > I am desperate to be able to load my object in the same way > as the IDE, perhaps from another EXE. How... > > Thanks in advance... > >
Re: IIS apps help
Author: fobz
Date: Sat, 24 Mar 2001 02:58
Date: Sat, 24 Mar 2001 02:58
40 lines
2629 bytes
2629 bytes
I understand this... but how can I write another EXE which will load my original DLL in the same way the IDE does. What I am really after are the actual API calls and examples. Tore wrote: > The permission is assigned according to the context under which the ActiveX > component is running. When run from the IDE (or invoked from a normal > desktop application), the component will have the permissions of the > interactive user. When the component runs under IIS, it will receive its > permissions from IIS. > > HTH, > Tore. > > "fobz" <fobz@iinet.net.au> wrote in message > news:3ABB67AD.775C0D77@iinet.net.au... > > When I create an IIS app within VB or Delphi, I > > have to use "regsvr32" to register the final product before IIS can > > use it within ASP. > > > > When within the IDE of both VB and Delphi, I can > > run my app, and the IDE somehow registers the object > > for me so I can test and debug it and my ASP in IIS. > > > > HOW is VB and Delphi registering my object for use > > in IIS without using "regsvr32" ??? > > > > The reason I ask is that when using "regsvr32", my object > > inherits the permissions or "IUSER_MACHINE", but when > > the VB IDE does it, my object has all the permissions of the > > interactive logged on user ! > > > > I am desperate to be able to load my object in the same way > > as the IDE, perhaps from another EXE. How... > > > > Thanks in advance... > > > >
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads