473,508 Members | 2,212 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

[Compiler Error C2564]

Hallo Group,

i'm sorry for, at first, my english.

Question, i have an compiler Error C2564, but i cann't understand, why does
it occur?!

c:\Projects\testsdk2\testsdk2.cpp(90): error C2564: 'cdError
(cdHSource,cdReleaseEventCallbackFunction (__stdcall *),cdContext)': Eine
Funktionskonvertierung in eine integrierten Typ unterstützt nur ein Argument

Translated from German - a Functionconverting supports only one Argument.
What does it mean?

Timur Ametov
Apr 11 '06 #1
4 3566

"Timur Ametov" <ex*******************@de.bosch.com> schrieb im
Newsbeitrag news:e1**********@ns2.fe.internet.bosch.com...
Hallo Group,

i'm sorry for, at first, my english.

Question, i have an compiler Error C2564, but i cann't understand,
why does
it occur?!

c:\Projects\testsdk2\testsdk2.cpp(90): error C2564: 'cdError
(cdHSource,cdReleaseEventCallbackFunction (__stdcall *),cdContext)':
Eine
Funktionskonvertierung in eine integrierten Typ unterstützt nur ein
Argument

Translated from German - a Functionconverting supports only one
Argument.
What does it mean?


Post line testsdk2.cpp (90)
Apr 11 '06 #2
Timur Ametov posted:
Hallo Group,

i'm sorry for, at first, my english.

Question, i have an compiler Error C2564, but i cann't understand, why
does it occur?!

c:\Projects\testsdk2\testsdk2.cpp(90): error C2564: 'cdError
(cdHSource,cdReleaseEventCallbackFunction (__stdcall *),cdContext)':
Eine Funktionskonvertierung in eine integrierten Typ unterstützt nur
ein Argument

Translated from German - a Functionconverting supports only one
Argument. What does it mean?

Timur Ametov


You've called a function like as follows:

Func(5);
when it should be called something like:

Func(5,2);
Func();

You've got the wrong amount of function arguments.

-Tomás

Apr 11 '06 #3
Tomás wrote:
Timur Ametov posted:
Hallo Group,

i'm sorry for, at first, my english.

Question, i have an compiler Error C2564, but i cann't understand,
why does it occur?!

c:\Projects\testsdk2\testsdk2.cpp(90): error C2564: 'cdError
(cdHSource,cdReleaseEventCallbackFunction (__stdcall *),cdContext)':
Eine Funktionskonvertierung in eine integrierten Typ unterstützt nur ^^^^^^^^^^^^^^^^^^^^^^^^
Seems to have been lost in translation.
ein Argument

Translated from German - a Functionconverting supports only one
Argument. What does it mean?

Timur Ametov


You've called a function like as follows:

Func(5);
when it should be called something like:

Func(5,2);
Func();

You've got the wrong amount of function arguments.


Most likely, the expression actually was Typ(1,2,3), and 'Typ' designates
a type (a built-in type, maybe).

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Apr 11 '06 #4
Thanks for Ideas, i found the Error.

Tim(ur)

"Timur Ametov" <ex*******************@de.bosch.com> wrote in message
news:e1**********@ns2.fe.internet.bosch.com...
Hallo Group,

i'm sorry for, at first, my english.

Question, i have an compiler Error C2564, but i cann't understand, why does it occur?!

c:\Projects\testsdk2\testsdk2.cpp(90): error C2564: 'cdError
(cdHSource,cdReleaseEventCallbackFunction (__stdcall *),cdContext)': Eine
Funktionskonvertierung in eine integrierten Typ unterstützt nur ein Argument
Translated from German - a Functionconverting supports only one Argument.
What does it mean?

Timur Ametov

Apr 11 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
2535
by: Bjorn | last post by:
I'm using interfaces in C++ by declaring classes with only pure virtual methods. If then someone wants to implement the interface they needs to inherit from the class. If the implementing class...
2
5817
by: Mary | last post by:
Hello, I am having a problem with the cl compiler. I have written a C class (RegConnect.c) which uses Win32 API functions such as RegOpenKey, RegCloseKey etc. Initially when I was trying to...
0
2387
by: rollasoc | last post by:
Hi, I seem to be getting a compiler error Internal Compiler Error (0xc0000005 at address 535DB439): likely culprit is 'BIND'. An internal error has occurred in the compiler. To work around...
1
13156
by: Ayende Rahien | last post by:
reparing resources... Updating references... Performing main compilation... error CS0583: Internal Compiler Error (0xc0000005 at address 53168B12): likely culprit is 'BIND'. An internal...
3
5241
by: Mark Rockman | last post by:
------ Build started: Project: USDAver2, Configuration: Debug .NET ------ Preparing resources... Updating references... Performing main compilation... error CS0583: Internal Compiler Error...
4
3295
by: David Sworder | last post by:
Consider the following line of code (it's not important what it does): resp.DocItem=Relations.SelectDocItems_BySearchString(req.SearchPhrase); It turns out that this line is in error. The...
6
2705
by: David Lack | last post by:
Hi, I recently installed a 60-day trial of .NET 2003 on my development system. I made tests with previous personal projects (which compiled ok with VC6) and some open source files, and keep...
0
323
by: Timur Ametov | last post by:
Hallo Group, i'm sorry for, at first, my english. Question, i have an compiler Error C2564, but i cann't understand, why does it occur?! c:\Projects\testsdk2\testsdk2.cpp(90): error C2564:...
27
3034
by: Dave | last post by:
I'm having a hard time tying to build gcc 4.3.1 on Solaris using the GNU compilers. I then decided to try to use Sun's compiler. The Sun Studio 12 compiler reports the following code, which is in...
0
7127
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
7331
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
7391
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...
1
7054
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...
0
7501
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
5633
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,...
0
3188
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
768
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
424
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.