473,473 Members | 1,975 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Build error no C2297

13 New Member
Dear Friend,
I got the following build error

error C2297: '*' : illegal, right operand has type 'unsigned long *'

register unsigned char *outof;
register unsigned long *into;

*into |= (*outof++ & 0xffL) << 16;

Please help me ....
Rgds,
May 24 '10 #1
3 2386
weaknessforcats
9,208 Recognized Expert Moderator Expert
I have no idea why you are getting this error. The code compiles OK as either C or C++ using Visual Studio.NET 2008.
May 24 '10 #2
donbock
2,426 Recognized Expert Top Contributor
Try taking out the register type qualifiers.
Try changing 0xFFL to 0xFFuL.
May 26 '10 #3
Banfa
9,065 Recognized Expert Moderator Expert
Rather than just posting the lines of code you think are the problem you might want to try posting the entire function or at least more of it if it is very long.

Is either into or outof a #defined macro?
May 27 '10 #4

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

Similar topics

3
by: Eric Chong | last post by:
I have been trying to automate our builds using BuildIt tool available from Microsoft. This tool only log whether build is success or fail. Since all developers would like to see what the build...
2
by: Rob Oldfield | last post by:
The other day I restarted my machine and suddenly couldn't open any of my existing VB.Net projects. I reinstalled the (1.1) framework and got around that one.... but.... Since then, if I try to...
1
by: Stephen | last post by:
Can anyone help me solve the following build error which Im getting my a solution im working on CODE: static void Main() { Application.Run(new frmCompareDBs()); } BUILD ERROR DESCRIPTION:
1
by: John Tighe | last post by:
Changing the max or min size of a form can be in code, but if I do that then it causes build errors in my application. The build error is: Expression is a value and therefore cannot be the target...
1
by: Chris Dunaway | last post by:
I have a solution with 11 projects in it. When I build it, I get a message that says: 10 Successful, 1 failed, 0 skipped but I cannot see which project failed! There are no messages in the...
9
by: Phill | last post by:
I am getting a build error but it doesn't give me an error message. I know it has to do with the following line of code. What could be the problem and why don't I get an error message? Thanks....
0
by: Wenhai Fu | last post by:
Hi, guys, I am practicing the setup wizard of VC.Net. When I build the setup project, I am always told "unrecoverable build error". I really have no clue what's going on here. I tried this on W2K...
7
by: dm_dal | last post by:
I have a solution in VS.Net 2003. It contains 1 - asp.net project(c#), 1 - c# class library project and 1 - db project. When I try to build the solution, I get the following error: Could not...
4
by: Vish | last post by:
Hi all, I am having a build error in one of the overloaded functions in my class. The function takes either a string as a parameter or a type referenced in another dll as a parameter. My class...
0
by: pdsluk | last post by:
Hi I have an application which when complied with vb.net 2003 will give one Build Error showing the in task list. The build window reports no errors and rebuild was all sucessful. The error is ...
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,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.