Results 1 to 15 of 15

Thread: Windows hook using windows api in QT

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2016
    Posts
    78
    Thanked 1 Time in 1 Post
    Qt products
    Qt5

    Default Windows hook using windows api in QT

    Hi i am searching for windows hook and i checked this in the webpage of microsoft. But i dont know how i can't return the value since function using LRESULT to show for example since qDebug the key pressed for me in terminal.
    Error:
    C:\Users\moh\Documents\Hook\main.cpp:63: error: C2440: 'return' : no se puede realizar la conversi¢n de 'QString' a 'LRESULT' No hay disponible ning£n operador de conversi¢n definido por el usuario que pueda realizar esta conversi¢n, o bien no se puede llamar al operador

    The question is how i can change the returned value to Qstring. It's only for doing one example with qDebug thx
    Last edited by davinciomare; 4th October 2016 at 23:11. Reason: Conversion Qt

Similar Threads

  1. Replies: 0
    Last Post: 10th June 2014, 13:38
  2. Replies: 0
    Last Post: 10th October 2013, 07:04
  3. New dialog/windows creation hook
    By gilamran in forum Qt Programming
    Replies: 9
    Last Post: 29th March 2011, 00:01
  4. Replies: 2
    Last Post: 6th September 2010, 14:22
  5. Replies: 3
    Last Post: 12th July 2010, 06:25

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.