Click here to Skip to main content
15,888,461 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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
Comments
Richard MacCutchan 4-Nov-11 6:28am    
Did you rebuild the file1.lib library on the x64 project?
vikky08 4-Nov-11 6:31am    
No,I don't have the code of file1.lib.have only file1.lib.
Richard MacCutchan 4-Nov-11 7:30am    
In that case you cannot do what you want. You cannot mix 64-bit with 32-bit code.
vikky08 4-Nov-11 8:57am    
Thanks Richard for the reply.

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900