Click here to Skip to main content
15,897,273 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalhelp creating. Pin
scoroop26-May-05 3:07
scoroop26-May-05 3:07 
GeneralRe: help creating. Pin
David Crow26-May-05 3:38
David Crow26-May-05 3:38 
GeneralGraphical Active X Control Operation Pin
jerry1211a26-May-05 2:03
jerry1211a26-May-05 2:03 
GeneralMFC - Disabled buttons (not CDialog) Pin
gnilk26-May-05 1:01
gnilk26-May-05 1:01 
GeneralRe: MFC - Disabled buttons (not CDialog) Pin
toxcct26-May-05 1:10
toxcct26-May-05 1:10 
GeneralRe: MFC - Disabled buttons (not CDialog) Pin
Iain Clarke, Warrior Programmer26-May-05 2:20
Iain Clarke, Warrior Programmer26-May-05 2:20 
GeneralRe: MFC - Disabled buttons (not CDialog) Pin
gnilk26-May-05 2:30
gnilk26-May-05 2:30 
GeneralCompile erros using CDOSYS.H Pin
-Dy26-May-05 0:54
-Dy26-May-05 0:54 
Hi,

I've got a problem compiling my code on some machines. The code in questions uses

#include <cdosys.h>

On my machine, that's not a problem, it compiles and links without a hitch. On other machines in the office I get the following output from the compiler:

C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\cdosys.h(523) : error C2061: syntax error : identifier 'RecordCreateOptionsEnum'<br />
C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\cdosys.h(532) : error C2061: syntax error : identifier 'RecordCreateOptionsEnum'<br />
C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\cdosys.h(543) : error C2061: syntax error : identifier 'RecordCreateOptionsEnum'<br />
C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\cdosys.h(845) : error C2061: syntax error : identifier 'RecordCreateOptionsEnum'<br />
C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\cdosys.h(863) : error C2061: syntax error : identifier 'RecordCreateOptionsEnum'<br />
C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\cdosys.h(892) : error C2061: syntax error : identifier 'RecordCreateOptionsEnum'<br />
C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\cdosys.h(1099) : error C2061: syntax error : identifier '_Stream'<br />
C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\cdosys.h(2276) : error C2061: syntax error : identifier '_Stream'<br />
C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\cdosys.h(2371) : error C2061: syntax error : identifier '_Stream'<br />
C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\cdosys.h(2374) : error C2061: syntax error : identifier '_Stream'<br />
C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\cdosys.h(2377) : error C2061: syntax error : identifier '_Stream'<br />
C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\cdosys.h(2844) : error C2061: syntax error : identifier '_Stream'<br />
C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\cdosys.h(2856) : error C2061: syntax error : identifier '_Stream'<br />
C:\PROGRAM FILES\MICROSOFT SDK\INCLUDE\cdosys.h(2868) : error C2061: syntax error : identifier '_Stream'<br />
c:\develop\proj\myfile.cpp(578) : error C2039: 'Update' : is not a member of '_NoAddRefReleaseOnCComPtr<struct CDO::ADOFields>'


Anyone got any ideas what the problem could be? Both machines have the latest SDK, properly referenced, and the latest service packs installed. Both machines are WinXP pro and the dev environment in MSVC 6.


-Dy
GeneralRe: Compile erros using CDOSYS.H Pin
toxcct26-May-05 2:18
toxcct26-May-05 2:18 
GeneralRe: Compile erros using CDOSYS.H Pin
Iain Clarke, Warrior Programmer26-May-05 2:27
Iain Clarke, Warrior Programmer26-May-05 2:27 
GeneralDifference between accelerator and hotkey Pin
SanjaySMK26-May-05 0:00
SanjaySMK26-May-05 0:00 
GeneralRe: Difference between accelerator and hotkey Pin
toxcct26-May-05 0:46
toxcct26-May-05 0:46 
GeneralRe: Difference between accelerator and hotkey Pin
Iain Clarke, Warrior Programmer26-May-05 1:00
Iain Clarke, Warrior Programmer26-May-05 1:00 
GeneralRe: Difference between accelerator and hotkey Pin
toxcct26-May-05 1:03
toxcct26-May-05 1:03 
GeneralRe: Difference between accelerator and hotkey Pin
Iain Clarke, Warrior Programmer26-May-05 2:09
Iain Clarke, Warrior Programmer26-May-05 2:09 
GeneralRe: Difference between accelerator and hotkey Pin
James R. Twine26-May-05 2:33
James R. Twine26-May-05 2:33 
GeneralNetwork Installation Pin
u6ik25-May-05 23:53
u6ik25-May-05 23:53 
GeneralRe: Network Installation Pin
John M. Drescher26-May-05 4:30
John M. Drescher26-May-05 4:30 
GeneralRe: Network Installation Pin
u6ik26-May-05 4:41
u6ik26-May-05 4:41 
GeneralRe: Network Installation Pin
John M. Drescher26-May-05 5:04
John M. Drescher26-May-05 5:04 
GeneralRe: Network Installation Pin
u6ik26-May-05 5:14
u6ik26-May-05 5:14 
Generalshell Pin
boy4uk25-May-05 23:26
boy4uk25-May-05 23:26 
Generalfocus to the current instance of a program Pin
toxcct25-May-05 22:50
toxcct25-May-05 22:50 
GeneralRe: focus to the current instance of a program Pin
ThatsAlok25-May-05 23:00
ThatsAlok25-May-05 23:00 
GeneralRe: focus to the current instance of a program Pin
David Crow26-May-05 2:44
David Crow26-May-05 2:44 

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.