which settings to use sqlCe in an MFC program
From: Ralf Pichocki (pisoftware.NOSPAM_at_gmx.de)
Date: 02/23/04
- Next message: Ralf Pichocki: "Re: which settings to use sqlCe in an MFC program"
- Previous message: Ralf Pichocki: "Re: Q: Encrypt a database?"
- Next in thread: Ralf Pichocki: "Re: which settings to use sqlCe in an MFC program"
- Reply: Ralf Pichocki: "Re: which settings to use sqlCe in an MFC program"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 23 Feb 2004 12:16:27 +0100
Hi!
I just am working with the Northwind Sample and the "OLE DB and SQL Server
CE" help file.
So I created a brand new MFC application and wanted to port the code bit by
bit.
As the first action, I put the following last entry into my stdafx.h:
#define OLEDBVER 0x210
#define DBINITCONSTANTS
#define INITGUID
// OLEDB Files:
#include <oledb.h>
#include <oledberr.h>
#include <coguid.h>
// SSCE Files:
#include <ssceoledb.h>
When I try to compile this, however, DBPROP is unknown, amonghst others. It
seems that not even oledb.h is properly included.
Do I have to define, undefeine or switch something somewhere? I suspect that
yes, but what?
I already deleted VC_EXTRALEAN (of which I don't know if it was necessary).
Thanks in advance and
-- Regards, Pi (Ralf Pichocki).
- Next message: Ralf Pichocki: "Re: which settings to use sqlCe in an MFC program"
- Previous message: Ralf Pichocki: "Re: Q: Encrypt a database?"
- Next in thread: Ralf Pichocki: "Re: which settings to use sqlCe in an MFC program"
- Reply: Ralf Pichocki: "Re: which settings to use sqlCe in an MFC program"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|