Results 1 to 2 of 2

Thread: How to get Entry-point of an executable?

  1. #1
    Join Date
    Sep 2011
    Thanked 1 Time in 1 Post
    Qt products
    Unix/X11 Windows

    Default How to get Entry-point of an executable?

    I know this topic goes a little further down the road of programming, Even further I think with Qt, so I'm wondering how I can get the entry-point of a random (let's say) process, which in this case I would like to do the following.

    -Create my (Entrypoint Get) program in Qt, with whatever class/library that handles this type of topic.
    -Then load whatever process into my program, Then my program calculates the Entrypoint of that loaded process.

    I'm not asking for someone to actually make the code for me, but rather speak up with me what are the classes/libraries that are needed to achieve this. I know PE32 for Windows is a bit extensive subject to speak about, but I would like to someone just point out what could be used in order to achieve it.

  2. #2
    Join Date
    Jan 2006
    Warsaw, Poland
    Thanked 5,012 Times in 4,791 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits

    Default Re: How to get Entry-point of an executable?

    You don't have to calculate much. The entry point is usually the symbol called "main". Other than that, this is really very system-specific.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.

Similar Threads

  1. Entry point not found
    By feraudyh in forum Installation and Deployment
    Replies: 3
    Last Post: 2nd July 2010, 12:12
  2. Procedure entry point not found
    By Ishmael in forum Newbie
    Replies: 5
    Last Post: 11th October 2009, 07:15
  3. Procedure entry point not located
    By Hannibal in forum Qt Programming
    Replies: 2
    Last Post: 8th October 2008, 16:13
  4. Entry point not found after compiling with Qt 4.2
    By mace in forum Installation and Deployment
    Replies: 6
    Last Post: 10th October 2006, 11:24
  5. Entry Point Not Found Error
    By ToddAtWSU in forum Newbie
    Replies: 10
    Last Post: 8th February 2006, 18:31


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.