473,480 Members | 4,939 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

UINT problem...please help

100 New Member
Hi,
I am using MS visual studio c++ 6.I am writing MFC application which has

afx_msg void OnChar(UNIT ch,UINT count,UINT flags);

And when i compile its giving error "error C2061: syntax error : identifier 'UNIT'"
and "error C2511: 'OnChar' : overloaded member function 'void (unsigned int,unsigned int,unsigned int)' not found in 'CMainWin'"

What modification has to be done??..
Jun 18 '07 #1
2 2641
Peterwkc
55 New Member
Please check your parameter.
Jun 18 '07 #2
weaknessforcats
9,208 Recognized Expert Moderator Expert
Yep. That's right. It's UINT and not UNIT.
Jun 18 '07 #3

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

Similar topics

3
23061
by: obelix | last post by:
what kind of variable is UINT anyway, when I try to look it up in the eMbVC++ HELP, i end up with nothing, nada, zero. So what is it and can I cast it into simple int, and if not, can i simply use...
5
3826
by: Ender | last post by:
Let's assume you are developing a database application and you have an ID field. You setup the ID field in the database as a 1 up increment starting at zero. Whenever I see programs, everyone...
36
2836
by: Song Yun Zhao | last post by:
Hi, Just wondering what are the dis/advantages of using uint vs int. When would be the best time to use it? Personally I don't use uint that much, but I like to optimize my code and make it...
1
2028
by: ±èÀçȲ | last post by:
//this code generates the error. uint a=1,b=2; Console.WriteLine(a << b); Console.WriteLine(a >> b); What problem does "uint type" have.?
4
3402
by: TT (Tom Tempelaere) | last post by:
Hi people I have a library built using MSVC6 which exports a method with the following signature void library_method( UINT* sw_mode ) I am trying to use PInvoke to be able to call it from my...
1
4446
by: genojoe | last post by:
I have converted the code shown below from C#. My problem involves the uint data type. When converted to VB.NET it becomes: Uint32 and causes two compile errors. The error message in VB.NET...
4
13003
by: Virajitha Sarma | last post by:
Hi, I have a code in C which i am rewritting it in C#. I am facing problem with the following two lines : char *cipher; (DWORD*)cipher(C) and (uint*)cipher(C#) are giving different values...
4
1982
by: Jure Bogataj | last post by:
Hello! Why I cannot apply this operator to UINT or INT type in c# (VS 2005)? uint MyConst; uint SomeValue; .... MyConst = MyConst & (!SomeValue) Trying to erase certain bit inside...
1
2259
by: alayle | last post by:
This is the problem, i have a ocx, that have one control and one uint Property, like this Property color, acept values uint, Manually i set the value as this: object.color = 0xFFFFFF; for...
0
7041
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,...
0
7080
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
6908
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5331
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4772
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
4478
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
2994
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2980
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1299
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.