473,472 Members | 2,155 Online
Bytes | Software Development & Data Engineering Community
Create 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 8791

"Tobias" <th@bitmensch.de> wrote in message
news:71**************************@posting.google.c om...
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.de> wrote in message news:71**************************@posting.google.c om...
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.google. 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
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
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...
2
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++...
9
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...
5
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 =...
1
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...
5
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...
2
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:...
3
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...
1
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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...
1
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.