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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T16:16:37+00:00 2026-06-18T16:16:37+00:00

I have just watched a video tutorial on how to set up a C++

  • 0

I have just watched a video tutorial on how to set up a C++ DLL file to call in Excel VBA. I’m just doing a simple one to start off with. So I open a new win32 project and chose DLL and empty project in the application wizard and proceed. Then I make a .cpp file and a .def file as follows:

square.cpp file:

double __stdcall square(double & x)
{
          return x*x;
}

defFile.def:

LIBRARY "square"
EXPORTS
square

Then to project properties -> Linker -> input-> Module Definition File: defFile.def

and then I compile.

Now, a .dll file should appear in the project Debug folder, but it doesn’t. Any idea’s whats wrong?

P.S. I’m fairly new to programming so try and go easy on the terminology.

  • 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-18T16:16:39+00:00Added an answer on June 18, 2026 at 4:16 pm

    By default, VC++ uses two folders named Debug when you compile a project, one at the solution’s directory and the other in the project’s directory.

    First you should check if there were any errors during the compilation. If it’s succeeded, then you can proceed to check the folder named Debug in your solution path.

    You can go there just by right-clicking in Solution 'square' (1 project) in the Solution Explorer, and selecting Open folder in Windows Explorer. Then going into the first folder name Debug. By default, that’s where VC++ stores the final executable. The other Debug folder, located in the project’s directory is just for intermediary files.

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

Sidebar

Related Questions

i have just gone through knockoutjs and watched the video provided on the site
I have just started using RSpec and I copied the very simple test on
I have just started learning python version 3 and trying to create a file
I just watched a video of Douglas Crockford's presentation about his 2009 book JavaScript:
I just watched a video regarding the Report Designer. It said to go to
I have watched a video that introduce to Jruby and the guy there make
I've just watched a video of the Groovy inventor , James Strachan, in which
I just watched the following video: Introduction to Node.js and still don't understand how
I think I'm missing something simple, but I'm just not seeing it. I have
I just watched the railscasts for multistep forms , and I now have 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.