Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

COM ERRORS

$
0
0
I am getting some strange behavior from creating an object from "Shell.Explorer.2", that I am unable to reproduce in a smaller script - so sorry for the long script. In fact when I wrote this, I had no issues, and thought it might be firewall related, but it is not.
I wrote this for my son, as he was enjoying typing in (he is 4.5 years of age) codes for SkyLanders game. I thought he was having a hard time finding letters and thought I could make a game out of it, so he could learn where the letters are and start learning how to spell and read.
The problem is that the _GuiCtrlCreateFlash() function will work most of the time, and depending on which link is passed to it first - it works without fail for those that are not working.
The pics are missing of course, and you have to click these in a certain order to find the BUG.
Any ideas what I might have done wrong or what is happening would be greatfull - thanks
Test 1 - Youtube link does not play and we get a com error
:click on button called UNDEAD - left side, bottom right button
:click on button called HEX - 5 buttons from left side of new window
:click NO on do you want to hear story
:type in the word HEX and click ENTER
:you will get the following error
AutoIt COM error handler
Error encountered in _LCT- fix-needed.au3:
  @AutoItVersion = 3.3.8.1
  @AutoItX64 = 0
  @Compiled = 0
  @OSArch = X86
  @OSVersion = WIN_XP
  Scriptline = 2301
  NumberHex = 80020009
  Number = -2147352567
  WinDescription = Unspecified error
  Description =
  Source =
  HelpFile =
  HelpContext = 0
  LastDllError = 0
Test 2 - both links play and tehr are no errors
:click on button called MAGIC- left side, one up from bottom right button
:click on button called NINJINI - 1 button from left side of new window
:click NO on do you want to hear story
:type in the word NINJINI and click ENTER
:you will see the video play
:click on button called UNDEAD - left side, bottom right button
:click on button called HEX - 5 buttons from left side of new window
:click NO on do you want to hear story
:type in the word HEX and click ENTER
:the same video that did not play in first test, now plays???
p.s. Is there a size limitation on how many characters you can post? I got this error "
Sorry, but you have posted more media files than you are allowed to", so had to attach file.
EDIT seen that there is a return after all my lines, cut unable to see it in the text I am posting?
EDIT2 tried to remove the extra spacing as it looks like $hit

EDIT - tried again to change font and get rid of spaces

Attached Files


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>