473,386 Members | 1,652 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

fatal error C1014: too many include files : depth = 1024

//source code : Myapp.cpp


Expand|Select|Wrap|Line Numbers
  1. #include "afxwin.h"
  2.  
  3. class Myframe:public CFrameWnd
  4. {
  5. public:
  6.     Myframe()
  7.     {
  8.         Create(NULL, "DIMPLE DIALOG BOX");
  9.     }
  10.  
  11.     void OnLButtonDown(UNIT flag,CPoint point)
  12.     {
  13.         char str[100];
  14.         sprintf(str,"%d,%d",point.x,point.y);
  15.         MessageBox(str,:Mouse Poition");
  16.     }
  17.     DECLARE_MESSAGE_MAP()
  18. };
  19. BEGIN_MESSAGE_MAP(Myframe,CFrameWnd)
  20. ON_WM_LBUTTONDOWN()
  21. END_MESSAGE_MAP()
  22.  
  23. class Myapp:public CWinApp
  24. {
  25. public:
  26.     BOOL InitInstance()
  27.     {
  28.         Myframe *bwnd;
  29.         bwnd=new Myframe();
  30.         bwnd->ShowWindow(1);
  31.         m_pMainWnd=bwnd;
  32.         return 1;
  33.     }
  34. };
  35.  
  36. Myapp theApp;
Feb 10 '14 #1
1 3796
donbock
2,426 Expert 2GB
Are there any #include's within afxwin.h?
Feb 10 '14 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Tom Cat | last post by:
Is there anything wrong with using a lot of include files? On one part of my website, I have a form. The page it posts data to, includes a different file based on some of the values. The...
10
by: r6uji7 | last post by:
hello, i am new to PHP programming and wondered if u could help. lets say i have the following files: 1. error.php: that is routed to for all errors. this page should display proper and...
7
by: Chad Scharf | last post by:
I have a legacy ASP application running on IIS 6.0 (Windows Server 2003 Web Edition) that is throwing an error when processesing a certain asp page that has about 200 or so include directives. ...
0
by: Tom Lee | last post by:
Hi, I'm new to .NET 2003 compiler. When I tried to compile my program using DEBUG mode, I got the following errors in the C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7 \include\xdebug...
0
by: JimmyS | last post by:
I am getting this error .. c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\stl_alloc.h(305) : fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2701)...
0
by: SHC | last post by:
Hi all, I have a VC++ .NET 2003 - Windows XP Pro PC. I created a Win32 console application in my VC++ .NET 2003 and copied validateDOM.cpp, books.xml and books.xsd (see the attached files below)...
2
by: chriso | last post by:
I have a classic asp app which is reaching the end of it's lifetime in so far as being able to maintain it and I want to re-write it in asp.net. A complete re-write, although desireable, is out...
8
by: Seeker | last post by:
Hello, In using Solaris Pro Compiler to compile Pro*C code. I am getting this error: make: Fatal error in reader: parser_proc_online.mk, line 26: Badly formed macro assignment Based on other...
0
by: Rich | last post by:
I am trying to obtain more debugging information for an issue I reported (ref. Bug #37185 <http://bugs.php.net/bug.php?id=37185&edit=2>). Unfortunately, I do not have access to the now-ancient...
4
by: alexandertfg | last post by:
I was finishing this email program but I ended up running into this inclusion error. I tried a few inclusion guards but they're not working, can I get some help on this. Here's the code and the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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,...

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.