Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Original entry point

Original entry point

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mila025
    wrote on last edited by
    #1

    Hi everyone I have little problem with determining correct AddressOfEntryPoint in PE headers. When this param is incorrect, then I try execute exe file, Windows says, that isn't Win32 application. How to programmatically check, which value should be contain AddressOfEntryPoint ? Is it possible to determine correct value based on other parts PE headers e.g. IMAGE_DATA_DIRECTORY ? snippet of source code will be blessing :) Mila

    A 1 Reply Last reply
    0
    • M Mila025

      Hi everyone I have little problem with determining correct AddressOfEntryPoint in PE headers. When this param is incorrect, then I try execute exe file, Windows says, that isn't Win32 application. How to programmatically check, which value should be contain AddressOfEntryPoint ? Is it possible to determine correct value based on other parts PE headers e.g. IMAGE_DATA_DIRECTORY ? snippet of source code will be blessing :) Mila

      A Offline
      A Offline
      Alexander M
      wrote on last edited by
      #2

      AddressOfEntryPoint is a realative value, that means it points to a address in the file. Have a look at some PE tutorials, they will show you how to calculate the right value. Don't try it, just do it! ;-)

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups