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 9156105
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T12:42:43+00:00 2026-06-17T12:42:43+00:00

I am porting a C++ project from an old Borland compiler to VisualStudio 2008.

  • 0

I am porting a C++ project from an old Borland compiler to VisualStudio 2008. This project uses a third party DLL that I don’t have the source code for, so I am unable to recompile or modify it. The header file for the DLL defines functions along the lines of:

extern "C" {
void __stdcall Init(int a, int b);
}

However when I try to link to this DLL, VisualStudio says that it cannot find the function _Init@8. When I look at the DLL I find that the function name is _Init, and not _Init@8 (it seems that the DLL to predates Microsoft adding @8 to stdcall name mangling).

My question is: How can I call funcions in this DLL? Does VisualStudio simply not support these old DLLs, or is there a flag/setting that I’m missing. (I am aware that I could use the LoadLibrary/GetProcAddress functions to dynamically call the functions at run-time, but would prefer to not to.)

  • 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-06-17T12:42:44+00:00Added an answer on June 17, 2026 at 12:42 pm

    I didn’t notice anything that would tell me whether you are doing 32 or 64 bit coding. MSDN has some information on how to create an import library based on a dll that you have no source for. This article is for making a 32 bit import library. CHEERS!

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

Sidebar

Related Questions

I have an MFC application that uses an ancient (circa 1999) third-party ActiveX control.
I have a project that runs on Debian and uses many packages provided from
I've got an old VS2003 project that needs to be updated. Porting it forward
I've a C++ project that I'm currently porting from VS2008 to VS2010. When I
I'm porting a project from MSVC to Borland C++ and I'm running into difficulties
In the process of porting a C project from Linux to Windows Have installed
I'm in the process of porting a large'ish (~1M LOC) project from a Window/Visual
I'm porting over some code from one project to another within my company and
Im porting a project from php to java. The project is a web-app based
I'm currently porting a project of mine from x86 to x64. It is a

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.