Click here to Skip to main content
15,902,777 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralFileDialog with the Favourites control on left Pin
andrewtruckle28-Mar-04 23:41
andrewtruckle28-Mar-04 23:41 
GeneralRe: FileDialog with the Favourites control on left Pin
David Crow29-Mar-04 3:16
David Crow29-Mar-04 3:16 
GeneralRe: FileDialog with the Favourites control on left Pin
andrewtruckle29-Mar-04 3:55
andrewtruckle29-Mar-04 3:55 
GeneralRe: FileDialog with the Favourites control on left Pin
David Crow29-Mar-04 4:03
David Crow29-Mar-04 4:03 
GeneralRe: FileDialog with the Favourites control on left Pin
andrewtruckle29-Mar-04 4:10
andrewtruckle29-Mar-04 4:10 
GeneralRe: FileDialog with the Favourites control on left Pin
David Crow29-Mar-04 4:22
David Crow29-Mar-04 4:22 
GeneralBluetooth reconnection problems Pin
Julius Cesar28-Mar-04 23:23
Julius Cesar28-Mar-04 23:23 
QuestionGetCalendarInfo ? Pin
Thomas Andersen28-Mar-04 22:30
Thomas Andersen28-Mar-04 22:30 
Hi

I'm having big problems trying to úse the GetCalendarInfo function with VC++ 2003 and seemingly no matter what I do, I get the error shown below

error C3861: 'GetCalendarInfo': identifier not found, even with argument-dependent lookup

Sigh | :sigh: Confused | :confused:
I'm trying to the the locale version of the shortdate and the code I try to compile is like this

<br />
#include <windows.h><br />
#include <winnls.h><br />
//irrelevant code omitted<br />
LPTSTR calinfo2 = new TCHAR[81];<br />
	GetCalendarInfo(LOCALE_SSHORTDATE,CAL_GREGORIAN,CAL_SSHORTDATE,calinfo2,81);<br />
//irrelevant code omitted<br />


Can anyone help me out, please

Thomas
AnswerRe: GetCalendarInfo ? Pin
Antony M Kancidrowski29-Mar-04 2:14
Antony M Kancidrowski29-Mar-04 2:14 
AnswerRe: GetCalendarInfo ? Pin
Phil J Pearson29-Mar-04 3:02
Phil J Pearson29-Mar-04 3:02 
GeneralRe: GetCalendarInfo ? Pin
Thomas Andersen29-Mar-04 18:10
Thomas Andersen29-Mar-04 18:10 
GeneralUnused scan codes Pin
Julius Cesar28-Mar-04 22:20
Julius Cesar28-Mar-04 22:20 
GeneralRe: Unused scan codes Pin
Antti Keskinen29-Mar-04 0:06
Antti Keskinen29-Mar-04 0:06 
GeneralRe: Unused scan codes Pin
Julius Cesar29-Mar-04 2:23
Julius Cesar29-Mar-04 2:23 
GeneralRe: Unused scan codes Pin
Antti Keskinen29-Mar-04 5:29
Antti Keskinen29-Mar-04 5:29 
GeneralIsFieldNull Pin
Member 87969028-Mar-04 22:16
Member 87969028-Mar-04 22:16 
GeneralFocus problem in FormView Pin
Raghunandan S28-Mar-04 22:08
Raghunandan S28-Mar-04 22:08 
GeneralCFileDialog modification Pin
Haakon S.28-Mar-04 22:04
Haakon S.28-Mar-04 22:04 
GeneralRe: CFileDialog modification Pin
22491728-Mar-04 22:32
22491728-Mar-04 22:32 
QuestionHow to remove an ActiveX from a project ? Pin
Cedric Moonen28-Mar-04 21:33
Cedric Moonen28-Mar-04 21:33 
GeneralModel Railway Computer Control Pin
Ger Hayden28-Mar-04 21:31
Ger Hayden28-Mar-04 21:31 
QuestionHow can I implement a rectangle tracker over a bitmap ? Pin
Gem28-Mar-04 21:12
Gem28-Mar-04 21:12 
QuestionPen command returns null pointer ? Pin
Gem28-Mar-04 21:06
Gem28-Mar-04 21:06 
AnswerRe: Pen command returns null pointer ? Pin
Antony M Kancidrowski29-Mar-04 2:44
Antony M Kancidrowski29-Mar-04 2:44 
AnswerRe: Pen command returns null pointer ? Pin
Gem30-Mar-04 1:46
Gem30-Mar-04 1:46 

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.