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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T07:09:30+00:00 2026-05-28T07:09:30+00:00

I need to use Memory-Mapped Files to implement some virtual file system in c.

  • 0

I need to use Memory-Mapped Files to implement some virtual file system in c.
I was included winbase.h for this case , but i have many errors from this library like:

Error   1   error C2061: syntax error : identifier 'PVOID'  c:\program files (x86)\microsoft sdks\windows\v7.0a\include\winbase.h   250 1   FileIO
Error   2   error C2059: syntax error : '}' c:\program files (x86)\microsoft sdks\windows\v7.0a\include\winbase.h   251 1   FileIO
Error   3   error C2061: syntax error : identifier 'hEvent' c:\program files (x86)\microsoft sdks\windows\v7.0a\include\winbase.h   253 1   FileIO
Error   4   error C2059: syntax error : ';' c:\program files (x86)\microsoft sdks\windows\v7.0a\include\winbase.h   253 1   FileIO
Error   5   error C2059: syntax error : '}' c:\program files (x86)\microsoft sdks\windows\v7.0a\include\winbase.h   254 1   FileIO
Error   6   error C2061: syntax error : identifier 'LPOVERLAPPED'   c:\program files (x86)\microsoft sdks\windows\v7.0a\include\winbase.h   258 1   FileIO
Error   7   error C2059: syntax error : '}' c:\program files (x86)\microsoft sdks\windows\v7.0a\include\winbase.h   261 1   FileIO
Error   8   error C2061: syntax error : identifier 'LPVOID' c:\program files (x86)\microsoft sdks\windows\v7.0a\include\winbase.h   265 1   FileIO
Error   9   error C2061: syntax error : identifier 'bInheritHandle' c:\program files (x86)\microsoft sdks\windows\v7.0a\include\winbase.h   266 1   FileIO
Error   10  error C2059: syntax error : ';' c:\program files (x86)\microsoft sdks\windows\v7.0a\include\winbase.h   266 1   FileIO
Error   11  error C2059: syntax error : '}' c:\program files (x86)\microsoft sdks\windows\v7.0a\include\winbase.h   267 1   FileIO
Error   12  error C2016: C requires that a struct or union has at least one member  c:

…

I was included intsafe.h before winbase.h. Is i need another libraries to be included to be able to use winbase.h in my c application?
Thanks for advice

  • 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-28T07:09:30+00:00Added an answer on May 28, 2026 at 7:09 am

    Include windows.h instead of winbase.h.

    winbase.h doesn’t include many of the typedef’s for things like PVOID.

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

Sidebar

Related Questions

I need some help understanding how 32 bit applications use memory on a 64
I'm planning to develop a web service, i need to use in memory cache,
I need to use an alias in the WHERE clause, but It keeps telling
I need to use a datetime.strptime on the text which looks like follows. Some
I'm very new to Memory Mapped Files, and I'm a little lost on something.
I'm trying to use a BufferedInputStream to load an external DICOM file, but it
According to this page, it's possible to use TClientDataset as an in-memory dataset, completely
I need some clarifications for the concept & implementation on memory pool. By memory
Supposed that for some reason you are only allowed to use static memory in
I need to read line by line from text file (log files from server)

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.