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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:19:32+00:00 2026-05-28T01:19:32+00:00

I am debugging an Excel 2010 plug-in, done by someone else, moving from WindowsXP

  • 0

I am debugging an Excel 2010 plug-in, done by someone else, moving from WindowsXP 32 bits to Windows 7 64 bits.

I get a compile time error in the XLCALL.CPP file, part of “Microsoft Excel Developer’s Toolkit – Version 14.0”.

This is the code with the error:

...
typedef int (PASCAL *EXCEL12PROC) (int xlfn, int coper, LPXLOPER12 *rgpxloper12, LPXLOPER12 xloper12Res);

HMODULE hmodule;
EXCEL12PROC pexcel12;

__forceinline void FetchExcel12EntryPt(void)       // <<< error, line 36
    {
        if (pexcel12 == NULL)
        {
            hmodule = GetModuleHandle(NULL);
            if (hmodule != NULL)
            {
                pexcel12 = (EXCEL12PROC) GetProcAddress(hmodule, EXCEL12ENTRYPT);
            }
        }
    }

This is the error message:

S:\3rdparty\2010 Office System Developer Resources\Excel2010XLLSDK\SRC\XLCALL.CPP|36|error: expected constructor, destructor, or type conversion before 'void'

I have no clue about the possible reason of this error. In the XLCALL.H include file there are no class definitions, just POD structures, so it should not look for constructors/destructors. The function the error refers to is local to that file (i.e. not declared in the include file). No other files are included.

Thank you for any help!

Platform:
Windows 7 64 bits
Excel 2010
MinGW32
CodeBlocks 10.05

  • 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-28T01:19:33+00:00Added an answer on May 28, 2026 at 1:19 am

    Ok, it seems that to develop C++ tools which have to work with Microsoft products, the best thing to do is to use Microsoft Visual C++.

    Doing that, all these issues just disappeared.

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

Sidebar

Related Questions

Lets start by saying that I am debugging someone else's code :-) The error
If I am debugging (in this case a Visual Studio assembly called by Excel)
Debugging a PHP program, is there any add-on/plug-in for browser which I can view
My C# application send a formatted date (ex: 9/6/2010 - dd/mm/yyyy) to an excel
I'm debugging some ColdFusion code (although the question is really language-agnostic), and from the
Debugging an old Access 2000 database which someone recently added a labels report to.
I have copied and pasted some debugging information into an Excel sheet. However, it
I have an Excel VBA module calling a C# COM dll. Sometimes, I get
I'm using (and changing) an Excel-File from C#, like: Excel.Application app = new Excel.Application();
I am trying to import data from excel into a datatable using c#. Here

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.