Click here to Skip to main content
15,914,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to use large cursor? Pin
Waldermort24-Nov-06 9:36
Waldermort24-Nov-06 9:36 
QuestionCall ctor in place of function argument Pin
Mr.Brainley24-Nov-06 2:23
Mr.Brainley24-Nov-06 2:23 
AnswerRe: Call ctor in place of function argument Pin
CPallini24-Nov-06 2:41
mveCPallini24-Nov-06 2:41 
Questionresizing problem in a selfmade MDIChildFrame Pin
Franken24-Nov-06 1:48
Franken24-Nov-06 1:48 
Answer[Off Topic] <pre> Pin
toxcct24-Nov-06 2:13
toxcct24-Nov-06 2:13 
AnswerRe: resizing problem in a selfmade MDIChildFrame Pin
Viorel.24-Nov-06 2:26
Viorel.24-Nov-06 2:26 
GeneralRe: resizing problem in a selfmade MDIChildFrame [modified] Pin
Franken25-Nov-06 1:27
Franken25-Nov-06 1:27 
QuestionProblem renaming ADO's EOF [modified] Pin
narayanagvs24-Nov-06 1:29
narayanagvs24-Nov-06 1:29 
Hi,

I have taken an ATL component and imported MSADO15.DLL to include ADO functionality

#import "C:\\Program Files\\Common Files\\System\\ADO\\MSADO15.DLL" rename_namespace("ADOCust") rename("EOF","EndOfFile")
using namespace ADOCust;

I referred to the following link.

http://www.codeproject.com/atl/atl_ado.asp?df=100&forumid=1749&fr=51[^]

The problem Iam facing is when I try to check EndOfFile attribute for the recordset pointer using

VARIANT vartemp;
vartemp.vt = VT_BOOL;
vartemp.boolVal = FALSE;

vartemp.boolVal = pRecordset->EndOfFile;// not getting the value as TRUE even if the recordset pointer is at the end

Is there any problem with renaming EOF to EndOfFile in import statement??
I have all other functionalities working well.

Any suggestions would be helpful.

Thanks



-- modified at 7:45 Friday 24th November, 2006

Today is a gift, that's why it is called the present.

QuestionHow to export a CDialog derived class from a DLL Pin
NILANKARAJA24-Nov-06 1:26
NILANKARAJA24-Nov-06 1:26 
AnswerRe: How to export a CDialog derived class from a DLL Pin
Mark Salsbery24-Nov-06 6:14
Mark Salsbery24-Nov-06 6:14 
QuestionKeyBoard HOOK Pin
priyank_ldce24-Nov-06 1:03
priyank_ldce24-Nov-06 1:03 
AnswerRe: KeyBoard HOOK Pin
CPallini24-Nov-06 1:33
mveCPallini24-Nov-06 1:33 
AnswerRe: KeyBoard HOOK Pin
Rajesh R Subramanian24-Nov-06 2:09
professionalRajesh R Subramanian24-Nov-06 2:09 
QuestionEnumDisplaySettings API [modified] Pin
Bala Indian24-Nov-06 0:36
Bala Indian24-Nov-06 0:36 
AnswerRe: EnumDisplaySettings API Pin
Rajesh R Subramanian24-Nov-06 2:16
professionalRajesh R Subramanian24-Nov-06 2:16 
AnswerRe: EnumDisplaySettings API Pin
Bala Indian26-Nov-06 18:59
Bala Indian26-Nov-06 18:59 
QuestionBuild Count Pin
Waldermort24-Nov-06 0:13
Waldermort24-Nov-06 0:13 
QuestionTransfering an exe file . How ? Pin
Sakthiu23-Nov-06 23:57
Sakthiu23-Nov-06 23:57 
AnswerRe: Transfering an exe file . How ? Pin
Galatei24-Nov-06 1:43
Galatei24-Nov-06 1:43 
AnswerRe: Transfering an exe file . How ? Pin
Mark Salsbery24-Nov-06 6:19
Mark Salsbery24-Nov-06 6:19 
Questionhow can we retrieve selection state of listcontrol Pin
johnalek23-Nov-06 23:50
johnalek23-Nov-06 23:50 
AnswerRe: how can we retrieve selection state of listcontrol Pin
Mila02523-Nov-06 23:58
Mila02523-Nov-06 23:58 
AnswerRe: how can we retrieve selection state of listcontrol Pin
Galatei24-Nov-06 1:52
Galatei24-Nov-06 1:52 
Questionkeyboard focus Pin
priyank_ldce23-Nov-06 22:36
priyank_ldce23-Nov-06 22:36 
AnswerRe: keyboard focus Pin
Nibu babu thomas23-Nov-06 23:10
Nibu babu thomas23-Nov-06 23:10 

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.