Click here to Skip to main content
15,868,016 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Set C as default in VS2008? Pin
Aescleal8-Jul-10 20:25
Aescleal8-Jul-10 20:25 
QuestionShellExecuteEx path question. [modified] (fixed) Pin
Maximilien8-Jul-10 5:11
Maximilien8-Jul-10 5:11 
GeneralRe: ShellExecuteEx path question. Pin
David Crow8-Jul-10 5:37
David Crow8-Jul-10 5:37 
QuestionMS ActiveX Browser Popup Problem Pin
od@ananzi.co.za8-Jul-10 5:09
od@ananzi.co.za8-Jul-10 5:09 
QuestionPointer Corruption on accessing a class member variable Pin
apphia_j_798-Jul-10 4:29
apphia_j_798-Jul-10 4:29 
QuestionRe: Pointer Corruption on accessing a class member variable Pin
David Crow8-Jul-10 4:34
David Crow8-Jul-10 4:34 
AnswerRe: Pointer Corruption on accessing a class member variable Pin
Aescleal8-Jul-10 4:49
Aescleal8-Jul-10 4:49 
QuestionOLEDB Accessor mapping of 'bit' datatype Pin
Spawn@Melmac8-Jul-10 4:10
Spawn@Melmac8-Jul-10 4:10 
Greetings,

Before I start tearing my hair out I wondered if anyone might be able to help.

Thus far I have no problem in using OLEDB with SQL Compact via an accessor BUT I simply cannot find out what native data type to map a 'bit' value to.

At present I have the following which compiles fine.

class CDBMain
{
public:
	// Data Elements
	BOOL	f_HubDel;
...
	// Column binding map
	BEGIN_COLUMN_MAP(CDBMain)
		COLUMN_ENTRY(1, f_HubDel)
...


However at runtime I have binding errors like this.

Binding entry 0 failed. Status: 2


Now I am about to rework the SQL DB schema to use a CHAR[1] but if anyone can tell me what I am doing wrong then you will save me a lot of work.


Many thanks
Alan

AnswerRe: OLEDB Accessor mapping of 'bit' datatype Pin
Code-o-mat8-Jul-10 6:06
Code-o-mat8-Jul-10 6:06 
AnswerRe: OLEDB Accessor mapping of 'bit' datatype Pin
Spawn@Melmac8-Jul-10 6:52
Spawn@Melmac8-Jul-10 6:52 
QuestionSystem Uptime Pin
sonualex8-Jul-10 3:36
sonualex8-Jul-10 3:36 
AnswerRe: System Uptime Pin
Code-o-mat8-Jul-10 3:52
Code-o-mat8-Jul-10 3:52 
GeneralRe: System Uptime Pin
sonualex8-Jul-10 23:20
sonualex8-Jul-10 23:20 
GeneralRe: System Uptime Pin
Code-o-mat8-Jul-10 23:29
Code-o-mat8-Jul-10 23:29 
GeneralRe: System Uptime Pin
sonualex9-Jul-10 1:43
sonualex9-Jul-10 1:43 
GeneralRe: System Uptime Pin
Code-o-mat9-Jul-10 1:53
Code-o-mat9-Jul-10 1:53 
AnswerRe: System Uptime Pin
David Crow9-Jul-10 3:20
David Crow9-Jul-10 3:20 
GeneralRe: System Uptime Pin
Code-o-mat9-Jul-10 3:23
Code-o-mat9-Jul-10 3:23 
GeneralRe: System Uptime Pin
David Crow9-Jul-10 3:25
David Crow9-Jul-10 3:25 
QuestionMouseHover effect on ListBox Pin
AbhiHcl8-Jul-10 2:52
AbhiHcl8-Jul-10 2:52 
AnswerRe: MouseHover effect on ListBox Pin
Code-o-mat8-Jul-10 3:40
Code-o-mat8-Jul-10 3:40 
GeneralRe: MouseHover effect on ListBox Pin
AbhiHcl8-Jul-10 19:59
AbhiHcl8-Jul-10 19:59 
GeneralRe: MouseHover effect on ListBox Pin
Code-o-mat8-Jul-10 21:34
Code-o-mat8-Jul-10 21:34 
Questionmalloc limitations Pin
rupeshkp7288-Jul-10 2:25
rupeshkp7288-Jul-10 2:25 
AnswerRe: malloc limitations Pin
Niklas L8-Jul-10 2:29
Niklas L8-Jul-10 2:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.