Concurrent ActiveX control and QTML library access limitations
I have a .Net app that uses the QuickTime ActiveX control for read-only display of movie files. The app also uses the QTML SDK through an 'unmanaged' library for creating and editing movie files.
I am finding that, when flattening a large movie through the SDK, the ActiveX control interface is blocked. On completion of the SDK operation, the control's behaviour returns to normal. Note that different movie files are in use for each interface. What are the constraints for using the two interfaces concurrently?
Thanks,
Technical Note TN2125 implies that this is expected behaviour:
"Additionally, QuickTime is completely serialized on Windows only allowing a single thread to call into the QuickTime Library at any one time. If one thread is performing a QuickTime operation, any other thread making a QuickTime API call will block waiting for the previous operation to return."
It would be useful to know how QuickTime Player does not also have this same restriction, as it is possible to manipulate multiple movies concurrently in Player.
Similar Messages
-
RE: ActiveX control and Active Server Pages?
Martin, if it works in standalone VB program but not in an .asp page
through VBScript, I guess the reason may be the type mismatch on the
parameters of the ActiveX automation methods. VBScript is a subset of VB
and only supports the OLE data type VARIANT for calling the OLE
interface. The Conductor ActiveX control probably requires the actual
data types, such as long, BSTR, and so on, to be used on the parameters.
As a result, VBScript cannot call the methods on the control. One
workaround you can try is to create your own ActiveX control which is
simply a wrapper for calling the Conductor control. Its parameter types
use VARIANT and you do the data conversion in your wrapper code. Hope
this helps.
Lenny Hon
Descartes Systems Group
-----Original Message-----
From: Martin Peters [SMTP:[email protected]]
Sent: Monday, July 27, 1998 10:50 AM
To:
Subject: ActiveX control and Active Server Pages?
Hello Forte users,
Did anyone try to use the ActiveX control that ships with Conductor
1.0G in an Active Server Page?
I tried to use the ActiveX control without luck, so a sample would be
appreciated. The code
works fine in Visual Basic.
Below the code:
<HTML>
<BODY>
<%
Set thisDirectory =
Server.CreateObject("CONDUCTORCLIENT.WFDirectoryServiceCtl.1")
Set thisEngine = thisDirectory.WFFindEngine("ceengine", "centrale")
Set thisUser =
Server.CreateObject("CONDUCTORCLIENT.WFUserProfileDescCtrl.1")
thisUser.New
thisUser.ProfileName = "MiniUP"
thisUser.userName = "martin"
' The following call fails: Invalid procedure call or argument:
'thisEngine.OpenSession'
Set thisSession = thisEngine.OpenSession("CREATE", thisUser, "martin",
0)
Set thisProcess = thisSession.CreateProcess("MiniPD", Empty)
thisSession.CloseSession (WFSESSION_TERMINATED)
%>
</BODY>
</HTML>
Martin Peters
COMPAQ
NSIS - AD&I - Application Connect
email <[email protected]>
phone: +31 (30) 2834902
fax: +31 (30) 2834980
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive
<URL:http://pinehurst.sageit.com/listarchive/>-
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>I don't have 6.1 in front of me now. I came up with a workaround for my application when I encounted this problem. I created an attribute node for the container and the tab control. Whenever the tab control was not on the page with the control, I made the container invisible. This then hid the activeX control.
-
Flash player 10.1 Help ( ActiveX control and Download manager)
I've been trying for several hours to download the new flash player 10.1. I tried everything in the FAQ and still nothing. I tried un-installing the older version that I had (9.3.3), and still nothing.Then when the download manager gets to the end of the download, it keeps saying Error: Installation failed but Adobe Air was still able to download so the problem is obviously flash 10.1. Then it tries to finish installing it and when its done it says that it couldn't register ActiveX control and that error 19166 occured. I already enabled ActiveX so I dont know what the problem could be.
Help would be appreciated and could someone explain what error 19166 is and how to register or install activex
ps. I had this problem a while back but somehow I was able to download flash version 9.3.3, so even if I can't download 10.1, can someone give me a link to download version 9 instead.
System information: Windows 7
Internet explorer 8
32-bit
Norton 360Thanks for your reply.I've tried/done everything on that page and I'm still having issues. And I've already disabled Norton and windows firewall and still nothing works.
-
Web browser and script activeX controls and HTML data
Hello,
I'm trying to use the Microsoft Web Browser (IWebBrowser2) and Script (IScriptControl) activeX controls in Labview to evaluate and execute HTML script. If I wire the web browser control's document object to the object input of the Script control's AddObject method, I can then evaluate/execute script such as "document.f.btnI.focus();" and such (in this case corresponding to Google's home page). However, there are other expressions that include the "window" object that are proving much more difficult to work with. Although I can browse the document object's parentWindow object via the property browser, if I try to access that object programatically, I get the error "Error -2147467262 occurred at No such interface supported". I'm wondering how to include the window object for scripting.
I'm writing a content-oriented web crawler. I've been writing it with pretty low level TCP functions, handling 301/302 "object moved" and "<META HTTP-EQUIV="refresh" CONTENT="0; url=http://millercountyliberal.com/">" redirections manually. But there are other automatic script-based redirections like:
<script language="JavaScript" type="text/javascript">
<!-- window.location="http://www.jrnl.com" -->
</script>
that I'm still trying to figure out how to work with. As you can see, to work with that one manually involves the window object. The reason that I don't just let the Web Browser object handle the redirections is because that object often throws script errors, downloads embedded graphics and other unnecessary components, can't handle some non-standard redirections, and sometimes annoyingly crashes. Any help would be appreciated. A code sample is attached. The Web Browser control should already exist on your machine if you have Internet Explorer installed. The script control may need to be registered before it can be used as follows:
regsvr32 "c:\MyDir\XHTTP.dll"
Thanks.
Attachments:
HTML Script Testing.zip 773 KBHi Ted,
This seems to be a problem with the way you are referencing the ActiveX properties. I would research a little more on the API for these objects. See http://msdn.microsoft.com/workshop/browser/webbrowser/reference/ifaces/iwebbrowser2/document.asp for an explanation of the IWebBrowser2 Document property. I am suspicious of where you are typecasting the Document variant into the IHTMLDocument2 object and this is where the error is being thrown.
A search of this error code on Google shows that this is a generic error from the ActiveX object, and not a LabVIEW error, although it is confusing since LabVIEW uses error codes in this same range.
Hope this helps!
Doug M
Applications Engineer
National Instruments
For those unfamiliar with NBC's The Office, my icon is NOT a picture of me -
Overlay an item over an activex control and/ or disabling the mouse scroll wheel
There seems to be several references in the discussion forum to placing a picture control over an activex item to prevent the activex item being selected etc.
The thing is, I can't seem to do it: the activex control is always on top, no matter what I do and no matter what control, or decoration I use.
What am I doing wrong?
Failing that, is there another way of stopping the user getting access to the activx control?
Essentially what I want to do is stop them accidentally scrolling through the control's pages with the mouse scroll wheel. I've stopped them accessing the scroll bars, BUT it is still possible to use the scroll wheel unfortunately.
Something else I tried was a tab control: placing the activex control on a page and then trying to make the page on top transparent. Needless to say that didn't work....
AndyImportant questions:
What ActiveX control are you using?
I'm using the PDF activex control to display a PDF on the front panel of my VI.
What version of LabVIEW are you using?
I'm using LabVIEW 7.1
What "control pages" are you talking about?
The pages of the PDF: it has several pages. If a mouse is held over it the user can scroll using the scroll wheel, or if they right click they can access the Adobe menu.
It's these that I'd like to inhibit them doing.
Thanks
Andy
Attachments:
Display PDF 7.1.vi 98 KB -
ActiveX controls and clear_form
If you use ActiveX controls in forms and issue a clear all from
the menu, or a clear_form built-in, it will kill any ActiveX
controls in the Form. Once I set a key_clear trigger to clear my
master data block and used clear_all_master_details to flush all
the data blocks in my form, leaving control block alone, my
ActiveX controls stopped crashing.
I didn't find this mentioned in the documentation, and thought
someone might be able to save themselves some aggravation.
nullHi,
to have pure html controls in jspx, I have one idea, for example for < br > tag this is:
< br xmlns="" / >
It works, but I think with activex it's not so simple. I tried :
' <object xmlns="" id="ThermalLib" height="0" width="0" classid="clsid:904511D2-5407-4033-8DAD-07B33EC7317E"> '
But it doesn't work.
Did you solve this problem?
Mayby somebody know how to launch activex from jspx?
regards,
basementjack -
External H.D. and iPhoto library accessing in other programs
I put my iPhoto library onto an external hard drive. When I am in some software program that I want to import a photo it will give me the H.D. option but when I click on the iPhoto library it will not open it. Will the library only open when I am in iPhoto? If so, how do I access my photos or do I have to select some and put them on the desktop before I begin the other software program? Thank you, Janet
Janet
Yes, the library is only for the use of iPhoto. Other apps are not allowed to surf the Library.
There are many, many ways to access your files in iPhoto:
For 10.5 users: You can use any Open / Attach / Browse dialogue. On the left there's a Media heading, your pics can be accessed there. Apple-Click for selecting multiple pics.
Uploaded with plasq's Skitch!
To upload to a site that does not have an iPhoto Export Plug-in the recommended way is to Select the Pic in the iPhoto Window and go File -> Export and export the pic to the desktop, then upload from there. After the upload you can trash the pic on the desktop. It's only a copy and your original is safe in iPhoto.
This is also true for emailing with Web-based services. If you're using Gmail you can use THIS
If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto. In 10.5's Mail, you can access the Library directly from the New Message Window
Uploaded with plasq's Skitch!
If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser.
Or, if you want to access the files with iPhoto not running, then create a Media Browser using Automator (takes about 10 seconds) or use THIS
Other options include:
1. *Drag and Drop*: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
2. *File -> Export*: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
3. *Show File*: Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected.
If the other application is an Image Editor:
You can set Photoshop (or any image editor) as an external editor in iPhoto. (Preferences -> General -> Edit Photo: Choose from the Drop Down Menu.) This way, when you double click a pic to edit in iPhoto it will open automatically in Photoshop or your Image Editor, and when you save it it's sent back to iPhoto automatically. This is the only way that edits made in another application will be displayed in iPhoto.
Regards
TD -
RELATION BETWEEN ACTIVEX CONTROL AND THE TRANSACTION.
HI,
I WANT THE RELATION BETWEEN TRANSACTION AND ACTIVE X CONTROL IN TERMS OF GUI AND TCD TEST CASES.
ARUN REDDY Iis your CAPS lock key locked? if not kindly do not use all upper case.
Coming to your question.
what do you mean by relation between activex & transaction? if you could clarify more we may be able to help.
Raja -
Difference between ActiveX Controls and JavaBeans
Hi,
I have just started programming Java Beans. Being from Microsoft background my first feel is that Java Beans are to Java what ActiveX is to Microsoft. Is this true? I hope that some of the gurus out there will be better able to explain.
Thankx in adavance...This is pretty much true. ActiveX and JavaBeans fulfil similar roles, they just do it in completely different ways.
ActiveX relies on COM, a JavaBean is just another class using specific naming conventions.
But you now need to forget all about the similarities! Bringing an ActiveX knowledge to JavaBeans will likely get you in trouble. Learn Beans for what they are - Beans.
The online training page at develope.java.sun.com ha lots of resources for finding your way around.
Cheers -
Crystal Reports ActiveX Design and RT Library
I have developed an application using eDeveloper and the CRACDDRT.DLL using COM Interface.
Hos can I distribute the dll to a customer computer so that when I run my program it will find the registered COM ObjectHello, Motty;
What program and version are you using to create your application?
What version of Crystal Reports Developer are you using?
What references do you have for Crystal Reports in your application? CRAXDRT.dll or CRAXDDRT.dll and the CRViewer.dll?
Does the application run as you expect on your Development system?
Once I am more certain of what you are using, I can direct you to the correct deployent information.
Elaine -
Setting parental controls and allow safari access
when is set parental controls i can't fine safari (although it's checked) in the guest user profile of my applications
Sharon...
Possibly a restriction causing this...
Read here > Mac OS X v10.5, 10.6: About the Parental Controls Internet content filter -
Hi there,
Can anybody please answer to my following questions?
1. What are OCX controls and ActiveX controls in D2K.
2. Whats the difference between using OCX and ActiveX control and when to use them
in our application.
3. A small procedure exlpaining how to use them in D2K.
4. Send me a sample form (.fmb) using OCX and ActiveX control (if don't mind).
Note: One can give answer to one question and other can give to other questions.
Thanks in Advance.
Regards,
Aqueel([email protected]).Nevermind, I stopped using the OCX to connect. Maybe they just don't work.
-
ActiveX Container and serial control
Hi,
I'm looking for the serial control in the create control list at the
ActiveX Container. So i can control a Bluetooth stick. Where can i find
this activex control and how can i install it.
I hope somebody knows what i mean, thnx
Gr VeldmousHi, Veldmous.
It sounds like you'd like to be able to install a control to be used in an ActiveX container. Although extra controls will appear in that list once they're registered in your system, I'm not aware of some sort of generic serial control that can be installed.
However, there's a whole series of Bluetooth-related VIs that will probably be much easier to use than controlling your devices through ActiveX. For an example using these VIs, check out the Example Finder. (Help>>Find Examples, then select Networking>>Bluetooth.)
Good luck! Let me know if you have any more questions.
Sarah K.
Search PME
National Instruments -
When trying to display census pages I get error ActiveX controls missing
What are ActiveX controls and how can I install them? When trying to display certain images such as a census page I get the message that certain ActiveX controls are missing. I am using Windows XP and the current version of Firefox.
ActiveX is an Internet Explorer plugin system and will not work in Firefox or many other browsers. If the site requires ActiveX you will need to use Internet Explorer to access the site.
-
Need to disable script or ActiveX control in WebHelp project
Two of our WebHelp projects display the following two
messages prior to loading the first page:
1) "To help protect your security, Internet Explorer has
restricted this file form showing active content that could access
your computer. Click here for options."
2) "It seems javascript is disabled in your browser, please
enable it abd reload again, or click here to view without
javascript."
I don't know my way around well enough in RoboHelp to solve
these problems. I've read that you can disable the ActiveX issue
through options in the Windows Control Panel, but that is not a
valid resolution for these customers, as that will pose security
vulnerabilities. Not sure either about how to enable javascript, as
indicated in the second message.
Obviously there is something in these WebHelp projects that
cause these messages to display. I want to address the issues at
the project level - not the OS level. Is there a way to search a
WebHelp project foe embedded ActiveX controls and java scripts that
may cause these messages, and then figure out a way to change this
behavior?
I am using RoboHelp HTML, version 5.0.2, build 801, and
generating the primary layout as WebHelp. I've played with the
Preferrred Format options when I generate the project, but nothing
has solved the problem yet.
Any suggestions? Help! This novice is stumped.It's because you are viewing the help locally. Your users
will be viewing it from a server so they will not have this issue.
To fix it to help you work, see Snippet 19 on my site.
Maybe you are looking for
-
Can i use references to trigger events for objects?
Hi, I have about thirty front panel buttopn controls on my user interface. They are all very spread out so I cannot put them all into a cluster. I have created a reference for each one and put them into an array. Each one of the buttons when pressed
-
Why does my macbook shut down when I am watching a film using airplay on apple TV?
why does my macbook shut down when I am watching a film using airplay on apple TV?
-
I have 2 different minis, one i think to be a 1st gen and the the other a 2nd gen. but if somebody could verify for me that would be great. The first one i have has a 2004 copyright and has a model number of A1051, it has an EMC No. of 1984, whatever
-
can anyone provide the source code how to create a ticket system. The system should have 2 category, adults and children with a pulldown menu for how many adults or children and calculate the total price of the ticket. example: Adult/$2.00 (the pulld
-
Can´t install the cloud .....
I have the c cloud on my desktop, but when it tries to initialize instillation I get the error 206 and a msg saying unable to connect to internet.....I just want to download and use photoshop. Help, please!