Click here to Skip to main content
Sign Up to vote bad
good
I have a project in vc++ which using standerd windows library and source file include file1.h.A method in header file defind as
 
file1.h
 

void _stdcall fun(char * text);

but the plateform was the x86 and vc6.Now I converted the project in vs8.and plateform x64.I also add the file1.lib file in x64 plateform.But when I execute the project the error occure that
 

error LNK2019: unresolved external symbol fun referenced in function main
Posted 4 Nov '11 - 0:24
vikky08750

Comments
Richard MacCutchan - 4 Nov '11 - 6:28
Did you rebuild the file1.lib library on the x64 project?
vikky08 - 4 Nov '11 - 6:31
No,I don't have the code of file1.lib.have only file1.lib.
Richard MacCutchan - 4 Nov '11 - 7:30
In that case you cannot do what you want. You cannot mix 64-bit with 32-bit code.
vikky08 - 4 Nov '11 - 8:57
Thanks Richard for the reply.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 8,356
1 OriginalGriff 6,571
2 CPallini 3,533
3 Rohan Leuva 2,703
4 Maciej Los 2,234


Advertise | Privacy | Mobile
Web01 | 2.6.130516.1 | Last Updated 4 Nov 2011
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid