Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 06-08-2005, 08:16 AM   #1 (permalink)
dball
Registered User
 
Join Date: Jun 2005
Posts: 5
dball is on a distinguished road
Visual C++ 6.0 resource problem

Here's the problem:

I imported icon and cursor bitmaps (16 color) using the resource editor.
The created .rc does not want to compile

The errors are :

missing ';' before "constant"

and

LANGUAGE is not a defined container ??

Am I missing a header file?

Current includes/defines

#include <windows.h>
#include <windowsx.h>
#define WIN32_LEAN_AND_MEAN
dball is offline   Reply With Quote
Old 06-10-2005, 07:50 AM   #2 (permalink)
dball
Registered User
 
Join Date: Jun 2005
Posts: 5
dball is on a distinguished road
I fixed it.

I should have included "resource.h" instead of "myresource.rc"

Subtle things...
dball is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
getting C# projects to run on Visual Studio .NET 2003 Apodysophilia MS Technologies ( ASP, VB, C#, .NET ) 3 02-21-2005 09:24 PM
c simple question problem with switch case if13121 Standard C, C++ 1 10-24-2004 10:43 PM


All times are GMT -8. The time now is 12:16 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting