|
What files will I need to include to use CString of WTL ?
Thank you.
|
|
|
|
|
atlbase.h
atlapp.h
ATLmisc.h
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
Could you answer me these questions ?
What files will I need to include to use WTL ?
What files will I need to include to use ATL ?
What files will I need to include to use STL ?
Thanks in advance.
|
|
|
|
|
That depends on what you want to use in each. All of this information is in MSDN.
Tim Smith
I'm going to patent thought. I have yet to see any prior art.
|
|
|
|
|
Could you answer me these questions ?
What classes does WTL support ?
What classes does ATL support ?
What classes does STL support ?
Thank you.
|
|
|
|
|
For someone who's username is 'microsoftcertification', you ought to know that this information is available at msdn.microsoft.com[^].
Software Zen: delete this;
|
|
|
|
|
Hello,
I am developping under Win2k with Visual studio 6.
I have created a dialog containing a month calendar (CMonthCalCtrl).
Everything goes well while I execute my appli on Win2k.
But, as soon as I run my application on WinXP, I get a problem with this calendar : it doesn't fit in the rectangle I defined (on win2k) for it on the dialog, around 15-20% of the right part is missing, so I am not able to click the days in the last column.
Worse : If I copy my whole project on a Visual studio 6 running on WinXP, the problem already appears when I look at the dialog editor, once again calendar is too large for defined rectangle and I am obliged to enlarge the rectangle.
Do you have an idea that explain this difference of behaviour between Win2k and winXP ??
Thanks in advance
DD
|
|
|
|
|
Check the desktop fonts setting between the two machines. It sounds like one of them is set for 'small fonts' and the other is set for 'large fonts'. Go to Control Panel, Display, Settings, Advanced.
Software Zen: delete this;
|
|
|
|
|
Hi,
I like to do file and registry monitoring, i know the concept getting the information from the File Mapping object, but i want to know getting the information from registry,
Is there any option avilable from registry hooking or any other ideas....
Your valuable ideas are always welcome .....
|
|
|
|
|
saravanan_vv wrote:
file
[ReadDirectoryChangesW]
saravanan_vv wrote:
registry monitor
[RegNotifyChangeKeyValue]
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
Hi,
Is it possible to convert (or cast) an object of type CDialog to CPropertyPage during run-time ? The thing is that I want to be able to use a CDialog object as a page in a property sheet structue, so if anyone has an idea of what is the way to do it, I'll be glad if you could help me out here.
thanks,
yaron.
|
|
|
|
|
CDialog is the base of CPropertyPage, so AFAIK you should be able to cast from a CPropertyPage to CDialog with very few problems, but casting from CDialog to CPropertyPage will not work.
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03
"Obviously ??? You're definitely a superstar!!!" mYkel - 21 Jun '04
Within you lies the power for good - Use it! Honoured as one of The Most Helpful Members of 2004
|
|
|
|
|
Hello all
I am making a client server application in which client will call system calls and send the information to server.
I want to store that information into database e.g Access using ADO( in VC++).
Plz guide me what should i do?
Do i have to do serialization of data?
e.g From client i have to send the the computer name and user name to server. how will i do this ?
how will i serialize data?
how will i use ADO? I am newbie plz be aptient with me and also tell me examples as well
Thanks a lot
|
|
|
|
|
|
Hi,
I created an application which creates a folder in the temp directory to store the temporary output files, at program startup. When I exit my application I want to delete the files as well as the folder. My application successfully deletes the files( I used DeleteFile() API), but not the directory. The RemoveDirectory() always fails. Why is it so? I have also tried using _rmdir() method.
void RemoveTempFolder(LPCTSTR dirName)
{
basic_string<TCHAR> stFolder;
BOOL bFinish = TRUE;
HANDLE hFind;
WIN32_FIND_DATA pFindData;
stFolder.assign(dirName);
stFolder.append(_T("\\*.*"));
if((hFind = FindFirstFile (stFolder.c_str(), &pFindData))== INVALID_HANDLE_VALUE)
{
return ;
}
while(bFinish)
{
if(_tcsicmp(pFindData.cFileName,_T(".")) != 0 && _tcsicmp(pFindData.cFileName,_T("..")) != 0)
{
basic_string<TCHAR> sTemp;
sTemp.assign(dirName);
sTemp.append( _T("\\"));
sTemp.append(pFindData.cFileName);
DeleteFile(sTemp.c_str());
}
bFinish = FindNextFile(hFind,&pFindData);
}
int nRet = RemoveDirectory(dirName);
if(!nRet)
DWORD dErr = GetLastError();
}
I also tried calling RemoveDirectory()from outside the function. Still the same result. Is there anything I am missing here?? Pls help.
Thanks,
Vini
|
|
|
|
|
Try after closing the search handle with FindClose().
suhredayan There is no spoon.
|
|
|
|
|
Thanks. But it didn't work. Still my temporary folder is not deleted.
Vini
|
|
|
|
|
Vinaya wrote:
DWORD dErr = GetLastError();
What is the value of dErr ? That would be a big clue as to why RemoveDirectory() is not working.
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
|
|
|
|
|
|
Better Forum for ask this type of question is LOUNGE
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
I find that my pointers are less likely to generate access violations if I use Courier.
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
|
|
|
|
|
|
6 point Terminal
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03
"Obviously ??? You're definitely a superstar!!!" mYkel - 21 Jun '04
Within you lies the power for good - Use it! Honoured as one of The Most Helpful Members of 2004
|
|
|
|
|
In my VS IDE, I use Lucinda Console - usually 10pt but if the resolution is higher I'll go up to 14pt
Michael
CP Blog [^] Development Blog [^]
|
|
|
|
|
Finding a good font is the first milestone in the journey of becoming a master craftsman. I don't think I was even a programmer till I spent a day making my own programming font in Softy 3 years ago. I still use it and it's still awesome.
|
|
|
|