Home > Enterprise >  How to determine the first function that gets called when running a program in Visual Studio?
How to determine the first function that gets called when running a program in Visual Studio?

Time:05-20

I'm currently working on a project that already has lots of files and functions. When I run the program, it executes properly, but I want to know how to find out the first function that gets called when we initially run the application.

More info:

  • When you run the application, it opens up a small window, asks the users to input some data (like username, password, etc), and waits for the users' data
  • The call stack is empty, so that doesn't help
  • The call hierarchy isn't helpful either, since this is a big project
  • This is a C project, and I'm using Visual Studio 2019.

Thanks in advance for any help provided.

CodePudding user response:

It's the main function (or the WinMain function in my case).

  • Related