| | |
Unresolved external Symbol
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
_stdcall and _cdecl are identical and are the default for C and C++ functions. Therefore is never a reason to use _stdcall or _cdecl in C and C++ programs. Using Microsoft compilers that is. What compiler are you using?
I don't know why its not working for you. Are you sure you have the correct prototype? Do you have the source code for the function so that you can verify -- but you probably already did that.
I don't know why its not working for you. Are you sure you have the correct prototype? Do you have the source code for the function so that you can verify -- but you probably already did that.
Last edited by Ancient Dragon; Mar 28th, 2008 at 6:47 am.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
•
•
Join Date: Jun 2006
Posts: 147
Reputation:
Solved Threads: 20
_cdecl and _stdcall has some difference, I think you are calling the function from the library written using different calling convention than the one you are using. Its basically a name decoration issue, not resolved by linkers.
In VC++ 6.0 _cdecl is the default calling convention.
_cdecl In this type convention the caller is responsible for cleaning up the stack.
_stdcall In this type of convention the callee is responsible for cleaning up the stack.
search calling conventions.
In VC++ 6.0 _cdecl is the default calling convention.
_cdecl In this type convention the caller is responsible for cleaning up the stack.
_stdcall In this type of convention the callee is responsible for cleaning up the stack.
search calling conventions.
![]() |
Similar Threads
- error LNK2001: unresolved external symbol (C++)
- Unresolved External Symbol? (C)
- error LNK2001: unresolved external symbol (C++)
- unresolved external symbol "a whole bunch of em" (C)
- error LNK2001: unresolved external symbol (C++)
- unresolved external symbol when using a hashtable class (C++)
- error LNK2001: unresolved external symbol (C++)
Other Threads in the C++ Forum
- Previous Thread: how to save an exe file from server machine to client machine
- Next Thread: help with looping
| Thread Tools | Search this Thread |
api array arrays based beginner binary c++ c/c++ calculator char char* class classes code compile compiler console conversion count delete deploy desktop directshow dll download dynamic dynamiccharacterarray encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker linux list loop looping loops map math matrix memory news numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive reference return rpg sorting string strings struct temperature template templates test text text-file tree unix url variable vector video visual visualstudio win32 windows winsock wordfrequency wxwidgets






