Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6978599
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T17:46:39+00:00 2026-05-27T17:46:39+00:00

I have dumped a Windows SDK .lib file (kernel32.lib) with DUMPBIN, the output show

  • 0

I have dumped a Windows SDK .lib file (kernel32.lib) with DUMPBIN, the output show me that there are two “versions” for every API name, for example:

_imp_ExitProcess@4

and

_ExitProcess@4

So, why there are two of the same with different name mangling? .
Let say i want to call ExitProcess from NASM, wich of them should i use when declare EXTERN?, mi practice shows me that i can call any of them but i don’t know which one is the “correct” or the “prefered” to stick with it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T17:46:40+00:00Added an answer on May 27, 2026 at 5:46 pm

    I think the _imp_ version is meant to be used with __declspec(dllimport) on Visual C++ compilers to prevent potential conflicts with code in the same module.

    You’re not supposed to use that fact explicitly in your code — just use the original function, i.e. _ExitProcess@4.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing a .NET 3.5 Windows Forms app. I have two projects, the
I have some native (as in /SUBSYSTEM:NATIVE ) Windows programs that I'd like to
I have a third-party .NET library that enables output of some key diagnostic information
I have data set as below: Quote: HBOND SUMMARY output to file HB_lowLyo_D_lipid_A_water_001_064.tbl, data
I have dumped my repository on my old computer to a file with the
I have a file in which I have dumped a huge number of lists.Now
I have a dict object. I dumped the data using this: for alldata in
Have you ever seen any of there error messages? -- SQL Server 2000 Could
I have a large C++ function which uses OpenCV library and running on Windows
I have an application that was started in C# 1.0 using Visual Studio .NET.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.