|
I'm pretty sure yahoo only allows POP3 access if you're using a paid account.
If I'm right, then yahoo is waiting to verify who you are, looking you up, and rejecting you [*].
Iain.
[*] Don't take it personally.
|
|
|
|
|
I'd like to read a wav file, not using playsound() function. I want to get the wave of the sound and draw them out. Which function can solve this problem? Please give me some tips.
|
|
|
|
|
As cool as your name.
BTW, it may be easy for UNIX, coz everything in UNIX is a file.
logics
|
|
|
|
|
No UNIX Please
Thank you masters!
|
|
|
|
|
followait wrote: BTW, it may be easy for UNIX, coz everything in UNIX is a file.
Is it the joke?
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]
modified on Saturday, September 27, 2008 12:14 PM
|
|
|
|
|
It depends to you.
|
|
|
|
|
I think i saw your answer on the codeproject I think it was for avi files but you can use of its code for wav files.
|
|
|
|
|
Hi all
I need to print all the <b>'Running Applications'</b> in windows(XP/VISTA) using C++, win APIs.
Thanks & Regrads,
Subrat
|
|
|
|
|
Have a look to EnumWindows [^] function.
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]
|
|
|
|
|
I am using vs 2005.I need native c++ code to perform the same task.
It'd be great if your are telling me how to implement that CALLBACK func which is used in EnumWindows() API.
|
|
|
|
|
Implementing the callback isn't difficult. Anyway, to fullfill your requirements, maybe this example [^] is more appropriate.
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]
|
|
|
|
|
Thanks a lot for you quick response.
This exmple is for enumurating all processes.I need only Applications those are are displyed in Task Manager->Application tab.
|
|
|
|
|
You could use the tool help library:
#include <Tlhelp32.h>
...
HANDLE hProcessSnapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
if (INVALID_HANDLE_VALUE != hProcessSnapshot)
{
PROCESSENTRY32 processentry;
processentry.dwSize = sizeof(PROCESSENTRY32);
if (::Process32First(hProcessSnapshot, &processentry))
{
do
{
TRACE("%S\n", processentry.szExeFile);
}
while (::Process32Next(hProcessSnapshot, &processentry));
}
::CloseHandle(hProcessSnapshot);
}
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
I got the soln.Now problem is I want to store all app names inside a container(Vector).And finally calling a function to print it.But that function is unable to print these application names correctly.
#include "vector"
using namespace std;
wchar_t szText[256];//Holds app name
//Print function
void PrintText(vector<wchar_t*> apps) {
for (vector<wchar_t*> ::iterator itr = apps.begin();
itr != apps.end();
++itr) {
wprintf(L"%s \n", *itr);
}
}
vector<wchar_t*> r_apps;
//Inside callback func
bool callbackfn(.....) {
......
......
......
// if printing szText using wprintf() it is printing the app names correctly.
//using vector to store all these app names
r_apps.push_back (szText);
}
//Main func
int _tmain(int argc, _TCHAR* argv[])
{
.......
.......
PrintText(r_apps);
return 0;
}
PrintText() is unable to print the app names correctly.
My o/p comes like below:
?????????????????????????↕?A?↕?A?↕?↕??????????????????????????
?????????????????????????↕?A?↕?A?↕?↕??????????????????????????
?????????????????????????↕?A?↕?A?↕?↕??????????????????????????
?????????????????????????↕?A?↕?A?↕?↕??????????????????????????
?????????????????????????↕?A?↕?A?↕?↕??????????????????????????
?????????????????????????↕?A?↕?A?↕?↕??????????????????????????
?????????????????????????↕?A?↕?A?↕?↕??????????????????????????
// If using wprintf() above 'r_apps.push_back (szText);' statement then o/p come like belows.
C:\WINDOWS\System32\cmd.exe
AppPrint - Microsoft Visual Studio
CodeProject: Visual C++ / MFC Discussion Boards. Free source code and programmin
g help - Mozilla Firefox
Registry Mechanic
?????????????????????????↕?A?↕?A?↕?↕??????????????????????????
?????????????????????????↕?A?↕?A?↕?↕??????????????????????????
?????????????????????????↕?A?↕?A?↕?↕??????????????????????????
?????????????????????????↕?A?↕?A?↕?↕??????????????????????????
?????????????????????????↕?A?↕?A?↕?↕??????????????????????????
?????????????????????????↕?A?↕?A?↕?↕??????????????????????????
?????????????????????????↕?A?↕?A?↕?↕??????????????????????????
Please help me in this regard.
|
|
|
|
|
I can't tell what you're doing in that code, but it
looks like you're adding the same wchar_t* to the
vector every time, and there's no valid string data
being pointed to.
If you're going to store wchar_t pointers in the vector, then you
need to allocate a separate buffer for each string and copy each string's
contents into the new buffers.
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
This program will display all the running processes but not the application names those are displayed by Task Manager->Application.
Another q. is to use TRACE what header I will have to include.
|
|
|
|
|
A search ffor "list running processes" yields lots of info.
For example: this one[^]
Member 4708266 wrote: to use TRACE what header I will have to include.
Diagnostic Services (MFC)[^]
I just used that as a test example - you'll probably need to output
to someplace more useful.
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
This[^] is helpful for you.
|
|
|
|
|
I am drawing the text using gdi plus . How can I change the text outline width and text outline color
Trioum
|
|
|
|
|
Gdiplus::GraphicsPath::AddString
Gdiplus::Graphics::DrawPath
logics
|
|
|
|
|
Hi All
i am useing Edit box for display some values.Values enter in Edit box at the run time.I want to prevent enter duplicate values in edit box.I am useing this code for enter a values
if(m_str.Trim().IsEmpty())
{
SetDlgItemText(IDC_EDIT_DIR_TO_MONITOR,b);
}
else if(m_strDirectoryToMonitor2.Trim().IsEmpty())
{
SetDlgItemText(IDC_EDIT_DIR_TO_MONITOR2,b);
}
Plz help me
|
|
|
|
|
What has to do your code with duplicate values?
What is b ?
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]
|
|
|
|
|
I have no idea how to remove duplicate values?
B is a String type variale which have some values.
Plz help me
|
|
|
|
|
You know an edit box can have just 1 value at time, hence how can be duplicate values?
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]
|
|
|
|
|
Different Edit box have same value.Like that
Edit a1="a"
Edit a2="a"
Just i don't want to store a2="a". So how can i remove sir
|
|
|
|