EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Link Error in MFC Project

Also by EldoS: Callback File System
Create virtual file systems and disks, expose and manage remote data as if they were files on the local disk.
#12794
Posted: 03/15/2010 04:47:29
by Thomson Tomy (Basic support level)
Joined: 03/15/2010
Posts: 3

Hello,
I was checking the feasibility of using CallbackFilter. I want to use it in my C++ MFC application. I was able to use CallbackFilter in Win32 project, its working fine.
But when I use MFC project, there are some link error. Some functions are linking but some not.

Code
error LNK2019: unresolved external symbol "public: void __thiscall CallbackFilter::SetOnOpenFileN(void (__cdecl*)(class CallbackFilter *,wchar_t *,unsigned long,unsigned short,unsigned short,unsigned long,unsigned short))" (?SetOnOpenFileN@CallbackFilter@@QAEXP6AXPAV1@PA_WKGGKG@Z@Z) referenced in function


I am using Visual Studio 2003 with PSDK.
I tried with both CPP\VC6\dynamic_runtime(MD) and CPP\VC6\static_runtime(MT) but failed to link.

Thank you
#12795
Posted: 03/15/2010 05:44:42
by Vladimir Cherniga (EldoS Corp.)

Hello,
unfortunately current build has only VC6 and VS2005 runtime libraries. The libraries for VS2003 will be added to the next build in a 1-2 day. Also you may try to set "Threat wchar_t as Built-in Type" to false in project compiler options.
#12796
Posted: 03/15/2010 06:12:28
by Thomson Tomy (Basic support level)
Joined: 03/15/2010
Posts: 3

Thanks for the fast reply.

I tried your suggestion and it worked.

Reply

Statistics

Topic viewed 1929 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!