Windows Message Queue 64-Bit Support

Just wondering if the Windows Message Queue will ever be updated to support 64-bit Windows?  It is some really neat low level tools on windows but only works fully in 32 bit Windows.
I'm looking to detect when a window is resized, or has a mouse down event, based on its HWND not VI reference.  This is very easy to do with this library if you don't use 64 bit Windows.  Any other tips on accomplishing this is appreciated.
EDIT:  Attatched is a VI that runs in LabVIEW 2011 32 bit.  On Windows 7 64-bit the "WM_Size" is not generated when the panel is resized.  The mouse event does get generated for some reason. (this VI relies on VIs in the library linked earlier)
Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.
Attachments:
Windows Message Queue Example.vi ‏91 KB

Emily-C wrote:
Hi Hoovah,
Are you running into specific issues in your application where LabVIEW events don't meet your needs? 
Yes specifically when it is not a LabVIEW front panel that I am trying to detect changes to.  I would like to be able to detect when a window is resized like Notepad.  Something not LabVIEW.  This is possible with the Windows Message Queue Library but not with LabVIEW events.
I think I may have a solution anyway and I'll need more time to test, but I can put this other window (Notepad for example) into a VI, then remove the ability to resize Notepad, but instead resize Notepad when the VI it is in gets resized.  Then I can detect when the window is resized because I can be detecting a Panel Size? event (or Pane) on the VI that Notepad is in.  This is alot of extra headache and things to keep track of but do able.  But this also adds other flexibilities that I think I may prefer.
Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

Similar Messages

  • Windows 2008 server 32 bit support

    Hello,
    Is MaxDB officially supported for Windows 2008 server 32 bit  platform?
    Thanks,
    Jose

    Jose Lopez wrote:>
    > OK, then perhaps mention specifically W2003 in the download link?
    Hmm... about what download link are you talking?
    The one in the download area here in SDN?
    If so, then this is not relevant for SAP customers as they should get all their software via DVD delivery or the Service Marketplace downloads!
    In the service marketplace download sections there are no restrictions given, since the Product Availability Matrix (https://service.sap.com/pam) contains all the release/support information.
    In general, the PAM is the one single place to check for supported versions.
    regards,
    Lars

  • Windows Message Queue Library - problem with win SDK function Review

    Verified on Windows XP and 98 :
    in the VI "Get Window Refnum", called subfunction "FindWindowA" returns 0 which generates error code 6002. What should I do ?

    De plus,
    Quelle fenêtre essayez vous d'ouvrir ?
    En exécutant le VI "Get Window Refnum", il faut que la fenêtre soit ouverte préalablement. De plus, il faut entrer, dans "Window Name", le nom exact de la fenêtre avec les extensions. Par exemple si vous ouvrez un fichier bloc-Note s'appelant "Teste.txt", la chaîne de caractère à mettre est : Teste.txt - Bloc-notes.
    Je rappelle que ce VI ne fonctionne pas, pour le moment, avec les fenêtres LabVIEW.
    (De plus, avant de lancer le VI, cliquez droit sur la fonction "Appeler une fonction d'une DLL..." puis sélectionnez "Configurer...". Dans le champ "Nom de fonction", le menu déroulant des fonctions contenues dans la DLL doit être actif. S'il ne l'est pas, cliquez sur parcourir et sélect
    ionnez la DLL "user32.dll" qui se trouve dans C:\WINDOWS\SYSTEM32.)
    En espérant que ceci vous aidera,
    Cordialement,

  • What do i need to get started with windows messages?

    Hello, i've searched these forums and found no answer. I would like to know how i can get started sending and recieving windows messages in labVIEW. Thanks

    LabVIEW does not support direct acces to the Windows Message Queue. I asume that you are asking this in regard to enqueued events. There are certain events which are of interested for LV and therefore they will be "passed on to LV" (simplified expression).
    If you want to have access to the Windows Message Queue manually, you have to create your own interface using MFC-based C++ wrapper. I think there are examples available for such things, but they are most often focused on specific tasks, so maybe (if available at all) they will not help you.....
    hope this helps,
    Norbert 
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Handling windows messages within an event structure

    Hello all.
    I've got an event driven VI which makes use of an event structure. I'd like my VI to be able to respond to some custom windows messages (i.e. WM_USER) sent from a separate process that listens on a telemetry card (sends a message when it receives data).
    I have tried modifying the Windows Messaging Queue VI example provided by NI so that the VI will process windows messages during the timeout event in the event structure but this doesn't seem to work.
    Any suggestions?
    If labview events and windows messages don't mix then I guess I could do away with the event structure and go entirely with windows messages. This could be done by defining some custom messages that replace the labview events (e.g., W
    M_STOPBUTTON_PRESSED = stop button, value changed event) and have the VI post these messages using PostMessage from User32.DLL and then catch these messages in the same manner as the NI Windows Messaging Queue VI.
    My preference is to make use of the event structure if I can because its more inline with the labview methodology.
    This is really interprocess communication question so if there are other ways of achieving the same result (sockets, named pipes, shared memory?) I'm keen to listen.
    cheers,
    Novak.

    These 'sockets' sound interesting. What exactly are they? Could you direct
    me to an example?
    Thanks
    Denis
    "VI Guy" wrote in message
    news:[email protected]..
    > LabVIEW Events and Windows messages don't mix. To implement as such,
    > you would have to do as you describe.
    >
    > Using sockets as an inter process communication scheme works great.
    > And on a single machine, they dont leave the computer (i.e. no round
    > trip on the network). Also, its cross platform compatable, not to
    > mention it adds the possibility of being able to seperate your
    > processes across several machines. Add to this that sockets are as
    > easy to code as serial communication (with the benefit of "sleeping"
    > waits instead
    of "serial polling") and you get a solution fits many
    > applications and needs.
    >
    > Get the idea I am sold on sockets?
    >
    > Good luck.

  • Configure/Access remote Message Queue (Open MQ)

    Hi,
    I am new to JMS and Message Queue. I have installed Sun's Open Message Queue on my system.I have created ObjectStore and Destination(Queue) and using java program to insert and fetch messages.
    Following are the details:
    1. Created ObjectStore MyObjectStore with following properties:-
    java.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory
    java.naming.provider.url=file:///c:/tmp
    2. Created ConnectionFactory MyConnectionFactory and Destination MyQueue
    3. Code to access above queue:
    Hashtable env;
        Context     ctx = null;
        env = new Hashtable();
        env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.fscontext.RefFSContextFactory");
        env.put(Context.PROVIDER_URL, "file:///c:/tmp");
        ConnectionFactory cf=(javax.jms.ConnectionFactory) ctx.lookup("MyConnectionFactory");
        Queue queue=(javax.jms.Queue)ctx.lookup("MyQueue");
        Connection connection = cf.createConnection();
        Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
        MessageProducer msgProducer = session.createProducer(queue);
        MessageConsumer msgConsumer = session.createConsumer(queue);
        ....................My problem is that I am able to access Message Queue on local machine only. I don't know how i can configure my MQ to be accessed on network or/and how to look up for MQ from a remote machine in network.
    Can anybody help me on this.
    Regards
    Edited by: Arpit.Purohit on Apr 8, 2009 4:49 AM
    Edited by: Arpit.Purohit on Apr 8, 2009 4:49 AM

    Arpit,
    Yes, this is because you have chosen to use com.sun.jndi.fscontext.RefFSContextFactory as the JNDI provider in which to store your destination and connection factory objects.
    The Sun Java System Message Queue 4.3 Administration Guide has a section [File-System Object Stores|http://docs.sun.com/app/docs/doc/820-6740/aeogx?a=view] about this:
    +"Message Queue ... supports the use of a directory in the local file system as an object store for administered objects. While this approach is not recommended for production systems, it has the advantage of being very easy to use in development environments. Note, however, that for a directory to be used as a centralized object store for clients deployed across multiple computer nodes, all of those clients must have access to the directory. In addition, any user with access to the directory can use Message Queue administration tools to create and manage administered objects"+
    So if you place your JNDI store in a shared directory visible to other machines rather than C:/tmp you will be able to access it from other machines.
    The ideal solution is to use an LDAP JNDI provider. See the section [LDAP Server Object Stores|http://docs.sun.com/app/docs/doc/820-6740/aeogw?a=view] in the Administration Guide.
    Note that this issue relates to the administered objects used by MQ only. The MQ broker itself will be available from anywhere on the network and the messages themselves will stored in the broker's own message store.
    Nigel

  • Accessing DLL buffer data after receiving Windows Message

    Hi,
    I am programming MS4404 bar code scanner using LabVIEW. This is a miniscan and does not have trigger button. So we need to trigger it using Software. 
    Could communicates with scanner to enable. disable, beep, etc....issue is with the decoded data.
    DLL put data in the allocated buffer, and send a windows message WM_XXXX to application. Problem is to check these windows messages and copy the buffer data into application..............struck up here..........There was an example for this scanner but that is in VC and it is using ON_MESSAGE function to catch windows message and memcpy() to copy buffer data into local.........................Not sure how to go ahead in LabVIEW
    Appreciate any help from fellow members...........
    Thanks in advance
    Anil Punnam
    CLD
    LV 2012, TestStand 4.2..........

    Little advancement in the issue......
    I am able to capture windows messages using Windows messages queue library (found on ni.com), Now the issue is with creating buffer for DLL and pulling data from that DLL on successfull Decode of data from scanner.
    I think I am going wrong in giving cirrect data type while creating buffer here.
    Below is the description of the function from manual
    SSIDLL_API int __stdcall SetDecodeBuffer(int nComPort, unsigned char *pData, long max_length);
    where:
    . nComPort is the COM port number used in the call to SSIConnect. pData is a pointer to the destination buffer for decode data returned from the scanner
    . max_length is the size in bytes of the destination buffer 
    I am sure I am going wrong about the pData parameter.
    I need to create this buffer before decoding, so the scanner fills this buffer with decoded data.
    Thanks in advance for your help.
    Anil Punnam
    CLD
    LV 2012, TestStand 4.2..........

  • How to install InDesign CS6 from disk on a Windows 8.1 (64-bit) PC when installation fails after the first initialization of installation program, without error message?

    I have a (legally purchased) disc with InDesign CS6 that I want to install on a PC with Windows 8.1 (64-bit). After I've double-clicked the Set-up.exe file on the disc, a box is displayed showing the progress of the initialization of the installation program. When the coloured bar in the box is full – indicating that this step is completed – the installation stops and nothing more happens. No error messages are displayed.
    I can't find any useful instructions in the Adobe Help pages more than a note that there is support for also Windows 8.1 even though the system requirements printed on the disc box only lists Windows XP and Windows 7. I don't know how to make this work. Does anybody here have any suggestions? I'd be ever so grateful for any tips.

    Thanks, Jeff! The file Adobe Setup Error.log contains the following information:
    02/14/14 07:20:26:474 | [INFO] |  | OOBE | DE |  |  |  | 8860 | DEVersion: 5.0.0.0
    02/14/14 07:20:26:475 | [INFO] |  | OOBE | DE |  |  |  | 8860 | Loading library from C:\Program Files (x86)\Common Files\Adobe\OOBE\PDApp\DECore\DE5\Setup.dll
    [    8860] Fri Feb 14 07:20:26 2014  INFO
    ::START TIMER:: [Total Timer]
    CHECK: Single instance running
    CHECK : Credentials
    Load Deployment File
    CHECK : Another Native OS installer already running
    Create Required Folders
    Assuming uninstall mode
    Lookup for master payload
    [    8860] Fri Feb 14 07:20:26 2014 ERROR
    DW040: The product "{893B3B44-0A1E-404B-8FE8-0A74509102A9}" is not installed. Cannot proceed with the uninstall
    [    8860] Fri Feb 14 07:20:26 2014  INFO
    :: END TIMER :: [Total Timer] took 6.90443 milliseconds (0.00690443 seconds) DTR = 579.338 KBPS (0.56576 MBPS)
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 1 error(s), 0 warning(s)
    ERROR: DW040: The product "{893B3B44-0A1E-404B-8FE8-0A74509102A9}" is not installed. Cannot proceed with the uninstall
    Please search the above error/warning string(s) to find when the error occurred.
    These errors resulted in installer Exit Code mentioned below.
    Exit Code: 33 - The product is not installed, cannot uninstall.
    Please see specific errors and warnings for troubleshooting. For example, ERROR: DW040 ...

  • I am trying to install itunes on my computer which is running windows 7, sp1, 64 bit. i get the message 'THIS INSTALLATION PACKAGE COULD NOT BE OPENED.VERIFY THAT THIS PACKAGE EXISTS, ETC'. any ideas how to fix?thanks jake

    i am trying to install itunes on my computer which is running windows 7, sp1, 64 bit. i get the message 'THIS INSTALLATION PACKAGE COULD NOT BE OPENED.VERIFY THAT THIS PACKAGE EXISTS, ETC'. any ideas how to fix?
    thanks jake

    Hello tcampbell1549,
    Thank you for using Apple Support Communities.
    For more information, take a look at:
    Issues installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/ht1926
    Have a nice day,
    Mario

  • HP Desktop 2542 - Windows 7 Ultimate 64 bit 'operating system is not supported'

    Hello, I'm having problems installing my new HP Desktop 2542 on my PC.
    I've downloaded the correct driver (Windows 7 Ultimate 64 bit) and upon installation I receive the message 'The Operating System of this computer is not supported. For a list of supported Operating Systems blah blah blah....'
    I'm using a standard USB connection.
    I've managed to install it on my Android devices and my Windows 8 laptop but I'm having no luck with the PC.
    What should I do?
    Thanks in advance for any help you can offer!

    Hello @rossinnit and welcome to the HP Forums!
    I'd like to help you get the Deskjet 2542 installed on your Windows 7 PC
    I'd recommend that you download and run the HP Printer Install Wizard, and that will seek out the drivers online (from the HP web page) and download them for you and then start the install as well.
    With that tool you can plug in the USB cable when it asks near the beginning to find the right drivers.
    Let me know how things go for you!
    Please click “Accept as Solution ” if you feel my post resolved your issue, as it will help others find the solution faster
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    **MissTeriLynn**
    I work on behalf of HP

  • Error message "test page failed to print" in windows 7 ultimate 32 bits

    I have installed printer a hp deskjet 1515 in windows 7 ultimate 32 bits and it is successfully installed, however  when I tried to test print out there showed message "test page failed to print. Would you like to view the print troubleshooter
    for assistance?". I tried to clicked Yes and running the troubleshooter until completed but the result still the same showed the same message above when test print again.
    Please need assistance how to solve this problem
    Thanks
    Sopyan

    Hi Sopyan,
    On current situation, please refer to following steps and check if help us to troubleshoot this issue.
    1. Please check if use the correct printer driver and also check if need to update it.
    2. Please check if firewall was enabled or third-party security application ran. Please temporarily disable them and monitor the result.
    3. Please use another administrator account to logon and print again, then check if this issue still exist.
    4. Please open Event Viewer and check if find some relevant events or errors.
    If any update, please feel free to let us know.
    Best regards,
    Justin Gu
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • I have installed and uninstalled i tunes to windows vista several times and i keep getting an error message of no apple support

    I have tried numerous times to install and uninstall i tunes on windows vista and I keep getting an error message of no apple support.  Anyone have a solution to this?

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    The further information area has direct links to the current and recent builds in case you have problems downloading, need to revert to an older version, or want to try the iTunes for Windows (64-bit - for older video cards) release as a workaround for installation or performance issues, or compatibility with QuickTime or third party software.
    Your library should be unaffected by these steps but there are also links to backup and recovery advice should it be needed.
    tt2

  • Unable to load ITUNES onto PC HP, windows 7 Home Version.  Error message reads "Application Application Support not found".  "Unistall and reload".  I have done that 4 times on Explorer and Firefox without success.  Help??

    Unable to load ITUNES onto PC HP, windows 7 Home Version.  Error message reads "Application Application Support not found".  "Uninstall and reload".  I have done that 4 times on Explorer and Firefox without success.  Help??

    I had gotten a similar problem, except with "provider services", i believe, but i solved it by copying sqlite3.dll from E:\Program Files\Common Files\Apple\Apple Application Support to E:\Program Files\Common Files\Apple\Mobile Device Support. doing that solved my first problem, but now i have been getting the error described in this topic (unable to load dataclass info... etc.). i tried reinstalling itunes (i already had 9.1.1, and thats what i reinstalled) by using the method described on apples site (using the "remove programs" tool in the control panel) and then downloading and installing itunes. when i opened it again, i still got the same error, and just now i got an error saying "the instruction at "0x00aadb6b" referenced memory at "0x00000008". the memory could not be read" it gave me the option to cancel and debug, or to press ok and terminate the program. I tried pressing cancel, and the popup went away but nothing else happened. a minute later the popup was back, so i pressed ok and itunes quit. Upon opening Itunes again, i got the very same error. sorry for the long post, but its really been bugging me. thanks for any help you might give, and if you need anymore info, feel free to contact me.

  • "Windows Explorer Has Stopped Working" Error Message Loop upon Startup of WIndows 7 Ultimate 64-bit

    Ok I have a HP Touchsmart 6000 running Windows 7 Ultimate 64 bit OS.  It is my 74 year old mothers computer and about 3 months ago it started acting up.  First thing that happened was the internal DVD Burner started working intermitently, recognizing
    her QuickBooks backup DVD files occasionally.  I got her a new  internal DVD burner and it worked for a while.   during that time on Startup Help and Support would all of a sudden popup right away.    Then recently Adobe Acrobat would
    launch a PDF file about Flash and keep opening multiple instances of it.   Now her new DVD doesnt work again and on startup at the windows desktop she gets an error "Windows Explorer has Stopped Working".   No matter what I click the error
    keeps looping.  No program has been opened that causes it to crash because the error happens immediately and keeps repeating.   I have tried to boot to Safe Mode, Safe Mode with Networking and have tried System Restore to no avail.
    I have ran Malwarebytes Antivirus, Malwarebytes AntiExploit, AntiRootkit as well as Combofix.   I have run the AntiMalware software from Microsoft and have updated all the drivers for the HP system.   To no succcess.
    At one point the system did load and an error came up JAN2OSD failed to start due to missing ACPI or something like that.  For that brief moment Explorer stopped crashing.   When I finished updating  driverss though the error  came back.
    Please Help  as she is about to cry and no one wants to make a 74 year old woman cry.:)
    Thanks,
    Jeff

    Hi,
    According to the steps you have performed, we have followed the steps mentioned in this KB article?
    Error: Windows Explorer has stopped working
    Hvae you tried the repair install of Windows 7? Follow the steps here:
    How to Perform an In-Place Upgrade on Windows Vista, Windows 7, Windows Server 2008 & Windows Server 2008 R2
    Besides, if issue insists, please follow the steps below to generate a dump file:
    1. Create a new folder (named New folder)under C: drive.
    2. Please save the below as a .reg file, and then import it to registry, reference here:
    ===
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\explorer.exe]
    "DumpFolder"=hex(2):43,00,3a,00,5c,00,4e,00,65,00,77,00,20,00,66,00,6f,00,6c,\
      00,64,00,65,00,72,00,00,00
    "DumpCount"=dword:00000010
    "DumpType"=dword:00000001
    "CustomDumpFlags"=dword:00000000
    ===
     3.  After that , if Windows Explorer stops working again, please check the
    C:\New folder for dump files and then upload them.
    Meanwhile, please also make a contact with the manufacturer to see if we could get any further help from there.
    Best regards
    Michael Shao
    TechNet Community Support

  • HT4407 When installing Windows 7 using Bootcamp, I get message: "Need 64-bit Windows Installation USB drive or DVD."  I thought my install disk was for 32 or 64 bit.  What does this mean?

    When Installing Windows 7 using Bootcamp, I get message:  "Need 64 bit Windows installation USB drive or DVD."  What does this mean?

    It means you need the 64 bit Version of Windows on a USB stick or DVD.

Maybe you are looking for

  • How to insert 3D Model data into an EPUB file?

    Afternoon, I am trying to insert a 3D model into an epub document. Does anybody know how to do this either within InDesign or with any other Adobe Program? The model I have is a Sketchup model and any export file type I try cannot be opened directly

  • DMS - How to organize DMS?

    Hi, the business requirement is to attach the SAP document to a 'serial number': at the goods incoming registration the serial number of the component is assigned. We need to link this component to a DMS document. When this component will be worked a

  • Keynote slide show exported to QT , so what ?

    I need to export a slide show created w Keynote 09 as a Flash slideshow.. I exported it easily to QT, so I can view it (click in to change slide but no button to go back..?) but then there is no more .mov to Flash export .. so I used MPEG Streamclip

  • Vertical Text in 3d Charts

    Hello All, I have had a look around but can't find a solution for my problem in my 3d charts. I some longer words on my x-axis that are over lapping each other. I would like to make the text vertical or slanted slightly so they don't overlap. This on

  • Vendor list table

    Hi there, SRM 5.0. Can anybody guide me for whats the standard table which holds the Product category and vendor info. there are seperate table to hold product cat and Vendor (VENMAP,BUT001) but which is the table which holds both the data in one tab