Click here to Skip to main content
16,012,508 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionVisual C++ 6.0 still alive Pin
thierrypp16-Mar-06 9:32
thierrypp16-Mar-06 9:32 
AnswerRe: Visual C++ 6.0 still alive Pin
John R. Shaw16-Mar-06 13:45
John R. Shaw16-Mar-06 13:45 
QuestionProgram crashes Pin
Eikthrynir16-Mar-06 8:21
Eikthrynir16-Mar-06 8:21 
AnswerRe: Program crashes Pin
John R. Shaw16-Mar-06 14:22
John R. Shaw16-Mar-06 14:22 
GeneralRe: Program crashes Pin
Eikthrynir16-Mar-06 23:04
Eikthrynir16-Mar-06 23:04 
GeneralRe: Program crashes Pin
John R. Shaw19-Mar-06 10:22
John R. Shaw19-Mar-06 10:22 
GeneralRe: Program crashes Pin
Eikthrynir19-Mar-06 10:27
Eikthrynir19-Mar-06 10:27 
QuestionNew Time-Date Prblms--VC7 Pin
luhfluh16-Mar-06 6:57
luhfluh16-Mar-06 6:57 
COleDateTime t = COleDateTime::GetCurrentTime();

CString str = t.Format(_T("%A, %B %d, %Y"));

m_edit.SetWindowText(str);



Hi, when i first tried the above code on a new empty project, it worked without any problems.(after including the ATLComTime.h)
But i finally modify and use it in my intended solution and i have 4 errors and 4 warnings:


C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\ObjIdl.h(246) : warning C4935: assembly access specifier modified from 'public'

C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\ObjIdl.h(258) : warning C4935: assembly access specifier modified from 'public'

C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\ObjIdl.h(7408) : error C2872: 'IDataObject' : ambiguous symbol
could be 'C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\ObjIdl.h(246) : System::Windows::Forms::IDataObject IDataObject'
or 'stdafx.cpp(0) : System::Windows::Forms::IDataObject'

C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\ObjIdl.h(7422) : fatal error C1903: unable to recover from previous error(s); stopping compilation
Form1.cpp

C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\ObjIdl.h(246) : warning C4935: assembly access specifier modified from 'public'

C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\ObjIdl.h(258) : warning C4935: assembly access specifier modified from 'public'

C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\ObjIdl.h(7408) : error C2872: 'IDataObject' : ambiguous symbol
could be 'C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\ObjIdl.h(246) : System::Windows::Forms::IDataObject IDataObject'
or 'stdafx.cpp(0) : System::Windows::Forms::IDataObject'

C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\ObjIdl.h(7422) : fatal error C1903: unable to recover from previous error(s); stopping compilation
Generating Code...

Can you figure out what I might nid to do? Tks


QuestionCreate Sqlite DB Pin
MyChance16-Mar-06 6:42
MyChance16-Mar-06 6:42 
AnswerRe: Create Sqlite DB Pin
Jack Puppy16-Mar-06 7:38
Jack Puppy16-Mar-06 7:38 
GeneralRe: Create Sqlite DB Pin
MyChance16-Mar-06 15:14
MyChance16-Mar-06 15:14 
QuestionMS Embedded CE Pin
Greg Barnes16-Mar-06 6:30
Greg Barnes16-Mar-06 6:30 
AnswerRe: MS Embedded CE Pin
Trollslayer16-Mar-06 8:16
mentorTrollslayer16-Mar-06 8:16 
GeneralRe: MS Embedded CE Pin
Greg Barnes16-Mar-06 9:07
Greg Barnes16-Mar-06 9:07 
Questionstring conversion Pin
big_denny_20016-Mar-06 5:35
big_denny_20016-Mar-06 5:35 
AnswerRe: string conversion Pin
Monty216-Mar-06 5:43
Monty216-Mar-06 5:43 
GeneralRe: string conversion Pin
big_denny_20016-Mar-06 6:01
big_denny_20016-Mar-06 6:01 
GeneralRe: string conversion Pin
toxcct16-Mar-06 6:04
toxcct16-Mar-06 6:04 
GeneralRe: string conversion Pin
big_denny_20016-Mar-06 6:07
big_denny_20016-Mar-06 6:07 
GeneralRe: string conversion Pin
toxcct16-Mar-06 6:14
toxcct16-Mar-06 6:14 
GeneralRe: string conversion Pin
toxcct16-Mar-06 6:03
toxcct16-Mar-06 6:03 
GeneralRe: string conversion Pin
Stephen Hewitt16-Mar-06 11:56
Stephen Hewitt16-Mar-06 11:56 
GeneralRe: string conversion Pin
toxcct16-Mar-06 21:13
toxcct16-Mar-06 21:13 
AnswerRe: string conversion Pin
Michael Dunn16-Mar-06 7:37
sitebuilderMichael Dunn16-Mar-06 7:37 
QuestionPrinting a table structure Pin
Waldermort16-Mar-06 5:25
Waldermort16-Mar-06 5:25 

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.