Click here to Skip to main content
16,011,744 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generaldisplay numbers in hex, bin and dec format Pin
hearties27-Apr-01 3:37
hearties27-Apr-01 3:37 
GeneralRe: display numbers in hex, bin and dec format Pin
l a u r e n27-Apr-01 10:31
l a u r e n27-Apr-01 10:31 
GeneralRe: display numbers in hex, bin and dec format Pin
Masaaki Onishi28-Apr-01 7:08
Masaaki Onishi28-Apr-01 7:08 
GeneralRe: display numbers in hex, bin and dec format Pin
l a u r e n28-Apr-01 7:31
l a u r e n28-Apr-01 7:31 
GeneralBeginner Question Virtual Key Code to ascii Pin
elbow27-Apr-01 2:05
elbow27-Apr-01 2:05 
GeneralRe: Beginner Question Virtual Key Code to ascii Pin
Michael Dunn27-Apr-01 13:21
sitebuilderMichael Dunn27-Apr-01 13:21 
GeneralCustom OLEDB Provider Pin
26-Apr-01 12:07
suss26-Apr-01 12:07 
GeneralCustom OLEDB Provider Pin
26-Apr-01 12:06
suss26-Apr-01 12:06 
Here we have a Custom OLEDB provider. We have problems
dealing with the null values. The OLEDB provider is in
VC. Here we get the records as an variant array and
then moving it to a stream object and then assigning
it to a BSTR pointer. We are reading that as an ADO
recordset from VB. All the values are ok in VB. But
when we come across null values, we are not able to
process it properly. When we write NULL to the stream
object (which is bytes), we are reading it as 0 in the
VB recordset.(since in vc NULL has a value 0). So i need to read that value as null in
the VB.
In VC i tried writing VT_NULL and VT_EMPTY. But i
could not read that as null in VB.
if i use the isnull(fieldname) , i need to get the
result as true if the value is null. I dont know how
the null value is treated internally.

We use this OLEDB provider not only from VB, we use
even from Crystal reports for reports.
So can anybody please let me know how do it or let me
know any source where i can get the help from. Or is there any sample available for the Custom OLEDB provider. I have looked on to the sample from Microsoft . But nothing worked out


Generalresuming wininet downloads Pin
26-Apr-01 8:06
suss26-Apr-01 8:06 
QuestionResource limit on Win9x? Pin
26-Apr-01 7:35
suss26-Apr-01 7:35 
GeneralThe memory could not be "read" error. Pin
RobJones26-Apr-01 7:35
RobJones26-Apr-01 7:35 
GeneralRe: The memory could not be Pin
26-Apr-01 7:55
suss26-Apr-01 7:55 
QuestionResource limit on Win9x? Pin
26-Apr-01 7:34
suss26-Apr-01 7:34 
Generalbitmap as dialog background Pin
26-Apr-01 5:48
suss26-Apr-01 5:48 
Generalmulti column tree view Pin
hearties26-Apr-01 0:00
hearties26-Apr-01 0:00 
GeneralRe: multi column tree view Pin
Daniel Ferguson26-Apr-01 10:55
Daniel Ferguson26-Apr-01 10:55 
GeneralProblem with CString Pin
25-Apr-01 23:24
suss25-Apr-01 23:24 
GeneralRe: Problem with CString Pin
Carlos Antollini26-Apr-01 4:56
Carlos Antollini26-Apr-01 4:56 
GeneralRe: Problem with CString Pin
David Fleming2-May-01 23:04
David Fleming2-May-01 23:04 
Generalneed help for ADSI programming with VC Pin
jingang25-Apr-01 23:11
jingang25-Apr-01 23:11 
Generalneed help for ADSI programming with VC Pin
jingang25-Apr-01 23:04
jingang25-Apr-01 23:04 
GeneralPersisting Date/Time (no MFC) Pin
William Bartholomew25-Apr-01 20:51
William Bartholomew25-Apr-01 20:51 
GeneralPopulating List Boxes Pin
25-Apr-01 9:50
suss25-Apr-01 9:50 
GeneralRe: Populating List Boxes Pin
Tomasz Sowinski25-Apr-01 23:59
Tomasz Sowinski25-Apr-01 23:59 
GeneralDial-Up Server Pin
Joe O'Connor25-Apr-01 8:45
Joe O'Connor25-Apr-01 8:45 

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.