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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T21:03:16+00:00 2026-05-18T21:03:16+00:00

I don’t know what happen about this error,this program i can run normaly early,

  • 0

I don’t know what happen about this error,this program i can run normaly early, I check include file, i have include file but it show this error message, I check SDK path ,it has be added include visual c++ include path

Blockquote
1>d:\myhim2\agent\common\commonlib_subsystem\src\cdrom.cpp(222) : error C2065: ‘STORAGE_PROPERTY_QUERY’ : 未宣告的識別項
1>d:\myhim2\agent\common\commonlib_subsystem\src\cdrom.cpp(222) : error C2146: 語法錯誤 : 遺漏 ‘;’ (在識別項 ‘Query’ 之前)
1>d:\myhim2\agent\common\commonlib_subsystem\src\cdrom.cpp(222) : error C2065: ‘Query’ : 未宣告的識別項
1>d:\myhim2\agent\common\commonlib_subsystem\src\cdrom.cpp(223) : error C2065: ‘Query’ : 未宣告的識別項
1>d:\myhim2\agent\common\commonlib_subsystem\src\cdrom.cpp(223) : error C2228: ‘.PropertyId’ 的左邊必須有類別/結構/等位
1> 型別為 ”unknown-type”
1>d:\myhim2\agent\common\commonlib_subsystem\src\cdrom.cpp(223) : error C2065: ‘StorageDeviceProperty’ : 未宣告的識別項
1>d:\myhim2\agent\common\commonlib_subsystem\src\cdrom.cpp(224) : error C2065: ‘Query’ : 未宣告的識別項
1>d:\myhim2\agent\common\commonlib_subsystem\src\cdrom.cpp(224) : error C2228: ‘.QueryType’ 的左邊必須有類別/結構/等位
1> 型別為 ”unknown-type”
1>d:\myhim2\agent\common\commonlib_subsystem\src\cdrom.cpp(224) : error C2065: ‘PropertyStandardQuery’ : 未宣告的識別項
1>d:\myhim2\agent\common\commonlib_subsystem\src\cdrom.cpp(230) : error C2065: ‘Query’ : 未宣告的識別項
1>d:\myhim2\agent\common\commonlib_subsystem\src\cdrom.cpp(231) : error C2065: ‘STORAGE_PROPERTY_QUERY’ : 未宣告的識別項
1>d:\myhim2\agent\common\commonlib_subsystem\src\cdrom.cpp(231) : error C2070: ”unknown-type”: sizeof 運算元不合法,必須是運算式或型別名稱
1>正在建立瀏覽資訊檔…
2>d:\myhim2\agent\skagent\subsystems\him\build\subsystem_him\him_hd.cpp(321) : error C2065: ‘STORAGE_PROPERTY_QUERY’ : 未宣告的識別項
2>d:\myhim2\agent\skagent\subsystems\him\build\subsystem_him\him_hd.cpp(321) : error C2146: 語法錯誤 : 遺漏 ‘;’ (在識別項 ‘query’ 之前)
2>d:\myhim2\agent\skagent\subsystems\him\build\subsystem_him\him_hd.cpp(321) : error C2065: ‘query’ : 未宣告的識別項
2>d:\myhim2\agent\skagent\subsystems\him\build\subsystem_him\him_hd.cpp(500) : error C2065: ‘query’ : 未宣告的識別項
2>d:\myhim2\agent\skagent\subsystems\him\build\subsystem_him\him_hd.cpp(500) : error C2228: ‘.PropertyId’ 的左邊必須有類別/結構/等位
2> 型別為 ”unknown-type”
2>d:\myhim2\agent\skagent\subsystems\him\build\subsystem_him\him_hd.cpp(500) : error C2065: ‘StorageAdapterProperty’ : 未宣告的識別項
2>d:\myhim2\agent\skagent\subsystems\him\build\subsystem_him\him_hd.cpp(501) : error C2065: ‘query’ : 未宣告的識別項
2>d:\myhim2\agent\skagent\subsystems\him\build\subsystem_him\him_hd.cpp(501) : error C2228: ‘.QueryType’ 的左邊必須有類別/結構/等位
2> 型別為 ”unknown-type”
2>d:\myhim2\agent\skagent\subsystems\him\build\subsystem_him\him_hd.cpp(501) : error C2065: ‘PropertyStandardQuery’ : 未宣告的識別項
2>d:\myhim2\agent\skagent\subsystems\him\build\subsystem_him\him_hd.cpp(506) : error C2065: ‘query’ : 未宣告的識別項
2>d:\myhim2\agent\skagent\subsystems\him\build\subsystem_him\him_hd.cpp(507) : error C2065: ‘STORAGE_PROPERTY_QUERY’ : 未宣告的識別項
2>d:\myhim2\agent\skagent\subsystems\him\build\subsystem_him\him_hd.cpp(507) : error C2070: ”unknown-type”: sizeof 運算元不合法,必須是運算式或型別名稱
2>d:\myhim2\agent\skagent\subsystems\him\build\subsystem_him\him_hd.cpp(580) : error C2065: ‘query’ : 未宣告的識別項
2>d:\myhim2\agent\skagent\subsystems\him\build\subsystem_him\him_hd.cpp(580) : error C2228: ‘.PropertyId’ 的左邊必須有類別/結構/等位
2> 型別為 ”unknown-type”
2>d:\myhim2\agent\skagent\subsystems\him\build\subsystem_him\him_hd.cpp(580) : error C2065: ‘StorageDeviceProperty’ : 未宣告的識別項
2>d:\myhim2\agent\skagent\subsystems\him\build\subsystem_him\him_hd.cpp(581) : error C2065: ‘query’ : 未宣告的識別項
2>d:\myhim2\agent\skagent\subsystems\him\build\subsystem_him\him_hd.cpp(581) : error C2228: ‘.QueryType’ 的左邊必須有類別/結構/等位
2> 型別為 ”unknown-type”
2>d:\myhim2\agent\skagent\subsystems\him\build\subsystem_him\him_hd.cpp(581) : error C2065: ‘PropertyStandardQuery’ : 未宣告的識別項
2>d:\myhim2\agent\skagent\subsystems\him\build\subsystem_him\him_hd.cpp(586) : error C2065: ‘query’ : 未宣告的識別項
2>d:\myhim2\agent\skagent\subsystems\him\build\subsystem_him\him_hd.cpp(587) : error C2065: ‘STORAGE_PROPERTY_QUERY’ : 未宣告的識別項
2>d:\myhim2\agent\skagent\subsystems\him\build\subsystem_him\him_hd.cpp(587) : error C2070: ”unknown-type”: sizeof 運算元不合法,必須是運算式或型別名稱
2>正在產生程式碼…

  • 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-18T21:03:17+00:00Added an answer on May 18, 2026 at 9:03 pm

    It means “STORAGE_PROPERTY_QUERY‘ is not a valid identifier. See the exact pertaining doc here: http://msdn.microsoft.com/en-us/library/ewcf0002(VS.80).aspx.

    You need to add the WinIoCtl.h file to your C++ project.

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

Sidebar

Related Questions

I don't understand where the extra bits are coming from in this article about
I don't know if anyone has seen this issue before but I'm just stumped.
Don't need to do this right now but thinking about the future... What would
I don't know why i can't match url when url is http://localhost:8000/home/CPM%201.6.1001 since i
I don't know if this is possible. I display a table of results and
I don't know if i am doing it right, this is what I got:
I don't know when to add to a dataset a tableadapter or a query
I don't expect a straightforward silver bullet answer to this, but what are the
Don't ask why, but is there any way to suppress a failed linking error?
Don't want to sort the entries. using this does not preserve the order as

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.