Windows.h afxwin.h
But now i get a new error? H already included. I can not include the "afxwin. And if i don't put the "afxwin. Does it mean that i have to re-start all my project from the begining and check for MFC support?
Or perhaps i can change some options for the linker, or something else??? I have already chek for MFC support in the preoject settings, because it was not. But nothing has changed, i've got always the error. Well, thank's to anyone Message 2 of 3.
If you haven't done alot of work you should probably just start a new project and copy any work you've done to the new project. There are preprocessor defines and linker settings that some into play as well as the includes you've run into. CPoint operator - const ;. CRect ;. CRect int l, int t, int r, int b ;. CSize Size const ;. CPoint CenterPoint const ;. CResourceException ;. CUserException ;.
CPen ;. CBrush ;. CFont ;. CBitmap ;. CSize GetBitmapDimension const ;. CPalette ;. CRgn ;. HDC Detach ;. CPoint GetBrushOrg const ;.
CPoint SetBrushOrg int x, int y ;. CPoint GetViewportOrg const ;. CSize GetViewportExt const ;. CPoint GetWindowOrg const ;. CPoint SetWindowOrg int x, int y ;. CSize GetWindowExt const ;. Melebius 5, 3 3 gold badges 33 33 silver badges 46 46 bronze badges. Suraj G Suraj G 1 1 gold badge 7 7 silver badges 15 15 bronze badges. Add a comment. Active Oldest Votes. D Hansen D Hansen 1 1 gold badge 6 6 silver badges 16 16 bronze badges.
This answer, despite being one of the top google results is highly outdated. Agree, but this answer was specific to Visual Studio as per the question. In the drop-down menu Show directories for select Include files. Melebius Melebius 5, 3 3 gold badges 33 33 silver badges 46 46 bronze badges. Step 5 is still needed. Your project may not use those lines, but they are buggy anyway and need to be fixed.
Community Bot 1 1 1 silver badge. Solly Solly 81 1 1 silver badge 3 3 bronze badges. Sign up or log in Sign up using Google.
0コメント