|
quantum69 wrote:
Is there a way to get the MSDN library help to retain it's favorites entries?
Normally it does keep them. I've had them disappear a time or two over the years but simply wrote it off as the moon being out of phase. It may be overkill but after adding one, exit MSDN right away.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
|
|
|
|
|
thanks, I'll give that a try
Glenn
Unix Systems Programmer
|
|
|
|
|
Hi all
I have searched for a way to read a specified sector from a drive
and found nothing can someone know how can I read a sector
or know about a mosule I can use.
Tanks
Regards
Y.R.
|
|
|
|
|
|
Thank you for your replay but I have seen this previously
and I want somthing for general (for hard drives too).
Sincerely yours
Y.R.
|
|
|
|
|
Please help me with this. I am using VirtualQueryEx() function to get information about regions of pages committed and save this information in a file. Here is part of my code
<br />
PROCESS_INFORMATION pi; <br />
STARTUPINFO si; <br />
HANDLE hProcess; <br />
BYTE buf[20000];<br />
DWORD NumberOfBytesRead = 0;<br />
DWORD bufsize = sizeof buf;<br />
DWORD baseaddr = 0;<br />
DWORD lpAddr = 0;<br />
PMEMORY_BASIC_INFORMATION lpBuffer = 0;<br />
DWORD dwLength = 200000;<br />
DWORD flNewProtect =0;<br />
PDWORD lpflOldProtect = 0;<br />
DWORD dwSize =0;<br />
LPCVOID lpBaseAddress = 0;<br />
DWORD nSize = 0;<br />
<br />
VirtualQueryEx(<br />
hProcess,
&lpAddr,
buf,
sizeof (MEMORY_BASIC_INFORMATION));
<br />
VirtualProtectEx(<br />
hProcess,
lpAddr,
dwSize,
flNewProtect,
lpflOldProtect );
<br />
ZeroMemory(buf, sizeof(buf));<br />
if( ReadProcessMemory( hProcess, lpBaseAddress, buf, bufsize, &NumberOfBytesRead ) == FALSE )<br />
{<br />
printf("\nProcess ID %d ",pi.dwProcessId);<br />
printf (" memory read failed (errcode: %d)", GetLastError());<br />
}<br />
else<br />
{<br />
printf("\nProcess ID %d ",pi.dwProcessId);<br />
printf("memory read: \n",buf);<br />
GetLastError());<br />
}<br />
How do i return this function call, i.e. to return information about pages commited and occupied pages
oam
|
|
|
|
|
Hello, everybody.
I'm a game developer working on a very limited budget. I'm very interested in making some editing tools for myself and others. But before I go and spend a lot of time trying to reinvent the wheel I thought I'd ask here and see if anyone has what I want already and is willing to share it with me.
I'm looking for a 3dsmax style SDI application in MFC. The left pane should show an OpenGL view and the right pane should have tabs at the top and dialog boxes beneath the tabs. the dialog box displayed should change when the tab selection changes.
I know how to do almost all of these things but I don't know how to do the part with the tabs/dialog boxes. If you know where I can find source code that does most (or all) of what I want OR you feel you can explain it to me I would be very thankful.
PS, I'm currently working with MSVC 6
Dan "Aggrav8d" Royer
Lead Programmer, Marginally Clever Games
http://www.marginallyclever.com/
|
|
|
|
|
hello:
I am very interested in your project.I have use MSVC 6 for five years, and develope many product with it. one of these products is a Integrate Development Enviroment for a software platform. so I want to cooperate with you. OK?
your friend:bobi
|
|
|
|
|
Hello all,
I am having a massive brain fart today.. What I thought would be simple is turning out to be a huge head-ache..
I have a CPropertySheet in wizard mode with 3 simple pages.. Depending on what option is selected on page one, I want to either show page 2 of the wizard or skip it and go to page 3... How can this be done?
Thanks,
Rob
Whoever said nothing's impossible never tried slamming a revolving door!
|
|
|
|
|
Hi!
Sure it is !
The place where to look at is the documentation of "OnWizardNext":
This member function is called by the framework when the user clicks on the Next button in a wizard.
virtual LRESULT OnWizardNext();
Return Value
0 to automatically advance to the next page; –1 to prevent the page from changing. To jump to a page other than the next one, return the identifier of the dialog to be displayed.
Hope this helps...
Greetings, Ralph
|
|
|
|
|
Perfect!!
Thank you, I knew it couldn't be that hard
Thanks again!
Rob
Whoever said nothing's impossible never tried slamming a revolving door!
|
|
|
|
|
In VC6, you could change the text and background color of the Output window. In VS2003 (Tools | Options | Environment | Fonts & Colors | Show settings for Text Output Tool Windows), the item foreground and background color comboboxes are disabled and set to "Automatic".
Any way the colors can be changed?
/ravi
My new year's resolution: 2048 x 1536
Home | Articles | Freeware | Music
ravib@ravib.com
|
|
|
|
|
I already ask about how to use colors to change the text of the console application. But I can't use it with C/C++ console application. The answer that you gave me is for the console application(.net). How can I change text colors in the other console application?
|
|
|
|
|
You're talking about dark ages programming here. Surely google will help ?
In fact, it took me seconds to have a multitude of pages that answer the question. I suggest if you want to be a programmer that you learn to do a little research. Seriously.
Christian
I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
|
|
|
|
|
Hi!
I'm trying to write a kind of performancedata-fetcher for windows and therefore i need the total received and sent amount of bytes for each network interface.
I searched the whole msdn and I just found how to get the current traffic per second (either through the registry or wmi), but nowhere how to get the full amount of bytes like it's displayed in the blinking computer-symbol in the systempanel.
thanks for your help!
vapz
|
|
|
|
|
the menu uses MENUITEM to display text. how to make the text bold?
|
|
|
|
|
Take a look at the fState member of MENUITEMINFO , in particular the MFS_DEFAULT flag.
|
|
|
|
|
Hi,
I am trying to create 2 QuickTime process to open 2 seperate video streaming files. Both video streams open and run fine. When I open the second process, I notice that TaskManager lists the second QuickTime process with a different PID for about 2 seconds, and then it disappears and only one QuickTime process is listed. The problem I am encountering is when I try to close a single QuickTime process. I use the TerminateProcess() function and when I try using the function on the second process, it does nothing. However if I run the TerminateProcess() on the first process, it closes both of the windows. I have checked to make sure the pi.hProcess is different. I looked through the MSDN site and tried to change flags around, but nothing worked. The code I use to create and close functions is listed below. Can anyone help??
if (evalKitDlg == camera1)
{
if( !CreateProcess( NULL,
TEXT("C://Program Files//QuickTime//QuickTimePlayer.exe camera1.sdp"),
NULL,
NULL,
FALSE,
DETACHED_PROCESS,
0,
NULL,
NULL,
&si,
&pi ));
}
TerminateProcess(evalKitDlg->pi.hProcess, (DWORD)-1);
|
|
|
|
|
My guess:
QuickTime probably doesn't allow multiple instances of itself to run.
When you attempt to start the 2nd process, it sense the first, and forwards your request to it.
Upon forwarding your request to the initial process, process #2 shuts down.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
Peter Weyzen<br />
Staff Engineer<br />
<A HREF="http://www.santacruznetworks.com">Santa Cruz Networks</A>
|
|
|
|
|
Hello:
I need to know how get the messages of a static text control, this is the child of a progress bar control, i'd set it with the SetParent function, then the progress is the parent of the static control, but the messages like as WM_CTLCOLORSTATIC is not recived by the common way, and i don't know the manner of get it...
I've tried with the WM_COMMAND message and nothing, where are sent this messages when i set the static control owner(?) window????
Any answer will be welcome, thank you
|
|
|
|
|
try WM_CTLCOLOR message!!!!!.....i believe WM_CTLCOLORSTATIC is for win32 prgmming.....
cheerz.....
"faith, hope, love remain, these three.....; but the greatest of these is love" -1 Corinthians 13:13
|
|
|
|
|
Ok, I will try it...
But really my aplication is working under win32 that's the question, and i don't understand why that don't sends me the message correctly or may be what i don't know the way
|
|
|
|
|
aaah.....now i get it.....i had the same prob!!!!!....u have to set the static control to nofify the messages!!!!!.....thatz y it doesnt respond to ur messages!!!!!
only when the notify option is set the static control will be able to get the messages!!!!!
u can do this by right clicking on the static control =>take properties ,select the styles option.....then check the NOTIFY option!!!!!
tell me if it workz now!!!!!....it should!!!!;)
happy programmin.....
cheerz.....
"faith, hope, love remain, these three.....; but the greatest of these is love" -1 Corinthians 13:13
|
|
|
|
|
Hi..
I am creating vc.net 2003 setup project. Before installation I need to check the presence of another software package say pgmA( previously installed ) and install my package pgmB in the same place as pgmA. How should I accompilish this?? Please help.
Thanks a lot in advance.
|
|
|
|
|
Hi all-
I posted before about this but hopefully this is more clear. I'm getting an access violation deep within the wininet dll when InternetErrorDlg() is called to handle a 407 Proxy Authentication Required error.
The odd thing is that this only happens with an SSL connection.... non-SSL works perfectly.
Any ideas??????
My other post is here.
Thanks, Nicholas
|
|
|
|