Results 1 to 2 of 2

Thread: Running Application from Dll

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2003
    Posts
    6

    Running Application from Dll

    I have made an activex dll. In a asp page I have I create the object and can use the routines inside the dll but when I use the runapplication function I have in the dll in task manager it show the program as running but it is not visible on the screen.

    The code to run the program in my dll is simply
    ret = shell(sAppPath,vbnormalfocus)

    Like I say it is running the program just not making it visible on the screen.

  2. #2
    Junior Member
    Join Date
    Feb 2003
    Location
    UK
    Posts
    23
    Question:
    Does your DLL run on the server or the client?
    (Is it something your ASP uses to build the page or is it something in the HTML that the browser receives)?

    If it's server based, then your DLL is running in the context of the IIS Service (as your ASP page is running under IIS). Typically the service only has "LocalSystem" priviliges. This means it does not have access to the screen or the network.

    Cheers
    Dave

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width