Click here to Skip to main content
15,916,431 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Opening a VC++ project into Adobe Flash Builder Pin
002comp18-Oct-12 18:05
002comp18-Oct-12 18:05 
QuestionListView_InsertColumn associated subitem Pin
NoviceEx18-Oct-12 1:32
NoviceEx18-Oct-12 1:32 
AnswerRe: ListView_InsertColumn associated subitem Pin
Richard MacCutchan18-Oct-12 2:54
mveRichard MacCutchan18-Oct-12 2:54 
GeneralRe: ListView_InsertColumn associated subitem Pin
NoviceEx18-Oct-12 3:07
NoviceEx18-Oct-12 3:07 
GeneralRe: ListView_InsertColumn associated subitem Pin
Richard MacCutchan18-Oct-12 3:26
mveRichard MacCutchan18-Oct-12 3:26 
AnswerRe: ListView_InsertColumn associated subitem Pin
Jochen Arndt18-Oct-12 3:42
professionalJochen Arndt18-Oct-12 3:42 
GeneralRe: ListView_InsertColumn associated subitem Pin
Richard MacCutchan18-Oct-12 4:39
mveRichard MacCutchan18-Oct-12 4:39 
QuestionHow to copy map reference Pin
NoviceEx17-Oct-12 22:33
NoviceEx17-Oct-12 22:33 
AnswerRe: How to copy map reference Pin
Richard MacCutchan17-Oct-12 22:58
mveRichard MacCutchan17-Oct-12 22:58 
AnswerRe: How to copy map reference Pin
Stephen Hewitt18-Oct-12 6:30
Stephen Hewitt18-Oct-12 6:30 
QuestionKey capture using OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags) method Pin
Member 935377616-Oct-12 23:00
Member 935377616-Oct-12 23:00 
AnswerRe: Key capture using OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags) method Pin
Sivaraman Dhamodharan16-Oct-12 23:07
Sivaraman Dhamodharan16-Oct-12 23:07 
AnswerRe: Key capture using OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags) method Pin
Jochen Arndt16-Oct-12 23:49
professionalJochen Arndt16-Oct-12 23:49 
AnswerRe: Key capture using OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags) method Pin
«_Superman_»17-Oct-12 19:16
professional«_Superman_»17-Oct-12 19:16 
QuestionCStatusbar and Menubar Background color change Pin
shiv@nand16-Oct-12 20:20
shiv@nand16-Oct-12 20:20 
AnswerRe: CStatusbar and Menubar Background color change Pin
_AnsHUMAN_ 16-Oct-12 20:59
_AnsHUMAN_ 16-Oct-12 20:59 
GeneralRe: CStatusbar and Menubar Background color change Pin
shiv@nand16-Oct-12 21:01
shiv@nand16-Oct-12 21:01 
GeneralRe: CStatusbar and Menubar Background color change Pin
_AnsHUMAN_ 16-Oct-12 21:04
_AnsHUMAN_ 16-Oct-12 21:04 
GeneralRe: CStatusbar and Menubar Background color change Pin
shiv@nand16-Oct-12 22:42
shiv@nand16-Oct-12 22:42 
QuestionCFileDialog is not refreshing Pin
Dansveen16-Oct-12 11:00
Dansveen16-Oct-12 11:00 
AnswerRe: CFileDialog is not refreshing Pin
chaau17-Oct-12 8:59
chaau17-Oct-12 8:59 
GeneralRe: CFileDialog is not refreshing Pin
Dansveen17-Oct-12 9:05
Dansveen17-Oct-12 9:05 
AnswerRe: CFileDialog is not refreshing Pin
chaau17-Oct-12 11:47
chaau17-Oct-12 11:47 
GeneralRe: CFileDialog is not refreshing Pin
Dansveen18-Oct-12 2:04
Dansveen18-Oct-12 2:04 
Question#define USBERR(format,...) ... generates C2010 error. Why? Pin
Vaclav_16-Oct-12 5:37
Vaclav_16-Oct-12 5:37 
Can someone please explain / provide better description about this C2010 error to me.
I have never used “...” ellipsis as function parameter.
Why is the compiler complaining about this?
Is this some recent addition to the language?
I am still happily using VC 6.0 and have no desire to let go of it.
Source:
#define USBERR(format,...) usb_err(__FUNCTION__,format,__VA_ARGS__)
#define USBERR0(format) usb_err(__FUNCTION__,"%s",format)
Error:
k:\0\0 littlewire\downloads\usb library\libusb-win32-src-1.2.6.0\libusb-win32-src-1.2.6.0\src\error.h(131) : error C2010: '.' : unexpected in macro formal parameter list
Only the first #define fails and I am not really sure I need it. I would be happy just to compile this USB library for now.
Any help will be as always greatly appreciated.
Thanks Vaclav

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.