Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Home NTFSD
Before Posting...
Please check out the Community Guidelines in the Announcements and Administration Category.

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


Help Regarding building FileTest

ashish_kohliashish_kohli Member - All Emails Posts: 61
Hi Experts

I downloaded source of FileTest and AAa.

Opened FileTest_v05.sln using visual studio 2005.

I can see lot of linker errors.

Tried a lot of things

tried using latest sln using later visual studio.
tried upgrading vs 2005 solution to later visual studio.

and also other steps as mentioned during google search.

Looks like missing something very basic.

below is build log.

Help Highly Appreciated.

//////////////////////////////////////////////////////////////////////////////////////////////
1>------ Rebuild All started: Project: FileTest, Configuration: Debug Win32 ------
1>Deleting intermediate and output files for project 'FileTest', configuration 'Debug|Win32'
1>Compiling...
1>WinMain.cpp
1>Compiling...
1>DateTime.cpp
1>DlgCopyFile.cpp
1>DlgDataEditor.cpp
1>DlgEaEditor.cpp
1>DlgEasEditor.cpp
1>DlgFileTest.cpp
1>DlgFlags.cpp
1>DlgPrivileges.cpp
1>DlgSimple.cpp
1>NtStatus2Text.cpp
1>Page00Transaction.cpp
1>Page01Create.cpp
1>Page02NtCreate.cpp
1>Page03ReadWrite.cpp
1>Page04Mapping.cpp
1>Page05FileOps.cpp
1>Page06NtFileInfo.cpp
1>Page07NtFsInfo.cpp
1>Page08Ea.cpp
1>Page09Security.cpp
1>Generating Code...
1>Compiling...
1>Page10Links.cpp
1>Page11Streams.cpp
1>TAceHelper.cpp
1>TDataEditor.cpp
1>TToolTip.cpp
1>Utils.cpp
1>Generating Code...
1>Compiling resources...
1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>Compiling manifest to resources...
1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>Linking...
1>UtilsDUS.lib(TIniFile.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_CRT_STDIO_ISO_WIDE_SPECIFIERS=0' encountered; ignored
1>UtilsDUS.lib(dialogs.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_CRT_STDIO_ISO_WIDE_SPECIFIERS=0' encountered; ignored
1>UtilsDUS.lib(paths.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_CRT_STDIO_ISO_WIDE_SPECIFIERS=0' encountered; ignored
1>UtilsDUS.lib(TAnchors.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_CRT_STDIO_ISO_WIDE_SPECIFIERS=0' encountered; ignored
1>UtilsDUS.lib(MessageBox.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_CRT_STDIO_ISO_WIDE_SPECIFIERS=0' encountered; ignored
1>UtilsDUS.lib(dlgitems.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_CRT_STDIO_ISO_WIDE_SPECIFIERS=0' encountered; ignored
1>UtilsDUS.lib(TabControl.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_CRT_STDIO_ISO_WIDE_SPECIFIERS=0' encountered; ignored
1>UtilsDUS.lib(strings.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_CRT_STDIO_ISO_WIDE_SPECIFIERS=0' encountered; ignored
1>UtilsDUS.lib(system.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_CRT_STDIO_ISO_WIDE_SPECIFIERS=0' encountered; ignored
1>UtilsDUS.lib(UrlButtons.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_CRT_STDIO_ISO_WIDE_SPECIFIERS=0' encountered; ignored
1>UtilsDUS.lib(BrowseForDirectory.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_CRT_STDIO_ISO_WIDE_SPECIFIERS=0' encountered; ignored
1>UtilsDUS.lib(BrowseForFile.obj) : warning LNK4229: invalid directive '/FAILIFMISMATCH:_CRT_STDIO_ISO_WIDE_SPECIFIERS=0' encountered; ignored
1>UtilsDUS.lib(TIniFile.obj) : error LNK2019: unresolved external symbol "void __cdecl operator delete(void *,unsigned int)" ([email protected]@Z) referenced in function "public: int __thiscall TIniFile::Save(void)" ([email protected]@@QAEHXZ)
1>UtilsDUS.lib(TAnchors.obj) : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *,unsigned int)" ([email protected]@Z)
1>UtilsDUS.lib(strings.obj) : error LNK2001: unresolved external symbol ___stdio_common_vswprintf
1>UtilsDUS.lib(system.obj) : error LNK2019: unresolved external symbol ___stdio_common_vswprintf referenced in function "struct HDROP__ * __stdcall CreateDropForDirectory(wchar_t const *,union _LARGE_INTEGER *)" ([email protected]@[email protected]@[email protected]@@Z)
1>UtilsDUS.lib(TIniFile.obj) : error LNK2001: unresolved external symbol ___stdio_common_vswprintf
1>UtilsDUS.lib(dialogs.obj) : error LNK2001: unresolved external symbol ___stdio_common_vswprintf
1>UtilsDUS.lib(paths.obj) : error LNK2001: unresolved external symbol ___stdio_common_vswprintf
1>UtilsDUS.lib(MessageBox.obj) : error LNK2001: unresolved external symbol ___stdio_common_vswprintf
1>UtilsDUS.lib(paths.obj) : error LNK2019: unresolved external symbol ___report_rangecheckfailure referenced in function "wchar_t * __cdecl GetWindbgPath_MicrosoftSDKs(void)" ([email protected]@YAPA_WXZ)
1>UtilsDUS.lib(UrlButtons.obj) : error LNK2001: unresolved external symbol ___report_rangecheckfailure
1>.\bin\Win32\Debug\FileTest.exe : fatal error LNK1120: 3 unresolved externals
1>Build log was saved at "file://c:\ySecure\FileTestProject\FileTest\bin\Win32\Debug\BuildLog.htm"
1>FileTest - 11 error(s), 12 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

/////////////////////////////////////////////////////////////////////////////////////////////

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Kernel Debugging 30 Mar 2020 OSR Seminar Space
Developing Minifilters 15 Jun 2020 LIVE ONLINE
Writing WDF Drivers 22 June 2020 LIVE ONLINE
Internals & Software Drivers 28 Sept 2020 Dulles, VA