EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Is CallbackFilter support the "Treat wchar_t was Built-in Type to No"?

Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.
#23803
Posted: 02/28/2013 03:13:16
by weihao ma (Standard support level)
Joined: 02/24/2013
Posts: 1

I want to integer CallbackFilter to Qt, because of Qt is compiled with wchar_t as built-in type, i edit my Visual Studio project settings and under C/C++ -> Language set the option Treat wchar_t was Built-in Type to No. But when i compile the Sample application BaseFilter, the IDE complaints about lots of the error message:

1>CBFilter.obj : error LNK2001: unresolved external symbol "public: void __thiscall CallbackFilter::SetOnCloseEnumeration(void (__cdecl*)(class CallbackFilter *,unsigned short const *,void *))" (?SetOnCloseEnumeration@CallbackFilter@@QAEXP6AXPAV1@PBGPAX@Z@Z)
1>CBFilter.obj : error LNK2001: unresolved external symbol "public: void __thiscall CallbackFilter::SetOnSetFileSecurityN(void (__cdecl*)(class CallbackFilter *,unsigned short const *,unsigned long,void *,unsigned long))" (?SetOnSetFileSecurityN@CallbackFilter@@QAEXP6AXPAV1@PBGKPAXK@Z@Z)
1>CBFilter.obj : error LNK2001: unresolved external symbol "public: void __thiscall CallbackFilter::SetOnSetFileSecurityC(void (__cdecl*)(class CallbackFilter *,unsigned short const *,unsigned long,void *,unsigned long,int *))" (?SetOnSetFileSecurityC@CallbackFilter@@QAEXP6AXPAV1@PBGKPAXKPAH@Z@Z)
1>CBFilter.obj : error LNK2001: unresolved external symbol "public: void __thiscall CallbackFilter::SetOnCloseFileN(void (__cdecl*)(class CallbackFilter *,unsigned short const *))" (?SetOnCloseFileN@CallbackFilter@@QAEXP6AXPAV1@PBG@Z@Z)
1>CBFilter.obj : error LNK2001: unresolved external symbol "public: void __thiscall CallbackFilter::SetOnCloseFileC(void (__cdecl*)(class CallbackFilter *,unsigned short const *,void * *))" (?SetOnCloseFileC@CallbackFilter@@QAEXP6AXPAV1@PBGPAPAX@Z@Z)
1>CBFilter.obj : error LNK2001: unresolved external symbol "public: void __thiscall CallbackFilter::SetOnOpenFileN(void (__cdecl*)(class CallbackFilter *,unsigned short *,unsigned long,unsigned short,unsigned short,unsigned long,unsigned short))" (?SetOnOpenFileN@CallbackFilter@@QAEXP6AXPAV1@PAGKGGKG@Z@Z)
1>CBFilter.obj : error LNK2001: unresolved external symbol "public: void __thiscall CallbackFilter::SetOnPostOpenFileC(void (__cdecl*)(class CallbackFilter *,unsigned short *,unsigned long,unsigned short,unsigned short,unsigned long,unsigned short,void * *))" (?SetOnPostOpenFileC@CallbackFilter@@QAEXP6AXPAV1@PAGKGGKGPAPAX@Z@Z)
1>CBFilter.obj : error LNK2001: unresolved external symbol "public: void __thiscall CallbackFilter::SetOnOpenFileC(void (__cdecl*)(class CallbackFilter *,unsigned short *,unsigned long *,unsigned short *,unsigned short *,unsigned long *,unsigned short *,int *))" (?SetOnOpenFileC@CallbackFilter@@QAEXP6AXPAV1@PAGPAK1121PAH@Z@Z)
1>CBFilter.obj : error LNK2001: unresolved external symbol "public: void __thiscall CallbackFilter::SetOnEnumerateDirectoryN(void (__cdecl*)(class CallbackFilter *,unsigned short const *,unsigned short const *,struct _FILETIME,struct _FILETIME,struct _FILETIME,__int64,__int64,__int64,unsigned long))" (?SetOnEnumerateDirectoryN@CallbackFilter@@QAEXP6AXPAV1@PBG1U_FILETIME@@22_J33K@Z@Z)
1>CBFilter.obj : error LNK2001: unresolved external symbol "public: void __thiscall CallbackFilter::SetOnEnumerateDirectoryC(void (__cdecl*)(class CallbackFilter *,unsigned short const *,unsigned short const *,struct _FILETIME &,struct _FILETIME &,struct _FILETIME &,__int64 &,__int64 &,__int64 &,unsigned long &,void * *,void * *,int &))" (?SetOnEnumerateDirectoryC@CallbackFilter@@QAEXP6AXPAV1@PBG1AAU_FILETIME@@22AA_J33AAKPAPAX5AAH@Z@Z)
1>CBFilter.obj : error LNK2001: unresolved external symbol "public: void __thiscall CallbackFilter::SetOnWriteFileN(void (__cdecl*)(class CallbackFilter *,unsigned short *,__int64,unsigned long))" (?SetOnWriteFileN@CallbackFilter@@QAEXP6AXPAV1@PAG_JK@Z@Z)
1>CBFilter.obj : error LNK2001: unresolved external symbol "public: void __thiscall CallbackFilter::SetOnWriteFileC(void (__cdecl*)(class CallbackFilter *,unsigned short *,__int64 *,void *,unsigned long *,int,void * *,int *))" (?SetOnWriteFileC@CallbackFilter@@QAEXP6AXPAV1@PAGPA_JPAXPAKHPAPAXPAH@Z@Z)
1>CBFilter.obj : error LNK2001: unresolved external symbol "public: void __thiscall CallbackFilter::SetOnReadFileN(void (__cdecl*)(class CallbackFilter *,unsigned short *,__int64,unsigned long))" (?SetOnReadFileN@CallbackFilter@@QAEXP6AXPAV1@PAG_JK@Z@Z)
1>CBFilter.obj : error LNK2001: unresolved external symbol "public: void __thiscall CallbackFilter::SetOnReadFileC(void (__cdecl*)(class CallbackFilter *,unsigned short *,__int64 *,void *,unsigned long *,int,void * *,int *))" (?SetOnReadFileC@CallbackFilter@@QAEXP6AXPAV1@PAGPA_JPAXPAKHPAPAXPAH@Z@Z)
1>CBFilter.obj : error LNK2001: unresolved external symbol "public: void __thiscall CallbackFilter::SetOnRenameOrMoveFileN(void (__cdecl*)(class CallbackFilter *,unsigned short *,unsigned short const *))" (?SetOnRenameOrMoveFileN@CallbackFilter@@QAEXP6AXPAV1@PAGPBG@Z@Z)
1>CBFilter.obj : error LNK2001: unresolved external symbol "public: void __thiscall CallbackFilter::SetOnRenameOrMoveFileC(void (__cdecl*)(class CallbackFilter *,unsigned short *,unsigned short const *,void * *,int *))" (?SetOnRenameOrMoveFileC@CallbackFilter@@QAEXP6AXPAV1@PAGPBGPAPAXPAH@Z@Z)
1>CBFilter.obj : error LNK2001: unresolved external symbol "public: void __thiscall CallbackFilter::SetOnCanFileBeDeletedN(void (__cdecl*)(class CallbackFilter *,unsigned short *))" (?SetOnCanFileBeDeletedN@CallbackFilter@@QAEXP6AXPAV1@PAG@Z@Z)
1>CBFilter.obj : error LNK2001: unresolved external symbol "public: void __thiscall CallbackFilter::SetOnCanFileBeDeletedC(void (__cdecl*)(class CallbackFilter *,unsigned short *,int *,void * *,int *))" (?SetOnCanFileBeDeletedC@CallbackFilter@@QAEXP6AXPAV1@PAGPAHPAPAX2@Z@Z)
1>CBFilter.obj : error LNK2001: unresolved external symbol "public: void __thiscall CallbackFilter::SetOnSetFileAttributesN(void (__cdecl*)(class CallbackFilter *,unsigned short *,struct _FILETIME *,struct _FILETIME *,struct _FILETIME *,unsigned long))" (?SetOnSetFileAttributesN@CallbackFilter@@QAEXP6AXPAV1@PAGPAU_FILETIME@@22K@Z@Z)
1>CBFilter.obj : error LNK2001: unresolved external symbol "public: void __thiscall CallbackFilter::SetOnSetFileAttributesC(void (__cdecl*)(class CallbackFilter *,unsigned short *,struct _FILETIME *,struct _FILETIME *,struct _FILETIME *,unsigned long *,void * *,int *))" (?SetOnSetFileAttributesC@CallbackFilter@@QAEXP6AXPAV1@PAGPAU_FILETIME@@22PAKPAPAXPAH@Z@Z)
1>CBFilter.obj : error LNK2001: unresolved external symbol "public: void __thiscall CallbackFilter::SetOnSetEndOfFileN(void (__cdecl*)(class CallbackFilter *,unsigned short *,__int64))" (?SetOnSetEndOfFileN@CallbackFilter@@QAEXP6AXPAV1@PAG_J@Z@Z)
1>CBFilter.obj : error LNK2001: unresolved external symbol "public: void __thiscall CallbackFilter::SetOnSetEndOfFileC(void (__cdecl*)(class CallbackFilter *,unsigned short *,__int64 *,void * *,int *))" (?SetOnSetEndOfFileC@CallbackFilter@@QAEXP6AXPAV1@PAGPA_JPAPAXPAH@Z@Z)
1>CBFilter.obj : error LNK2001: unresolved external symbol "public: void __thiscall CallbackFilter::SetOnSetAllocationSizeN(void (__cdecl*)(class CallbackFilter *,unsigned short *,__int64))" (?SetOnSetAllocationSizeN@CallbackFilter@@QAEXP6AXPAV1@PAG_J@Z@Z)
1>CBFilter.obj : error LNK2001: unresolved external symbol "public: void __thiscall CallbackFilter::SetOnSetAllocationSizeC(void (__cdecl*)(class CallbackFilter *,unsigned short *,__int64 *,void * *,int *))" (?SetOnSetAllocationSizeC@CallbackFilter@@QAEXP6AXPAV1@PAGPA_JPAPAXPAH@Z@Z)
1>CBFilter.obj : error LNK2001: unresolved external symbol "public: void __thiscall CallbackFilter::SetOnCreateFileN(void (__cdecl*)(class CallbackFilter *,unsigned short *,unsigned long,unsigned short,unsigned short,unsigned long,unsigned short))" (?SetOnCreateFileN@CallbackFilter@@QAEXP6AXPAV1@PAGKGGKG@Z@Z)
1>CBFilter.obj : error LNK2001: unresolved external symbol "public: void __thiscall CallbackFilter::SetOnPostCreateFileC(void (__cdecl*)(class CallbackFilter *,unsigned short *,unsigned long,unsigned short,unsigned short,unsigned long,unsigned short,void * *))" (?SetOnPostCreateFileC@CallbackFilter@@QAEXP6AXPAV1@PAGKGGKGPAPAX@Z@Z)
1>CBFilter.obj : error LNK2001: unresolved external symbol "public: void __thiscall CallbackFilter::SetOnCreateFileC(void (__cdecl*)(class CallbackFilter *,unsigned short *,unsigned long *,unsigned short *,unsigned short *,unsigned long *,unsigned short *,int *))" (?SetOnCreateFileC@CallbackFilter@@QAEXP6AXPAV1@PAGPAK1121PAH@Z@Z)
1>CBFilter.obj : error LNK2001: unresolved external symbol "public: unsigned short const * __thiscall ECBFltError::Message(void)" (?Message@ECBFltError@@QAEPBGXZ)
1>CBFilter.obj : error LNK2001: unresolved external symbol "public: static void __cdecl CallbackFilter::InstallDriver(unsigned short const *,char const *,int *)" (?InstallDriver@CallbackFilter@@SAXPBGPBDPAH@Z)
1>CBFilter.obj : error LNK2001: unresolved external symbol "public: int __thiscall CallbackFilter::AddPassThroughAccessRule(unsigned short const *,enum CallbackFilter::CbFltAccessFlags)" (?AddPassThroughAccessRule@CallbackFilter@@QAEHPBGW4CbFltAccessFlags@1@@Z)
1>CBFilter.obj : error LNK2001: unresolved external symbol "public: int __thiscall CallbackFilter::AddFilterAccessRule(unsigned short const *,enum CallbackFilter::CbFltAccessFlags)" (?AddFilterAccessRule@CallbackFilter@@QAEHPBGW4CbFltAccessFlags@1@@Z)
1>CBFilter.obj : error LNK2001: unresolved external symbol "public: int __thiscall CallbackFilter::AddFilterCallbackRule(unsigned short const *,enum CallbackFilter::CbFltCallbackFlags)" (?AddFilterCallbackRule@CallbackFilter@@QAEHPBGW4CbFltCallbackFlags@1@@Z)
1>CBFilter.obj : error LNK2001: unresolved external symbol "public: int __thiscall CallbackFilter::DeletePassThroughRule(unsigned short const *,enum CallbackFilter::CbFltAccessFlags,enum CallbackFilter::CbFltCallbackFlags)" (?DeletePassThroughRule@CallbackFilter@@QAEHPBGW4CbFltAccessFlags@1@W4CbFltCallbackFlags@1@@Z)
1>CBFilter.obj : error LNK2001: unresolved external symbol "public: int __thiscall CallbackFilter::DeleteFilterRule(unsigned short const *,enum CallbackFilter::CbFltAccessFlags,enum CallbackFilter::CbFltCallbackFlags)" (?DeleteFilterRule@CallbackFilter@@QAEHPBGW4CbFltAccessFlags@1@W4CbFltCallbackFlags@1@@Z)
1>CBFilter.obj : error LNK2001: unresolved external symbol "public: int __thiscall CallbackFilter::GetPassThroughRule(int,unsigned short * *,enum CallbackFilter::CbFltAccessFlags *,enum CallbackFilter::CbFltCallbackFlags *)" (?GetPassThroughRule@CallbackFilter@@QAEHHPAPAGPAW4CbFltAccessFlags@1@PAW4CbFltCallbackFlags@1@@Z)
1>CBFilter.obj : error LNK2001: unresolved external symbol "public: int __thiscall CallbackFilter::GetFilterRule(int,unsigned short * *,enum CallbackFilter::CbFltAccessFlags *,enum CallbackFilter::CbFltCallbackFlags *)" (?GetFilterRule@CallbackFilter@@QAEHHPAPAGPAW4CbFltAccessFlags@1@PAW4CbFltCallbackFlags@1@@Z)
1>.\Debug/CBFilter.exe : fatal error LNK1120: 36 unresolved externals
#23804
Posted: 02/28/2013 03:16:58
by Eugene Mayevski (EldoS Corp.)

This is exactly what we provide user-mode API source code for: in C++ you need to build the library according to your project settings. It can happen that there are some missing files there (you've asked about them in the help desk) and for API recompilation those files are indeed needed. I will provide them via helpdesk.


Sincerely yours
Eugene Mayevski
#23806
Posted: 02/28/2013 03:46:25
by Eugene Mayevski (EldoS Corp.)

I have re-uploaded the downloadable files to the server. The version number was not changed, the date has been updated. Please re-download the file from My Control Center and install it - you should have the missing files now.


Sincerely yours
Eugene Mayevski
#23847
Posted: 02/28/2013 23:29:39
by Eugene Mayevski (EldoS Corp.)

I've moved other questions to HelpDesk as they are of little interest to others.


Sincerely yours
Eugene Mayevski

Reply

Statistics

Topic viewed 2388 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!