![]() |
|
|||||||
|
|
Thread Tools | Search this Thread | Rate Thread |
|
#1
|
|||
|
|||
error C2440: 'initializing' : cannot convert from 'mbException (__cdecl *)(mbRequestPhi every one i got this error. i need help regarding this.
error C2440: 'initializing' : cannot convert from 'mbException (__cdecl *)(mbRequestPDU)' to 'BYTE' code for function handler is CPP / C++ / C Code:
and code for array of function call CPP / C++ / C Code:
i got error at the point arrow shows. can any one help me. BYTE is unsigned character Last edited by LuciWiz : 21-May-2008 at 00:55.
Reason: Please insert your C/C++ code between [cpp] & [/cpp] tags
|
|
#2
|
|||
|
|||
Re: error C2440: 'initializing' : cannot convert from 'mbException (__cdecl *)(mbRequQuote:
Here's one thing that I see. Although it's not exactly obvious, I'm thinking it could lead to that error message, but regardless of that particular message, it's just wrong: Your initializer list for the array of structs is wrong. Items in an initializer list are enclosed in {} braces, not () parentheses. So, try: CPP / C++ / C Code:
Regards, Dave Last edited by davekw7x : 15-May-2008 at 09:31.
|
|
#3
|
|||
|
|||
Re: error C2440: 'initializing' : cannot convert from 'mbException (__cdecl *)(mbRequthanks a lot dave. i got solution. it was a silly mistake
|
Recent GIDBlog
Observations of Iraq by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Convert the input into square yards | pjpav | Java Forum | 1 | 08-Oct-2005 07:43 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The