Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Visible window in dll

Visible window in dll

Scheduled Pinned Locked Moved C / C++ / MFC
questionhelp
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    balifrank
    wrote on last edited by
    #1

    Hey i have a problem to display a window in a dll. If I call the dll from Visual Basic I can see the window. If I do this inside an asp page the window is unvisible What is to do? Frank from Bali

    V 1 Reply Last reply
    0
    • B balifrank

      Hey i have a problem to display a window in a dll. If I call the dll from Visual Basic I can see the window. If I do this inside an asp page the window is unvisible What is to do? Frank from Bali

      V Offline
      V Offline
      Vitali Halershtein
      wrote on last edited by
      #2

      Hi, I've suppose that you using WSH scripting on client side to work with dll. If yes, then use SetAllowUI(True) to enable your windows. Vitali http://www.creative-case.com

      B 1 Reply Last reply
      0
      • V Vitali Halershtein

        Hi, I've suppose that you using WSH scripting on client side to work with dll. If yes, then use SetAllowUI(True) to enable your windows. Vitali http://www.creative-case.com

        B Offline
        B Offline
        balifrank
        wrote on last edited by
        #3

        Hallo I'm not using WSH, but pure ASP. The problem is I need to communicate with an IE to do same rendering and make a gif of this Regards Frank

        B 1 Reply Last reply
        0
        • B balifrank

          Hallo I'm not using WSH, but pure ASP. The problem is I need to communicate with an IE to do same rendering and make a gif of this Regards Frank

          B Offline
          B Offline
          basementman
          wrote on last edited by
          #4

          Rather than creating a window from a server service process (which probably does not have the Allow Interaction With Desktop flag set), you should just create a memory DC, do all of your drawing onto the memory DC, then get the bitmap from the DC. Then, you can convert the bitmap to jpeg, gif, etc. If you need some sample code to do this, I could provide it to you. Just send me an email at jeff@webogy.com.  onwards and upwards...

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups