How to fix LNK2019 error?

Hello!
I've an "Error LNK2019 reference to an unresolved external symbol "unsigned long __cdecl Options (int, wchar_t const * * const, wchar_t const *, ...)" (? Options @@ YAKHQAPB_WPB_WZZ) in the _wmain function".
Last edited on
The error means that you have used the symbol
unsigned long __cdecl Options (int, wchar_t const * * const, wchar_t const *, ...)
(i.e., you've tried to call this function), but the linker couldn't find a definition for it.

Read https://www.lurklurk.org/linkers/linkers.html for more information.
Last edited on
Thank you! Well, maybe i can get around this limitation? With changes to this function Options.
Last edited on
maybe i can get around this limitation? With changes to this function Options.

Maybe you could actually write the function. All you've done is write multiple function prototypes. No actual function body anywhere to be found in the code you posted.
Ofcourse
Last edited on
Thanks all, i reinstalled my VS and the error disappeared.
Topic archived. No new replies allowed.