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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T18:53:18+00:00 2026-05-10T18:53:18+00:00

I have a problem with a simple included file. The file being included is

  • 0

I have a problem with a simple included file.

The file being included is in two MFC programs – one of which is a dll, and it also compiles itself into a non-mfc dll.

Recently I was using the larger dll which wraps around the source of the smaller dll when I wanted access to some of the features of the original code that isn’t exposed by the larger dll.

Since this was a test I simply added the source to my project and called the functions. I got this error: syntax error : missing ‘)’ before ‘;’

The file is correctly included, and I have both the .cpp and the .h in the source folder, and within the project but it wouldn’t compile.

I eventually created a very small test project, main.cpp, spooler.cpp and spooler.h (the spooler is a wrapper around the comms) and tried to compile that. Same issue.

So I ripped out all the dll related stuff just in case there is a weird issue going on with that and it still won’t compile.

I can’t think of the life of me what is wrong. Does anyone else have any ideas?

p.s. Jeff you really need to add the ability to attach files because the source would fill up too many screens with data.

  • 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. 2026-05-10T18:53:19+00:00Added an answer on May 10, 2026 at 6:53 pm

    This doesn’t have anything to do with the way you include files, it’s a syntax error that you get because you didn’t nest ( and ) correctly.

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

Sidebar

Related Questions

I have a very simple problem which requires a very quick and simple solution
I have a simple problem when querying the SQL Server 2005 database. I have
i have very simple problem. I need to create model, that represent element of
Seems like a simple problem: I have an SVN repo inside our firewall. I
I have a very simple problem and a solution that will work, but I'm
I have a seemingly simple problem though i am unable to get my head
I have a problem where I always need to give simple access to my
Ok, simple problem hopefully. I have started to make a simple server for a
I have a fairly simple sync problem. I have a table with about 10
Thanks for the three excellent answers which all identified my problem of using "onclick

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.