Click here to Skip to main content
15,905,967 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CMFCRibbonProgressBar Pin
KarstenK19-Aug-09 2:13
mveKarstenK19-Aug-09 2:13 
GeneralRe: CMFCRibbonProgressBar Pin
sashoalm19-Aug-09 2:46
sashoalm19-Aug-09 2:46 
GeneralRe: CMFCRibbonProgressBar Pin
sashoalm19-Aug-09 3:04
sashoalm19-Aug-09 3:04 
QuestionDiffrence between LPRECT and RECT. When to use LPRECT and RECT. Pin
pandit8418-Aug-09 21:35
pandit8418-Aug-09 21:35 
AnswerRe: Diffrence between LPRECT and RECT. When to use LPRECT and RECT. Pin
Rajesh R Subramanian18-Aug-09 21:44
professionalRajesh R Subramanian18-Aug-09 21:44 
AnswerRe: Diffrence between LPRECT and RECT. When to use LPRECT and RECT. Pin
sashoalm18-Aug-09 21:49
sashoalm18-Aug-09 21:49 
AnswerRe: Diffrence between LPRECT and RECT. When to use LPRECT and RECT. Pin
CPallini19-Aug-09 3:06
mveCPallini19-Aug-09 3:06 
Questiontypedef is not working properly.. Pin
Rakesh518-Aug-09 21:09
Rakesh518-Aug-09 21:09 
Hi,

i am enhancing my application to support unicode characters...

Following is my code snippet:
---------------------------------------------------
typedef struct tagTIMEDATE {

DWORD Innards[2];

} TIMEDATE;

(structure being defined by Microsoft.(oledb.h))
typedef struct tagDBID
{
union
{
GUID guid;
GUID *pguid;
/* Empty union arm */
} uGuid;
DBKIND eKind;
union
{
LPOLESTR pwszName;
ULONG ulPropid;
/* Empty union arm */
} uName;
} DBID;

I used the following typedef now:

typedef TIMEDATE DBID;
------------------------------------------

Unfortunately, Compiler throws me an error (c2371) stating DBID is redefined;different basic types..
Previously, it was working fine. its not working after making my solution unicode supporting one in the project settings..

can anyone guide me how to solve this issue?

Thanks,
Rakesh
AnswerRe: typedef is not working properly.. Pin
KarstenK18-Aug-09 21:39
mveKarstenK18-Aug-09 21:39 
GeneralRe: typedef is not working properly.. Pin
Rakesh518-Aug-09 22:44
Rakesh518-Aug-09 22:44 
GeneralRe: typedef is not working properly.. Pin
KarstenK18-Aug-09 22:56
mveKarstenK18-Aug-09 22:56 
QuestionDetecting memory leak Pin
VCProgrammer18-Aug-09 19:28
VCProgrammer18-Aug-09 19:28 
AnswerRe: Detecting memory leak Pin
Cedric Moonen18-Aug-09 20:20
Cedric Moonen18-Aug-09 20:20 
AnswerRe: Detecting memory leak Pin
«_Superman_»18-Aug-09 20:35
professional«_Superman_»18-Aug-09 20:35 
AnswerRe: Detecting memory leak Pin
KarstenK18-Aug-09 21:41
mveKarstenK18-Aug-09 21:41 
QuestionHow to display the gridlines only for row in ClistCtrl? Pin
Gokul_md18-Aug-09 19:16
Gokul_md18-Aug-09 19:16 
AnswerRe: How to display the gridlines only for row in ClistCtrl? Pin
«_Superman_»18-Aug-09 20:34
professional«_Superman_»18-Aug-09 20:34 
QuestionIPictureDisp to byte array Pin
vibindia18-Aug-09 19:10
vibindia18-Aug-09 19:10 
AnswerRe: IPictureDisp to byte array Pin
«_Superman_»18-Aug-09 20:40
professional«_Superman_»18-Aug-09 20:40 
QuestionVS2008 conversion problem with CFileDialog [modified] Pin
KASR118-Aug-09 18:52
KASR118-Aug-09 18:52 
AnswerRe: VS2008 conversion problem with CFileDialog Pin
«_Superman_»18-Aug-09 20:42
professional«_Superman_»18-Aug-09 20:42 
GeneralRe: VS2008 conversion problem with CFileDialog Pin
KASR118-Aug-09 20:45
KASR118-Aug-09 20:45 
AnswerRe: VS2008 conversion problem with CFileDialog Pin
Mr. Doctor6-Oct-09 3:55
Mr. Doctor6-Oct-09 3:55 
GeneralRe: VS2008 conversion problem with CFileDialog Pin
KASR16-Oct-09 18:54
KASR16-Oct-09 18:54 
QuestionBulk insertion into SQL Server 2005 using variables. Pin
Deepu Antony18-Aug-09 17:56
Deepu Antony18-Aug-09 17:56 

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.