diff --git a/example1.vcproj b/example1.vcproj
index a66b9fb..b4ac01f 100644
--- a/example1.vcproj
+++ b/example1.vcproj
@@ -185,6 +185,14 @@
Filter="h;hpp;hxx;hm;inl;inc;xsd"
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
>
+
+
+
+
diff --git a/src/example1/main.cpp b/src/example1/main.cpp
index 5fd37f9..2a76c30 100644
--- a/src/example1/main.cpp
+++ b/src/example1/main.cpp
@@ -72,7 +72,7 @@ int main (void)
// Get a single value result with an easy to use shortcut
std::string value = db.execAndGet("SELECT value FROM test WHERE id=2");
- std::cout << "execAndGet=" << value << std::endl;
+ std::cout << "execAndGet=" << value.c_str() << std::endl;
// Compile a SQL query, containing one parameter (index 1)
SQLite::Statement query(db, "SELECT * FROM test WHERE size > ?");
@@ -137,7 +137,7 @@ int main (void)
// make a COPY OF THE result, else it will be destroy before the next line
// (when the underlying temporary Statement and Column objects are destroyed)
std::string value = db.execAndGet("SELECT value FROM test WHERE id=2");
- std::cout << "execAndGet=" << value << std::endl;
+ std::cout << "execAndGet=" << value.c_str() << std::endl;
}
catch (std::exception& e)
{