CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Threaded View

  1. #1
    Join Date
    Mar 2014
    Posts
    23

    Could not find type int

    Hello.
    I'm new to C++/CLI programming and i recently encountered a problem.It's propably so basic that I've failed to find it on the web...
    Code:
    int ScreenX,ScreenY;
    
    	void InitializeComponent(void)
    		{
    			ScreenX = Screen::PrimaryScreen->WorkingArea.X;
    			ScreenY = Screen::PrimaryScreen->WorkingArea.Y;
    ...
    Error:
    Message 5 Could not find type 'int'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU. 0

    Thx in advance.
    Last edited by Fides Facit Fortis; March 15th, 2014 at 08:00 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured