|
From: Rasheed on 12 May 2008 12:08 hi I have two header files like "Headerfile1.h" "Headerfile2.h" , In "Headerfile2.h" i have declared "Headerfile1.h" So in my application i have declared "Headerfile2.h" and i am using some functions of "Headerfile1.h" in my application, and i could able to compile successfully but at runtime linker unable to find the function which is in "Headerfile1.h". Can anybody tell me where i am doing wrong? Regards Rasheed.
From: David Wilkinson on 12 May 2008 12:42 Rasheed wrote: > hi > I have two header files like "Headerfile1.h" "Headerfile2.h" , In > "Headerfile2.h" i have declared "Headerfile1.h" > > So in my application i have declared "Headerfile2.h" and i am using > some functions of "Headerfile1.h" in my application, and i could able > to compile successfully but at runtime linker unable to find the > function which is in "Headerfile1.h". > Can anybody tell me where i am doing wrong? Rasheed: Please don't multipost. Your question is being answered in microsoft.public.vc.mfc. But, actually, this is not an MFC question, so it belongs in this group. -- David Wilkinson Visual C++ MVP
From: Tom Serface on 12 May 2008 13:56 Make sure that you include the .cpp files or .lib files in the project that have the actual code. You may just have a versioning problem as well where the libs are from a different build type (I.E., Unicode vs. ANSI) so make sure you have the correct libs included if you are using a lib. Tom "Rasheed" <sk.rasheedfarhan(a)gmail.com> wrote in message news:2914eae3-e4be-4d43-9fb9-7e94a7ecdaec(a)c19g2000prf.googlegroups.com... > hi > I have two header files like "Headerfile1.h" "Headerfile2.h" , In > "Headerfile2.h" i have declared "Headerfile1.h" > > So in my application i have declared "Headerfile2.h" and i am using > some functions of "Headerfile1.h" in my application, and i could able > to compile successfully but at runtime linker unable to find the > function which is in "Headerfile1.h". > Can anybody tell me where i am doing wrong? > > Regards > Rasheed.
|
Pages: 1 Prev: istringstream and setw Next: including jar file in VC++ application |