It's saying that one of the arguments to some function can't be handled nicely and natively, and that you might have to do some unmanaged stuff in your managed code. It's just a warning. If it makes you feel any better, I've never had to deal with what the warning references.
Aaron -- Aaron Smith Web Development * App Development * Product Support Specialist Ai Squared * 725 Airport North Office Park, Fort Wayne, IN 46825 260-489-3671 * www.aisquared.com To insure that you receive proper support, please include all past correspondence (where applicable), and any relevant information pertinent to your situation when submitting a problem report to the Ai Squared Technical Support Team. > -----Original Message----- > From: cov...@ccs.covici.com [mailto:cov...@ccs.covici.com] > Sent: Tuesday, June 30, 2015 9:39 AM > To: Aaron Smith > Cc: Window-Eyes Scripting List > Subject: Re: uia and uia automation references > > So what exactly do the warnings mean in terms of .net programming? > > Aaron Smith <asm...@aisquared.com> wrote: > > > Those are just warnings. You can ignore them with the knowledge that "At > least one of the arguments for > 'uiimport.IUIAutomation.IntSafeArrayToNativeArray' cannot be marshaled > by the runtime marshaler. Such arguments will therefore be passed as a > pointer and may require unsafe code t o manipulate." > > > > Aaron > > > > -- > > Aaron Smith > > Web Development * App Development * Product Support Specialist Ai > > Squared * 725 Airport North Office Park, Fort Wayne, IN 46825 > > 260-489-3671 * www.aisquared.com > > > > To insure that you receive proper support, please include all past > correspondence (where applicable), and any relevant information pertinent > to your situation when submitting a problem report to the Ai Squared > Technical Support Team. > > > > > -----Original Message----- > > > From: cov...@ccs.covici.com [mailto:cov...@ccs.covici.com] > > > Sent: Monday, June 29, 2015 5:32 PM > > > To: Aaron Smith > > > Cc: Window-Eyes Scripting List > > > Subject: Re: uia and uia automation references > > > > > > OK, when I used tlbimp on the uiautomationclre.dll, I got the > > > following > > > warnings: > > > TlbImp : warning TI3015 : At least one of the arguments for > > > 'uiimport.IUIAutomation.IntSafeArrayToNativeArray' cannot be > > > marshaled by the runtime marshaler. Such arguments will therefore > > > be passed as a pointer and may require unsafe code t o manipulate. > > > TlbImp : warning TI3015 : At least one of the arguments for > > > 'uiimport.IUIAutomation.SafeArrayToRectNativeArray' cannot b e > > > marshaled by the runtime marshaler. Such arguments will therefore > > > be passed as a pointer and may require unsafe code to manipulate. > > > TlbImp : warning TI3015 : At least one of the arguments for > > > 'uiimport.IUIAutomationAndCondition.GetChildrenAsNativeArray > > > ' cannot be marshaled by the runtime marshaler. Such arguments > > > will therefore be passed as a pointer and may require un safe code > > > to manipulate. > > > TlbImp : warning TI3015 : At least one of the arguments for > > > 'uiimport.IUIAutomationOrCondition.GetChildrenAsNativeArray' > > > cannot be marshaled by the runtime marshaler. Such arguments will > > > therefore be passed as a pointer and may require uns afe code to > > > manipulate. > > > TlbImp : warning TI3015 : At least one of the arguments for > > > 'uiimport.CUIAutomationClass.IntSafeArrayToNativeArray' cann ot be > > > marshaled by the runtime marshaler. Such arguments will therefore > > > be passed as a pointer and may require unsafe c ode to manipulate. > > > TlbImp : warning TI3015 : At least one of the arguments for > > > 'uiimport.CUIAutomationClass.SafeArrayToRectNativeArray' can not be > > > marshaled by the runtime marshaler. Such arguments will therefore > > > be passed as a pointer and may require unsafe code to manipulate. > > > TlbImp : Type library imported to C:\users\root\Documents\Visual > > > Studio 2013\projects\uiimport.dll > > > > > > Is this the expected behavior and what do these mean? > > > > > > Thanks. > > > > > > > > > Aaron Smith <asm...@aisquared.com> wrote: > > > > > > > Right. Studio creates an interop from the uiautomationcore.dll, > > > > adds that to > > > your project, and references it. You can do that manually using the > > > TlbImp utility that ships with the .NET SDK. Convert the DLL > > > manually, add that to your project, and reference it. > > > > > > > > Aaron > > > > > > > > -- > > > > Aaron Smith > > > > Web Development * App Development * Product Support Specialist Ai > > > > Squared * 725 Airport North Office Park, Fort Wayne, IN 46825 > > > > 260-489-3671 * www.aisquared.com > > > > > > > > To insure that you receive proper support, please include all past > > > correspondence (where applicable), and any relevant information > > > pertinent to your situation when submitting a problem report to the > > > Ai Squared Technical Support Team. > > > > > > > > > -----Original Message----- > > > > > From: cov...@ccs.covici.com [mailto:cov...@ccs.covici.com] > > > > > Sent: Monday, June 29, 2015 4:32 PM > > > > > To: Aaron Smith > > > > > Cc: Window-Eyes Scripting List > > > > > Subject: Re: uia and uia automation references > > > > > > > > > > Well, in the project just created, you have two ui*.dll files, > > > > > neither of which is the uiautomationcore.dll, the > > > > > uiautomationclient.dll, I have and can also obtain by searching > > > > > assemblies, the other one crossnesshooklib.dll I do not have on > > > > > my > > > system at all. > > > > > > > > > > Aaron Smith <asm...@aisquared.com> wrote: > > > > > > > > > > > I just tried it, and it worked fine for me. I created a new > > > > > > solution, went to > > > > > Project -> Add Reference, chose Browse, pointed the File Open > > > > > dialog to c:\windows\system32\uiautomationcore.dll, hit ok, and > > > > > UIAutomationClient was added as a reference. I saved it so that > > > > > you > > > could try it out: > > > > > > > > > > > > > > > > > > > > > http://getwindoweyes.com/App_Central/Developers/SDK/WindowsFormsA > > > > > pplic > > > > > > ation1.zip > > > > > > > > > > > > Aaron > > > > > > > > > > > > -- > > > > > > Aaron Smith > > > > > > Web Development * App Development * Product Support Specialist > > > > > > Ai Squared * 725 Airport North Office Park, Fort Wayne, IN > > > > > > 46825 > > > > > > 260-489-3671 * www.aisquared.com > > > > > > > > > > > > To insure that you receive proper support, please include all > > > > > > past > > > > > correspondence (where applicable), and any relevant information > > > > > pertinent to your situation when submitting a problem report to > > > > > the Ai Squared Technical Support Team. > > > > > > > > > > > > > -----Original Message----- > > > > > > > From: cov...@ccs.covici.com [mailto:cov...@ccs.covici.com] > > > > > > > Sent: Monday, June 29, 2015 2:38 PM > > > > > > > To: Aaron Smith > > > > > > > Cc: Window-Eyes Scripting List > > > > > > > Subject: Re: uia and uia automation references > > > > > > > > > > > > > > vs would not let me do that -- it said it was not a valid > > > > > > > dll for that operation or some such -- I went to > c:\windows\system32 . > > > > > > > > > > > > > > Aaron Smith <asm...@aisquared.com> wrote: > > > > > > > > > > > > > > > Sorry, I missed that you were looking for UIA. You can > > > > > > > > reference > > > > > > > UIAutomationCore.dll for UIA objects. You can find that in > > > > > > > your > > > > > > > system32/syswow64 directories. > > > > > > > > > > > > > > > > Thanks, > > > > > > > > > > > > > > > > Aaron > > > > > > > > > > > > > > > > -- > > > > > > > > Aaron Smith > > > > > > > > Web Development * App Development * Product Support > > > > > > > > Specialist Ai Squared * 725 Airport North Office Park, > > > > > > > > Fort Wayne, IN > > > > > > > > 46825 > > > > > > > > 260-489-3671 * www.aisquared.com > > > > > > > > > > > > > > > > To insure that you receive proper support, please include > > > > > > > > all past > > > > > > > correspondence (where applicable), and any relevant > > > > > > > information pertinent to your situation when submitting a > > > > > > > problem report to the Ai Squared Technical Support Team. > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > > > > > From: cov...@ccs.covici.com > > > > > > > > > [mailto:cov...@ccs.covici.com] > > > > > > > > > Sent: Monday, June 29, 2015 1:29 PM > > > > > > > > > To: Aaron Smith > > > > > > > > > Cc: Window-Eyes Scripting List > > > > > > > > > Subject: Re: uia and uia automation references > > > > > > > > > > > > > > > > > > hmmm, I have downloaded we90sdk.zip and in there is > > > > > > > > > windoweyesinterop.dll, and I find all kinds of libraries > > > > > > > > > in there, but not the ui automation ones. The > > > > > > > > > references don't look anything like the ones in the > > > > > > > > > example. Did I download the wrog > > > > > library? > > > > > > > > > > > > > > > > > > > > > > > > > > > Aaron Smith <asm...@aisquared.com> wrote: > > > > > > > > > > > > > > > > > > > Hello, > > > > > > > > > > > > > > > > > > > > You'll want to grab the latest SDK from > > > > > > > > > www.gwmicro.com/App_Central/Developers. It contains the > > > > > Window- > > > > > > > Eyes > > > > > > > > > Interop DLL you can reference. > > > > > > > > > > > > > > > > > > > > Thanks, > > > > > > > > > > > > > > > > > > > > Aaron > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > Aaron Smith > > > > > > > > > > Web Development * App Development * Product Support > > > > > > > > > > Specialist Ai Squared * 725 Airport North Office Park, > > > > > > > > > > Fort Wayne, IN > > > > > > > > > > 46825 > > > > > > > > > > 260-489-3671 * www.aisquared.com > > > > > > > > > > > > > > > > > > > > To insure that you receive proper support, please > > > > > > > > > > include all past > > > > > > > > > correspondence (where applicable), and any relevant > > > > > > > > > information pertinent to your situation when submitting > > > > > > > > > a problem report to the Ai Squared Technical Support Team. > > > > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > > > > > > > From: Scripting [mailto:scripting- > > > > > > > > > > > bounces+asmith=aisquared....@lists.window-eyes.com] > > > > > > > > > > > bounces+On Behalf > > > > > > > Of > > > > > > > > > via > > > > > > > > > > > Scripting > > > > > > > > > > > Sent: Monday, June 29, 2015 10:06 AM > > > > > > > > > > > To: scripting@lists.window-eyes.com > > > > > > > > > > > Subject: uia and uia automation references > > > > > > > > > > > > > > > > > > > > > > Hi. I am trying to start a .net project and I want > > > > > > > > > > > to use the references like you have in your sample > > > > > > > > > > > project, but I can't find a dll for some of the ui > > > > > > > > > > > ones that you have -- can you tell me what you used > > > > > > > > > > > in the add reference dialog to get > > > > > them? > > > > > > > > > > > > > > > > > > > > > > Thanks. > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > Your life is like a penny. You're going to lose it. > > > > > > > > > > > The question > > > is: > > > > > > > > > > > How do > > > > > > > > > > > you spend it? > > > > > > > > > > > > > > > > > > > > > > John Covici > > > > > > > > > > > cov...@ccs.covici.com > > > > > > > > > > > > _______________________________________________ > > > > > > > > > > > Any views or opinions presented in this email are > > > > > > > > > > > solely those of the author and do not necessarily > > > > > > > > > > > represent those of Ai > > > > > Squared. > > > > > > > > > > > > > > > > > > > > > > For membership options, visit http://lists.window- > > > > > > > > > > > eyes.com/options.cgi/scripting-window- > > > > > > > > > > > eyes.com/asmith%40aisquared.com. > > > > > > > > > > > For subscription options, visit http://lists.window- > > > > > > > > > > > eyes.com/listinfo.cgi/scripting-window-eyes.com > > > > > > > > > > > List archives can be found at http://lists.window- > > > > > > > > > > > eyes.com/private.cgi/scripting-window-eyes.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > Your life is like a penny. You're going to lose it. The > > > > > > > > > question > is: > > > > > > > > > How do > > > > > > > > > you spend it? > > > > > > > > > > > > > > > > > > John Covici > > > > > > > > > cov...@ccs.covici.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > Your life is like a penny. You're going to lose it. The > > > > > > > question is: > > > > > > > How do > > > > > > > you spend it? > > > > > > > > > > > > > > John Covici > > > > > > > cov...@ccs.covici.com > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Your life is like a penny. You're going to lose it. The question is: > > > > > How do > > > > > you spend it? > > > > > > > > > > John Covici > > > > > cov...@ccs.covici.com > > > > > > > > > > > > > > -- > > > Your life is like a penny. You're going to lose it. The question is: > > > How do > > > you spend it? > > > > > > John Covici > > > cov...@ccs.covici.com > > > > > > -- > Your life is like a penny. You're going to lose it. The question is: > How do > you spend it? > > John Covici > cov...@ccs.covici.com _______________________________________________ Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Ai Squared. For membership options, visit http://lists.window-eyes.com/options.cgi/scripting-window-eyes.com/archive%40mail-archive.com. For subscription options, visit http://lists.window-eyes.com/listinfo.cgi/scripting-window-eyes.com List archives can be found at http://lists.window-eyes.com/private.cgi/scripting-window-eyes.com