doubt on Activex control
-
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
-
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
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
-
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
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
-
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
Can you explain how you to use your activex_**
**_
whitesky
-
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
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
-
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
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