Skip to content

Instantly share code, notes, and snippets.

diff --git a/Data/SQLite/src/Utility.cpp b/Data/SQLite/src/Utility.cpp
index 8bf46ee..0cd9039 100644
--- a/Data/SQLite/src/Utility.cpp
+++ b/Data/SQLite/src/Utility.cpp
@@ -86,7 +86,7 @@ Utility::Utility()
_types.insert(TypeMap::value_type("UINTEGER32", MetaColumn::FDT_UINT32));
_types.insert(TypeMap::value_type("INT", MetaColumn::FDT_INT32));
_types.insert(TypeMap::value_type("INT32", MetaColumn::FDT_INT32));
- _types.insert(TypeMap::value_type("INTEGER", MetaColumn::FDT_INT32));
+ _types.insert(TypeMap::value_type("INTEGER", MetaColumn::FDT_INT64));
#include <Poco/Net/HTTPRequest.h>
#include <Poco/Net/HTTPResponse.h>
#include <Poco/Net/HTTPClientSession.h>
#include <Poco/StreamCopier.h>
#include <Poco/Net/HTTPCredentials.h>
#include <sstream>
using namespace Poco::Net;
int main()
#include "JSON2XMLConverter.h"
#include <iostream>
JSON2XMLConverter::JSON2XMLConverter(unsigned indent):
_out(std::cout),
_object(false),
_array(false),
_index(0)
{
@aleks-f
aleks-f / ImpPubKeyFromPriv.c
Last active August 4, 2025 05:08
CryptoAPI: import public key from private key PEM
#include "windows.h"
#include "wincrypt.h"
#include "stdio.h"
/* This code example:
1) creates a Crypto Service Provider
2) generates keys
3) extracts public key
4) exports private key into PEM