473,796 Members | 2,560 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VC++6 missing storage-class or type specifiers

Hallo, I have a strange problem here:
I a VC++6 project that compiles without any errors. If i now include a
certain header file from my project into a header file of a certain
dialog class i get several compiler errors (missing storage-class or
type specifiers) in the mentioned header file and in a header file of
another dialog header file in my project. I don't expect a solution
from you but can anyone give me a hint how i can find the problem.
Thanks in advance
Tobias
Jul 22 '05 #1
3 8813

"Tobias" <th@bitmensch.d e> wrote in message
news:71******** *************** ***@posting.goo gle.com...
Hallo, I have a strange problem here:
I a VC++6 project that compiles without any errors. If i now include a
certain header file from my project into a header file of a certain
dialog class i get several compiler errors (missing storage-class or
type specifiers) in the mentioned header file and in a header file of
another dialog header file in my project. I don't expect a solution
from you but can anyone give me a hint how i can find the problem.
Thanks in advance
Tobias


Sounds like macro problems. Is your header file defining any macros or (not
an easy question to answer) including any other header files, including
system headers, which define macros.

Look at the code where the error occurs, look for likely tokens that might
have been defined as macros. Search through your header files and the system
header files for definitions of those tokens as macros.

If all else fails find the compiler option that outputs the pre-processed
source (i.e. after macros have been substituted) and examine that.

john
Jul 22 '05 #2

"Tobias" <th@bitmensch.d e> wrote in message news:71******** *************** ***@posting.goo gle.com...
Hallo, I have a strange problem here:
I a VC++6 project that compiles without any errors. If i now include a
certain header file from my project into a header file of a certain
dialog class i get several compiler errors (missing storage-class or
type specifiers) in the mentioned header file and in a header file of
another dialog header file in my project. I don't expect a solution
from you but can anyone give me a hint how i can find the problem.


Check to see that the header file isn't missing a semicolon at the end
of it's last declaration or some similar syntactic problem.

Jul 22 '05 #3
th@bitmensch.de (Tobias) wrote in message news:<71******* *************** ****@posting.go ogle.com>...
Hallo, I have a strange problem here:
I a VC++6 project that compiles without any errors. If i now include a
certain header file from my project into a header file of a certain
dialog class i get several compiler errors (missing storage-class or
type specifiers) in the mentioned header file and in a header file of
another dialog header file in my project. I don't expect a solution
from you but can anyone give me a hint how i can find the problem.


One thought occurs. There may be "missing storage-class or type
specifiers" in the header file.

Anyway, you've probably got something along the lines of a missing
or extra bracket, semicolon, or some such.

Try compiling a test project that includes the header file with
the very minimal extra stuff you need.
Socks
Jul 22 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
1511
by: Vinod Kushwaha | last post by:
Hi, I am not able to find Source Control Options in the Tools->Options Dialog. Why is it missing ? Is it hidden ? I have only bought VC++ .Net Standard 2003 Edition. Thanks, Vinod Kushwaha
0
1329
by: Severino | last post by:
Hi all, we have developed a .NET component for use inside Windows Forms: this component has been written using VC++.NET (2003) and is working perfectly when inserted inside VC#.NET or VB.NET projects; its generated assembly is inside MyAssembly.dll When used inside a VC++.NET project it appears correctly over forms at design time but when trying to compile the project we get the following error:
2
1971
by: Michael Braitmaier | last post by:
I have a quite severe problem. I am trying to compile a C++ library initially written for VC++ 6. To make the library available for .NET languages I want to compile the library as managed C++ library. As the library is utilizing DirectX 9 it bases on COM. This causes me quite some troubles as I get compile errors caused by the include files included through the DirectX 9 header file. The errors occur in unknwn.h, objbase.h and ObjIdl.h. ...
9
1907
by: Daniel | last post by:
Hi, While I compile my old C++ source in VC.Net, rebulild whole project, there are always some header files are unvaliable like "fstream.h", "Dxguide.h".....etc. Did VC.Net remove the VC++'s headers? How can I get them back? Where sould I put them in?
5
1642
by: Adriano Coser | last post by:
Hello. I'm moving an application from VC 2003 to VC 2005 Beta2. In mixed mode DLLs I need to set System::Threading::Thread::CurrentThread->ApartmentState = System::Threading::ApartmentState::STA; so the drag and drop registration can work. I used to do this in DllMain and it worked fine. But now I can't call managed code from this point. I understand that I must provide a module
1
1773
by: Peted | last post by:
Hi, sorry if this isnt the correct newsgroups for this questions but im using vc++ 2005 express edition beta2 for learning to program vc++ ..net, as in winforms applications and i was wondering if can anyone point me to some sample code for writing to connect to a existing telnet server I just want to be able to establish a connection, send character info and retreive the result sent back as a result of what i send.
5
2404
by: Andy | last post by:
I'm having trouble accessing an unmanaged long from a managed class in VC++.NET When I do, the contents of the variable seem to be mangled. If I access the same variable byte-by-byte, I get the correct value. Regardless what I set the variable to, the value that is returned for a long is always the same value. What's going on...can anyone help me? A short version of the code follows:
2
3518
by: farshid.roumi | last post by:
I was able to solve the problem in vc++5 by changing the vc++ settings. ButI can't find the same options in vc++ 2005. I have a lot of big arrays! "Unhandled exception at 0x0040c247 in jan7.exe: 0xC0000005: Access violation reading location 0x00030000."
3
3840
by: Efi Merdler | last post by:
Hello, I developed my previous project (an MFC project with managed extensions) on VC.NET standard edition, it took some time to configure it but eventually it worked. Now I'm configuring a new machine with VC express. 1.I installed SP 1. 2. I copied the project to this new machine. 3. I followed the tutorial on configuring the SDK, i.e 3.1 Changed the build paths (LIB, etc...)
1
2365
NeoPa
by: NeoPa | last post by:
My workstation at work is a Windows 2000 Server with Terminal Services as I need to connect into it remotely (Pre XP - much easier nowadays). I'm also using Outlook 2000. I'm migrating all my users onto a new Exchange Server 2003 box and have decided to use Offline Storage with the Mailbox directly. This is instead of the earlier approach of using PSTs (Our old Exchange 5.5 box was once lucky to escape being eaten by a T Rex). Space on that...
0
10236
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10182
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10017
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9055
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7552
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5445
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4120
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3734
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2928
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.