diff --git a/samples/vboxwrapper/Makefile b/samples/vboxwrapper/Makefile
index 61c8028edf..da8ec01eda 100644
--- a/samples/vboxwrapper/Makefile
+++ b/samples/vboxwrapper/Makefile
@@ -41,14 +41,11 @@ vboxcheckpoint.o: vboxcheckpoint.cpp
vboxjob.o: vboxjob.cpp
g++ $(CXXFLAGS) -c vboxjob.cpp
-vboxlog.o: vboxlog.cpp
- g++ $(CXXFLAGS) -c vboxlog.cpp
-
vboxlogging.o: vboxlogging.cpp
g++ $(CXXFLAGS) -c vboxlogging.cpp
vboxwrapper.o: vboxwrapper.cpp
g++ $(CXXFLAGS) -c vboxwrapper.cpp
-vboxwrapper: vboxwrapper.o vbox_common.o vbox_vboxmanage.o vboxcheckpoint.o vboxjob.o vboxlog.o vboxlogging.o floppyio.o libstdc++.a $(BOINC_LIB_DIR)/libboinc.a $(BOINC_API_DIR)/libboinc_api.a
- g++ $(CXXFLAGS) -o vboxwrapper vboxwrapper.o vbox_common.o vbox_vboxmanage.o vboxcheckpoint.o vboxjob.o vboxlog.o vboxlogging.o floppyio.o libstdc++.a -pthread -lboinc_api -lboinc
+vboxwrapper: vboxwrapper.o vbox_common.o vbox_vboxmanage.o vboxcheckpoint.o vboxjob.o vboxlogging.o floppyio.o libstdc++.a $(BOINC_LIB_DIR)/libboinc.a $(BOINC_API_DIR)/libboinc_api.a
+ g++ $(CXXFLAGS) -o vboxwrapper vboxwrapper.o vbox_common.o vbox_vboxmanage.o vboxcheckpoint.o vboxjob.o vboxlogging.o floppyio.o libstdc++.a -pthread -lboinc_api -lboinc
diff --git a/samples/vboxwrapper/vboxlog.cpp b/samples/vboxwrapper/vboxlog.cpp
deleted file mode 100644
index faa6f7119c..0000000000
--- a/samples/vboxwrapper/vboxlog.cpp
+++ /dev/null
@@ -1,31 +0,0 @@
-// This file is part of BOINC.
-// http://boinc.berkeley.edu
-// Copyright (C) 2010-2012 University of California
-//
-// BOINC is free software; you can redistribute it and/or modify it
-// under the terms of the GNU Lesser General Public License
-// as published by the Free Software Foundation,
-// either version 3 of the License, or (at your option) any later version.
-//
-// BOINC is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-// See the GNU Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public License
-// along with BOINC. If not, see .
-
-#ifdef _WIN32
-#include "boinc_win.h"
-#include "win_util.h"
-#else
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#endif
-
diff --git a/samples/vboxwrapper/vboxlog.h b/samples/vboxwrapper/vboxlog.h
deleted file mode 100644
index 8ba5c73858..0000000000
--- a/samples/vboxwrapper/vboxlog.h
+++ /dev/null
@@ -1,21 +0,0 @@
-// This file is part of BOINC.
-// http://boinc.berkeley.edu
-// Copyright (C) 2010-2012 University of California
-//
-// BOINC is free software; you can redistribute it and/or modify it
-// under the terms of the GNU Lesser General Public License
-// as published by the Free Software Foundation,
-// either version 3 of the License, or (at your option) any later version.
-//
-// BOINC is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-// See the GNU Lesser General Public License for more details.
-//
-// You should have received a copy of the GNU Lesser General Public License
-// along with BOINC. If not, see .
-
-#ifndef _VBOXLOG_H_
-#define _VBOXLOG_H_
-
-#endif
diff --git a/win_build/vboxwrapper.vcxproj b/win_build/vboxwrapper.vcxproj
index 66fa51d412..717bd7d3b2 100644
--- a/win_build/vboxwrapper.vcxproj
+++ b/win_build/vboxwrapper.vcxproj
@@ -301,7 +301,6 @@
-
@@ -315,7 +314,6 @@
-