|
Is the PC speaker connected?
Try MessageBeep .
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
Do other sounds work?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
yes other sounds work properly.
To accomplish great things, we must not only act, but also dream;
not only plan, but also believe.
|
|
|
|
|
|
"_$h@nky_" wrote: its not generate beep on some PC.
there is any specification of machine for beep generation please tell me.
If your PC's speaker is there and running well,
Check this registry entry
HKEY_CURRENT_USER\Control Panel\Sound
Check the value of 'Beep' -
if it is "no" (without quotes) change to "yes" (without quotes) and try again.
|
|
|
|
|
Madhu Nair wrote: Check this registry entry
HKEY_CURRENT_USER\Control Panel\Sound
Check the value of 'Beep' -
if it is "no" (without quotes) change to "yes" (without quotes) and try again.
i m checking this value of beep is yes.but beep sound not generated.
please help me for this.
if you know any other function please tell me.
To accomplish great things, we must not only act, but also dream;
not only plan, but also believe.
|
|
|
|
|
Can anyone tell me what's the different between
CList<CTime,CTime> m_listTime
and
CList<CTime,CTime&> m_listTime
i used either one of these in my program, can't see the different.
*12Code
|
|
|
|
|
12Code wrote: CList<ctime,ctime> m_listTime
This version will copy CTime items when you pass them as parameters to list methods like SetAt[^].
12Code wrote: CList<ctime,ctime&> m_listTime
This version will pass a reference to CTime items when you pass them as parameters to list methods like SetAt[^].
I'm not surprised you don't see a difference - there's not much of one in this case. A slight performance issue, but not much else - except that you really want the default value for the second template parameter.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
you see no difference because the differences are underground.
the second parameter is meant to tell to CList how it's gonna handle your list elements like.
a CTime template parameter tells to use so as methods parameter, that means each time you pass an element to a CList method (such as Add()), it will pass a CTime. that means the parameter will be passed by copy.
a CTime& (or even better a const CTime&) template parameter will have you make no changes in your code, but it will handle references, so no copies anymore.
the difference between the 2 is in the memory consumption and in the performances of the program.
|
|
|
|
|
As a side note, try to pass a temporary object to the second form and see what happens to your application...
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Hi All,
Can someone help me to write c++ code in the task of converting pdf to any image format(like .tif,.jpg,.bmp etc)....i googled but didnt get any useful code in c++ ....any help would be appreciable.
Thanks A Ton
Ash_VCPP
walking over water is just knowing where the stones are.....
modified on Thursday, May 14, 2009 6:29 AM
|
|
|
|
|
download pdftoimage.exe that converts PDF file to an image file.
Download from here
But it is chargeable.
regard
Imrankhan
please don't forget to vote on the post that helped you.
|
|
|
|
|
Sorry for the wrong question...actually i have to write my own application in vc++
Thanks A Ton
Ash_VCPP
walking over water is just knowing where the stones are.....
|
|
|
|
|
I am a Korean college student that is using File Encryption and Encrypted text embedding in an image in a project.
I would like to know the difference between the Online Encryption and Offline Encryption when the exe file is executed.
I think Online Encryption is to encrypt and Decryption? the actual recorded content, and offline encryption is to bring/open/call the wav file when the brouwse button is clicked and encrypt and Decryption.
later when the saving, online and offline seem to be saved with the same name.
would that suggest that the difference in the two is only the way the wav file is being opened (called on/ brought)?
File Encryption and Encrypted text embedding in an image.
I ask as there isn't much explaination to the subject of File Encryption and Encrypted text embedding in an image.
|
|
|
|
|
|
Hi,
I have the only entry in the text file
[Info]
AppID=12c5cad4-3f6c-46f9-8ba7-61253cb23bec
How to retrieve "12c5cad4-3f6c-46f9-8ba7-61253cb23bec" entry
|
|
|
|
|
You can do the following :
1. Extract the entire row and then extract text starting from '=' or
2. i do not remember the functionality of the following functions exactly but i think you can use GetPrivateProfileSectionNames () or GetPrivateProfileString ()
|
|
|
|
|
Or use a regex package.
Which language by the way.
You have the thought that modern physics just relay on assumptions, that somehow depends on a smile of a cat, which isn’t there.( Albert Einstein)
|
|
|
|
|
|
VKupunaram wrote: How to retrieve "12c5cad4-3f6c-46f9-8ba7-61253cb23bec" entry
As said by kapardhi
Just try these two lines
TCHAR szOut[MAX_PATH];
DWORD dwReturn = ::GetPrivateProfileString(_T("Info"),_T("AppID"),_T("FAILED"),szOut,MAX_PATH,_T("C:\\yourfile.txt"))
You will get "12c5cad4-3f6c-46f9-8ba7-61253cb23bec" in szOut
|
|
|
|
|
|
so, you voted every answer you got as Bad because you couldn't figure how to read the documentation by yourself ?
The "said working" solution is what someone else suggested without providing code...
Dude, help yourself, and learn reading the MSDN
And if you're about to vote for this post, take time at least to explain why you do so
|
|
|
|
|
toxcct wrote: so, you voted every answer you got as Bad...
Are you sure it was the OP?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
not that much, but at least, he could defend himself ?! lol
|
|
|
|
|
Stopped voting ! I missed a 5
just kidding.
|
|
|
|