Gets wrong EventID in OnonFileEvent(..) of AutoVue Desktop Deployment.

Gets wrong EventID in OnonFileEvent(..) of AutoVue Desktop Deployment.
Following is part of code written in Delphi 5:
procedure TfrmTest.AutoVueViewFileEvent(Sender : TObject; const arg0 : IDispatch);
const
  dispparamsNoArgs : TDispParams = ( rgvarg : NIL; rgdispidNamedArgs: NIL; cArgs : 0; cNamedArgs: 0 );
var
  sMethodName : Widestring;
  iDispId : longint;
  v : Variant;
begin
  sMethodName := 'getEventID';
  arg0.GetIDsOfNames (GUID_NULL, @sMethodName, 1, LOCALE_SYSTEM_DEFAULT, @iDispId);
  arg0.Invoke (iDispId, GUID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, dispparamsNoArgs, @v, NIL, NIL);
  if (iDispId = EVENTID_FILEEVNT_ONPAGELOADED) then
    AutoVueXDesktop.printIt();
end;
Procedure AutoVueViewFileEvent(..) is assigned to OnonFileEvent of AutoVue.
But we never get Event ID as EVENTID_FILEEVNT_ONPAGELOADED (i.e. 18), we always get value like 32770
EXPECTED BEHAVIOR
Need to get Event ID as EVENTID_FILEEVNT_ONPAGELOADED once file loaded completely in viewer.

I would recommend you review the code you are using and ensure you test for return codes
The id you always get is the one for the function you are trying to look for, so the behavior you see is expected
Please review IDispatch::Invoke prototype
HRESULT Invoke(
  [in]       DISPID dispIdMember,
  [in]       REFIID riid,
  [in]       LCID lcid,
  [in]       WORD wFlags,
  [in, out]  DISPPARAMS *pDispParams,
  [out]      VARIANT *pVarResult,
  [out]      EXCEPINFO *pExcepInfo,
  [out]      UINT *puArgErr
You should be testing the result, in your case v, not the function ID

Similar Messages

  • Autovue desktop deployment installation on terminal.

    Hi,
    We are trying to install Autovue desktop deployment installation on citrix - VDI solution.
    It seems like the installation installs files on the user that run the installation and when other users are trying to open autovue they are getting error message.
    I tried to put config.properties file on each %userprofie% but it doesn't help.
    Do you know if there are special installation instructions for installing on terminals server / citrix?
    Regards,
    Sagi.

    From the KM article
    Using AutoVue Desktop Deployment on Citrix(Doc ID 1905348.1)
    Citrix is not a supported environment which means that we can't log bug when an issue is only reproducible in a Citrix environment.
    Putting %userprofie% in the config.properties is useless as it is a WINDOWS convention not a java one
    it is also not a must that all user have a config.properties (c:\Users\username\AutoVue\Offline_Files\Config.properties), not for Desktop deployment (for OCX, it is)
    You will need to look in to the logs (see related KM notes articles (Enabling Logging when Using AutoVue Desktop Deployment(Doc ID 1342222.1)
    and debug it from there, it will probably be a file permission issue

  • AutoVue Desktop Deployment

    I am trying the new AutoVue Desktop Deployment and I have a couple of questions.
    1. When I use the application VBExample.exe I get a connection error. Could not initialize socket on localhost:5099;.......
    Please tell me what I need to do. I also put in what I think is the appropriate code to do in in my application and I get the same error.
    ax.initActiveX()
    ax.setFile("upload://" + txtURL)
    2. If I try to run autovue.exe from the C:\oracle\AutoVue Desktop Deployment\bin I cannot open any drawing files I get unsupported file format. Additionally, in the about screen it shows Oracle AutoVue Office 20.1.0.
    Thanks for your help!!!

    Hi Paul,
    For issue #1, it seems your Desktop Deployment is not installed properly. The log file located in <AutoVue Desktop Deployment installation dir>\bin\Logs should contain the error in more details. I would suggest re-install Desktop Deployment to see if the problem still occur.
    Regarding your code, after ax.initActiveX() is called, you need to wait for the doneInit event that signals the ActiveX is completed initialization, and only then you can call the setFile method
    For issue #2, i am not sure which flavor of the product you have (AutoVue Office, 2D Pro, etc.) Each flavor support different set of file formats so please make sure the file you are viewing is indeed supported by your product flavour.
    Thanks

  • Autovue Desktop Version Batch Printing Help

    I currently have the Autovue Desktop Deployment version 20.2.2 installed on some machines. Is there a way to add many files at once rather than one at a time? I have a list of about 200 files to be printed. In older versions of Autovue Desktop Version, like version 15, the batch print functionality worked differently. Where I could create a script that would read a batch file. Is there a way to do the same with the newer version 20.2.2? I have a list on a text file of file paths including file names to be printed. I want Autovue 20.2.2 batch printing to read the list and print each file. Is this possible? Can I feed the batch printing process a batch file? I have explored creating my own Jvue applet but I would like to be able to use the Desktop Version since it already has a batch printing tool.

    No, there is no such support in DD 20.2.2

  • Adobe Cloud is installed on my desktop and one laptop computer. Upon noticing updates were available yesterday, I successfully installed them on my laptop. Today, I cannot get Abobe Cloud to open on my desktop.

    Adobe Cloud is installed on my desktop and one laptop computer. Upon noticing updates were available yesterday, I successfully installed them on my laptop. Today, I cannot get Abobe Cloud to open on my desktop.

    We don't know what Apple plans on doing to change this (and it may not be just Apple but more likely the publishers, since Apple would, of course, do whatever it could to maximize sales/profits).  Right now you can only read Apple books on mobile devices. Sure, buy them from Amazon if you want to read them on the computer. We don't work for Apple so we're pretty impartial on this kind of advice.
    You might also see what your library can offer.  My wife can browse the county library from her iPhone, borrow e-versions, and read books on it too.  Free!

  • How do I get fios to work with my new desktop w/ Windows Media Center

    Can someone please help me I have "fios".TV and internet 1HDSTB + 1HDDVR with multi room dvr Home media mgr.how do I get fios to work with my new desktop HP Pavillion m9715f**(specs below)**w/ Windows Media Center or did I just throw away my money?
    also equipted is 47" Samsung 850series 1080p 120hertz HD LCD TV + 36" Samsung 560series 1080p 60hertz HD LCD TV and 19"Samsung 950b LCD Monitor
    ** computer specs**
    Product number NZ017AA
    Introduction date 30-Jun-2009
    Country/region sold in: United States,Canada
    Hardware Base processor
    Phenom-9650 (A) 2.3 GHz (95W) 3600 MHz HyperTransport 3.0 Socket, AM2+
    Chipset AMD 780G
    Motherboard Manufacturer: MSI Motherboard Name: MS-7548 HP/Compaq motherboard name: Aspen-GL8E
    Power supply 300W
    Memory
    Component Attributes Memory Installed 8 GB Maximum allowed 16 GB (4 x 4 GB) (64-bit OS)
    4 GB* (4 x 1 GB) (32-bit OS)
    *Actual available memory may be less Speed supported PC2-6400 MB/sec Type 240 pin, DDR2
    Hard drive750 GB SATA 3G (3.0 Gb/sec)7200 rpm
    Blu-ray player & SuperMulti DVD burner with LightScribe Technology drive
    This Blu-Ray Disc DVD drive introduces a player that reads Blu-ray Disc format enabling you to watch high-definition Blu-ray Disc movies. NOTE: This drive does not include high-definition write capability.
    Formats/Disc types Write speeds Read speeds Storage capacity Blu-ray Disc BD-ROM SL NA up to 6X up to 25 GB BD-ROM DL NA up to 4.8X up to 50 GB BD-R SL not supported up to 6X up to 25 GB BD-R DL not supported up to 4.8X up to 50 GB BD-RE SL not supported up to 2.3X up to 25 GB BD-RE DL not supported up to 2X up to 50 GB HD DVD not supported DVD DVD-ROM SL NA up to 16X up to 4.7 GB DVD-ROM DL NA up to 8X up to 8.5 GB DVD+R SL up to 16X up to 12X up to 4.7 GB DVD+R DL up to 4X up to 8X up to 8.5 GB DVD+RW SL up to 8X up to 10X up to 4.7 GB DVD+RW DL not supported DVD-R SL up to 16X up to 12X up to 4.7 GB DVD-R DL up to 4X up to 8X up to 8.5 GB DVD-RW SL up to 6X up to 10X up to 4.7 GB DVD-RW DL not supported DVD-RAM up to 5X up to 5X up to 4.7 GB CD CDROM NA up to 40X up to 700 MB CDR up to 40X up to 40X up to 700 MB CDRW up to 24X up to 40X up to 700 MB CD-DA NA up to 32X up to 700 MB Video CD NA up to 10X up to 700 MB
    Wireless Wireless LAN 802.11 b/g
    Video Graphics Radeon HD4350
    512 MB DDR2 memory
    I/O Ports: HDMI, VGA, single-link DVI
    Television Hauppauge ATSC/NTSC TV tuner card with FM tuner
    Sound/Audio High Definition 8-channel audio
    ALC 888S chipset
    Network (LAN) Integrated 10/100/1000 Base-T networking interface
    Memory card reader
    Contains an Infrared receiver for remote control
    Supports the following cards:
    Compact Flash I
    Compact Flash II
    IBM Microdrive
    Secure Digital (SD)
    mini-SD
    MultiMediaCard (MMC)
    Reduced size MultiMediaCard (RS-MMC)
    MultiMediaCard Plus (MMC plus)
    MultiMediaCard Mobile (MMC mobile)
    Memory Stick
    Memory Stick Pro
    Memory Stick Duo
    Memory Stick Pro Duo
    SmartMedia
    xD Picture Card (xD = extreme digital)
    External I/O ports
    I/O ports on the front panel
    Port type Quantity 15-in-1 (4 slot) with IR Receiver One USB Two Headphone One Microphone One Audio L-R One S-video in One Composite video in One
    I/O ports on the back panel
    Port type Quantity PS/2 (keyboard, mouse) Two S/PDIF out (coaxial) One VGA One (disabled due to the installation of a graphics card) DVI-D One USB Four 1394a One LAN One Audio (side speaker out, rear speaker out, center/subwoofer-out , line-in, line-out, microphone) One Each
    Expansion slots
    Slot type Quantity PCI Express x16 One (None available) PCI Express x1 Three (Two available)
    Drive bays
    Bay type Quantity 5.25" Two (One available) 3.5" Two (One available) Personal Media Drive One (One available) Pocket Media Drive One (One available)
    Keyboard and mouse HP multimedia keyboard HP PS/2 optical mouse
    Remote Control USB infrared remote control,Remote control expansion card with IR ports,IR emitter cable to transmit codes to a set top box

    Based on what you've posted, your computer does not have the right tuner.   You need a QAM tuner to record locals from FiOS, or a CableCard tuner to record all local and cable channels from FiOS.
    QAM tuners to record local channels only
    This requires Windows Vista or Windows 7
    Hauppauge WinTV-HVR-2250
    SiliconDust HDHomeRun (info on a sale)
    CableCard tuner to record local and cable channels
    This requires Windows 7 + one CableCard from Verizon for $3.99/mo
    ATI TV Wonder Digital PC CableCard Tuner (records one channel at a time) -- $200-$250 on ebay
    Ceton MOCUR tuner (records four channels at a time) -- coming in early 2010 for $400-$600
    Make sure your computer has Windows 7 Home Premium (or better) installed.   That's necessary to support CableCard tuners.
    If you are the original poster (OP) and your issue is solved, please remember to click the "Solution?" button so that others can more easily find it.

  • I put in my memory card to the left side of the computer, but I cannot find the file of pictures anywhere. Its not even on my desktop. What should I do and how can I get it to show up on my desktop?

    I put in my memory card to the left side of the computer, but I cannot find the file of pictures anywhere. Its not even on my desktop. What should I do and how can I get it to show up on my desktop?

    If your Mac is new-ish and has one of the Lions as its OS, the drives, cards, USB sticks no longer show up, even though they're there. Go to Finder's Preferences and tick the corresponding items in the General and Sidebar tabs.

  • How do i get on my apple account on the desktop without signing up with a credit card or Itunes card, i already have an account it just won't let me sign in without giving the desktop version a credit card

    How do i get on my apple account on the desktop without signing up with a credit card or Itunes card, i already have an account it just won't let me sign in without giving the desktop version a credit card

    SEARCH!
    http://lmgtfy.com/?q=itunes+account+without+credit+card

  • Why do i get "wrong password" when i try to log on to the wifi on my ipad 3?

    I have 2 laptops, 2 ipones (5 and 4s, running on ver 6.1.4), an ipad mini and an ipad 3 in my home.
    I'm using my wifi successfuly with every device except for my ipad 3.
    on the "wireless" tab, i can see the network, i'm trying to type the password but i keep on getting "wrong password".
    The ipad can use wifi in other places with passwords.
    I checked how im writing and tried to type again on other devices, that's not the problem. Its not a problem with capitals or o-0 or something like that.
    I've tried reseting the network settings,  reseting my router, reseting my ipad (pressing "off button" + "home button"). I've tried changing password on my router, without succuess.
    that is really annoing, you're paying a lot for something that's suppose to work perfectly, and you get problems like that.
    I really need wifi on my ipad, and I've searched forums all over the internet for a solution. it turnes out that a lot of people are experiencing the same problem, whitout a proper solution.
    please help

    Restore the iOS software.
    Transfer purchases into iTunea, backup your iPad, restore to factory settings, restore from the backup and sync with iTunes and then try again.
    iTunes: Restoring iOS software - Support - Apple

  • How do I keep emails from being deleted on my iPhone 6? Emails get deleted from phone when I startup desktop computer and they are downloaded from sever. Is POP3 no longer supported on IOS 8.1?

    How do I keep emails from being deleted on my iPhone 6? Emails get deleted from phone when I startup desktop computer and they are downloaded from sever. Is POP3 no longer supported on IOS 8.1?

    Have you seen this?
    Using a POP account with more than one device - Apple Support
    A better solution is if your email provider uses IMAP. IMAP sync email folders between multiple devices. Meaning any device will receive the email, all sent email can be seen on the devices. If you delete email from one device the email is deleted from all the other devices. Check with your email provider to see if they offer IMAP services.
    If they do not your choices are to 1) configure email on the PC to keep Mail on the mail server or 2) change email providers to something like Gmail or Outlook.com (as examples). FWIW I use Cox IMAP email and fully sync email between a Win 8.1 Update 1 laptop, a Win 7 desktop, an iPad 4, an iPhone 4 and an iPhone 5S.

  • Getting as message that says"The folder "Desktop" could not be opened because you do not have sufficient access privileges". How can I get into this folder?

    Getting as message that says"The folder "Desktop" could not be opened because you do not have sufficient access privileges". How can I get into this folder?

    OPen your Users folder, Highlight the Desktop Folder, do a Get Info or CMD+i on it, see if it's locked or if you have Rights & Privileges at the bottom.

  • Condition value of Tax gets wrongly added to Total value of Contract

    Hi All,
    I'm currently investigating an issue where there are 2 line items in an SAP Sales Contract. There is a human error in the second line where the billing end date is less than billing start date in the billing plan. Consequently, the second line has null Outgoing target value.
    However, the header Total value in the Contract gets wrongly calculated as Basic condition value of 1st line + Condition value of tax condition type of line one due to this. When I modify the billing end date for the second line item to be a date greater than the billing start date, the above problem disappears and the total value of the contract does not include the tax component.
    For eg.
    Normal Error free Contract
    Total Value at Header = 700.00 EUR
    Material  Outgoing Target val
    Item 0010  MAT1 450.00 ( 450 + 50 (tax ) )
    Item 0020 MAT2 150.00
    Contract with billing plan error in second line
    Total value at Header = 550.00 EUR
    MAterial Outgoing target val
    Item 0010 MAT1 450.00 ( 450 + 50 (tax ) )
    Item 0020 MAT2 0.00
    Any inputs would be most welcome.
    Regards,
    Venkatesh.

    Got the solution by making the condition type as manual.
    Thanks.
    Dhruba

  • HT4623 how do I get my apps back on my phone desktop after upgrade to IOS6

    How do I get my apps back on my phone desktop after upgrade to IOS6

    Sync them back to the iPhone via iTunes or redownload them directly to the iPhone.
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    If you also what your app date, you need to restore from backup. See:
    iOS: How to back up

  • How do I get an App to display on all desktops in Mission Control?

    How do I get an App to display on all desktops in Mission Control?
    I tried:
    Right-Click on the icon in the Dock
    Options -> All Desktops
    This doesn't work.
    The App was created using REALStudio.  Does this have any bearing on the issue?
    SyB

    Hi, if the App is in the Dock, right click, choose Options>Open at login.
    Or System Preferences>Accounts>Login Items window, drag the App there or click on the tiny plus icon to add it.

  • I keep getting a hp update message on my desktop

    i keep getting a hp update message on my desktop. it says a update is available. clicking on it does nothing. it only goes away when i restart the computer. windows 7 os hp officejet 6500
    This question was solved.
    View Solution.

     Hey Henry sorry your having this problem what you can do is go to your control panel, then programs and feature/add or remove programs... it depends on which one it says then look for hp updates .. Uninstall that then you should be fine.

Maybe you are looking for

  • Disabling copy feature in Crystal Reports for Visual Studio 2010 SP2

    Hi , When I tried Crystal Reports for Visual Studio 2010 SP2 , I saw a new feature which allows user to copy content of the report after selecting it. I am using .net 4.0 winform application. I want to suppress this feature. I want the selection of o

  • CreateChannel is slow responding

    I have the following C# code that works great most of the time but every once in a while CreateChannel will take 400+ms to return instead of the usual 3-4ms.  I can reproduce this on at least two different computers / configurations. Attached sample 

  • Where to download database 10g  base ...

    hi... i am upgrading my database 8.1.7.4 to 10.2.0.3 i am having 10.2.0.3 patch 5337014 andwhere to download database 10g base ... Regrds SBJ

  • No Fill In the Series

    Hi Gurus, Is this possible in the Xcelsius 2008 Sp3 that we can make series filled with no color , actually i tried to bind the color with no fill cell but by default it is taking black.. My requirement is something like i need to make one series wit

  • My PC recognizes one of my Nanos, but not the other

    I have two Nanos. My computer and iTunes recognizes one, but not the other. I have gone through all the trouble shooting steps on the second one, but it still doesn't register on my computer even though it shows the charging symbol. I am stumped. Can