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
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. doubt on Activex control

doubt on Activex control

Scheduled Pinned Locked Moved C / C++ / MFC
helpcomtutorial
6 Posts 4 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.
  • S Offline
    S Offline
    sunita ramesh
    wrote on last edited by
    #1

    Hello all, I have an activex control,which is a video player plays .cam files.I run this activex control using IE.Everything is working good. The problem is, if i open two windows(IE) at a time,one is crashing and showing error.how to overcome this problem.. Giv me some ideas.. Thanks in advance Sunita

    D Z H 3 Replies Last reply
    0
    • S sunita ramesh

      Hello all, I have an activex control,which is a video player plays .cam files.I run this activex control using IE.Everything is working good. The problem is, if i open two windows(IE) at a time,one is crashing and showing error.how to overcome this problem.. Giv me some ideas.. Thanks in advance Sunita

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      What does your video player do when a second instance is started?


      "Money talks. When my money starts to talk, I get a bill to shut it up." - Frank

      "Judge not by the eye but by the heart." - Native American Proverb

      S 1 Reply Last reply
      0
      • S sunita ramesh

        Hello all, I have an activex control,which is a video player plays .cam files.I run this activex control using IE.Everything is working good. The problem is, if i open two windows(IE) at a time,one is crashing and showing error.how to overcome this problem.. Giv me some ideas.. Thanks in advance Sunita

        Z Offline
        Z Offline
        Zac Howland
        wrote on last edited by
        #3

        This question would probably be better answered in the COM forum ... but here goes: Is this an OCX, DLL, or EXE? Specifically, is it running in process or out of process? If it is running in process, you shouldn't have this problem ... but if you do, chances are it is due to holding onto the sound or video resources so that another instance cannot access them. If it is out of process, are you starting a new instance for each time it is instantiated, or are you trying to use the same instance? If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week Zac

        S 1 Reply Last reply
        0
        • S sunita ramesh

          Hello all, I have an activex control,which is a video player plays .cam files.I run this activex control using IE.Everything is working good. The problem is, if i open two windows(IE) at a time,one is crashing and showing error.how to overcome this problem.. Giv me some ideas.. Thanks in advance Sunita

          H Offline
          H Offline
          Hamid Taebi
          wrote on last edited by
          #4

          Can you explain how you to use your activex_**


          **_

          whitesky


          1 Reply Last reply
          0
          • D David Crow

            What does your video player do when a second instance is started?


            "Money talks. When my money starts to talk, I get a bill to shut it up." - Frank

            "Judge not by the eye but by the heart." - Native American Proverb

            S Offline
            S Offline
            sunita ramesh
            wrote on last edited by
            #5

            hi, when the second instance gets started,a new player will be downloaded again.As soon as the new player downloads,the older player is crashed and the new player starts playing the old cam file. Any solution for this.. thanks in advance sunita

            1 Reply Last reply
            0
            • Z Zac Howland

              This question would probably be better answered in the COM forum ... but here goes: Is this an OCX, DLL, or EXE? Specifically, is it running in process or out of process? If it is running in process, you shouldn't have this problem ... but if you do, chances are it is due to holding onto the sound or video resources so that another instance cannot access them. If it is out of process, are you starting a new instance for each time it is instantiated, or are you trying to use the same instance? If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week Zac

              S Offline
              S Offline
              sunita ramesh
              wrote on last edited by
              #6

              hi Zac, Thanks for ur reply.. I am using dll of the activex control.I give its classId in in HtmlPage(IE). So whenver i open the IE page,Activex control Dll is downloded and then player starts downloading cam file and plays it. So if i again open IE page,a new instance is instantiated and new player opens.This player uses the same Dll and starts downloading the cam file. The problem is,as soon as 2nd player opens,the first player is crashing. Any solution for this.. Thanks in advance sunita

              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