|
Thanks Alok. I will se it. If you have any sample code program, do send it to me.
|
|
|
|
|
Saurabh_Delhi wrote:
If you have any sample code program, do send it to me.
here it is, this actual i am using in one of my application
CStdioFile m_File;
if(m_File.Open(szFilePath,CFile::modeWrite|CFile::modeCreate))
{
char *str=W2T(pDomDoc->xml);
m_File.WriteString(str);
m_File.Close();
}
Saurabh_Delhi wrote:
Thanks Alok
Mention Not buddy
"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 need a drop down color picker on a toolbar .
The concern is when it drops down it should list only 16 specific colors that can be varied dynamically. That is it should list only specific colors in the drop down list.
Are there any specific articles that suit this requirememt.
Thanx in advance.
laiju
|
|
|
|
|
|
|
|
how to decalre a function to timeSetEvent.
thanks.
have a nice day,everybody!
|
|
|
|
|
void CALLBACK TimerFunc(UINT uTimerID, UINT uMsg, DWORD dwUser, DWORD dw1, DWORD dw2)
{
::MessageBox(NULL,"I am here","Hi",MB_OK);
}
MMRESULT mm;
mm = timeSetEvent(5000,1,TimerFunc,0,TIME_PERIODIC | TIME_CALLBACK_FUNCTION);
Will set it to 5 seconds.
this is this.
|
|
|
|
|
Check here[^].
<bold>- Nilesh
<italics>"Reading made Don Quixote a gentleman. Believing what he read made him mad" -George Bernard Shaw
|
|
|
|
|
I am using MDI Doc -View architecture.
How can I ensure that only single instance of my application is executed .How can I prevent multiple instances.
laiju
|
|
|
|
|
Have a look Here[^]
You should first try to use the search articles tool at the top of the page before posting. If you had type multiple instance, you would have immediately found the subject article.
|
|
|
|
|
Ya i should have searched using the keyword "mutltiple instance".
Anyway thanx.
laiju
|
|
|
|
|
hi,
i need to convert a gray scale bitmap to raw image. i can read the bitmap file and can access its image data. now i need help how to write a raw image file thats of extension ".raw". Does any one have a code for this conversion.
Regards
Alexen
|
|
|
|
|
Maybe this[^] might solve your problem.
<bold>- Nilesh
<italics>"Reading made Don Quixote a gentleman. Believing what he read made him mad" -George Bernard Shaw
|
|
|
|
|
Can i create my own class objects to provide the scipting facility
using the vbscript parsing engine procided with microsoft...please
mention some web sites for me to start from scratch..
DG
|
|
|
|
|
i have uploaled my exe on the web server of our private net. now i want that whenever someone tries to download my exe, a pop-up box should come up which will ask for the license key. once the licence key is validated, only then the download should start. how do i implement it?
Secondly since the exe will be hosted on intranet, so whenever someone tries to download my exe, i need to know the IP address of the system which is trying to download it, check whether its a valid internal address and only then ask for licence input. how do i implement it?
|
|
|
|
|
Probably not the most helpful answer, but you'll have better luck asking on the Web Development forum,
is this much more their forte.
Iain.
|
|
|
|
|
Is there any easy way to get the total number of days in a month?
My method, which seems really primitive, is to increment from 26
to 33 until
if (date.GetMonth() == -1)
break;
at which time, I know I went too far by one. TotalDays is i - 1.
Is there any other way to do this?
Please, any response any one can give me will be greatly appreciated.
Sincerely,
Danielle Brina (an overworked graduate student)
|
|
|
|
|
You can also set your COleDateTime object to the first day of the next month, substract one day, then get the current date. It's perhaps not a less primitive way, but at least you avoid the loop.
Btw, what kind of alien calendar are you using? Do you really expect to find some month with 32 or 27 days?
|
|
|
|
|
A simple switch/if else statement can be used for 11 of the months.
For Feb, check for a leap year...
bool bIsLeapYear = ((((nYear % 4) == 0) && ((nYear % 100) != 0)) ||
((nYear % 400) == 0));
and if true, add 1.
Pssst. You see that little light on your monitor? That's actually a government installed spy camera. Smile and wave to big brother!
|
|
|
|
|
does any one have implementation of gabor filters for fingerprint image enhancement in c++
gobar
|
|
|
|
|
They don't look that hard, but I found some code in seconds, [^] by using google.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Or maybe you can try here[^] as well
<bold>- Nilesh
<italics>"Reading made Don Quixote a gentleman. Believing what he read made him mad" -George Bernard Shaw
|
|
|
|
|
ok can you please give me te link of the code coc i searched a lot and all what i found is a matlab code
gobar
|
|
|
|
|
i have two questions infact.
basically i am calling from C# to c++. i am passing the window handle as int32 to c++ code. But GetWindowDC() requires window handle. how do i convert the int32 to window handle??
Second one is how can i get the window size in c++ given an handle?
|
|
|
|