|
Here is a free tool (Debugging Tools for Windows) from MS: http://support.microsoft.com/?kbid=268343
Also w2k resource has plenty of useful utilities:
http://www.microsoft.com/windows2000/techinfo/reskit/tools/default.asp
No fancy UI, but they are fast and work well.
Edward
|
|
|
|
|
|
I'm developing a code in VC++ .NET to read XY data from a file, present the user with a simple plot of the data, allow the user to select the range of good data to use, and then, with the user's inputs, use that range of data for the rest of my calculations. What is the best way to plot the data from VC++ .NET?
Thanks,
Kevin
|
|
|
|
|
Best way is via drawing lines using MFC.
Kuphryn
|
|
|
|
|
i created an sdi based application but i don't like the default font it uses.
how can i change the font htat will be displayed in the editing area of the sdi???
thanx
|
|
|
|
|
If this is an MFC app, you can add a CFont member to the view, and in the OnInitialUpdate, create the font, then use the SetFont member function of the edit control (if that's what you have).
Steve S
|
|
|
|
|
There are two modal dialogs, A and B in my program.
The A must automatically call B when it is "shown".
But i don't know where to put the DoModal() in A to call dialog B.
Is anyone has any idea? Thx.
|
|
|
|
|
How about in OnInitDialog?
onwards and upwards...
|
|
|
|
|
It will causes B to be shown before A. What i need is to show A before B.
Is there another way?
|
|
|
|
|
How about creating a thread in the OnInitDialog?
|
|
|
|
|
At the end of dialog A's OnInitDialog() method, post a user-defined message. In the handler for that message, construct dialog B and call its DoModal() method.
A rich person is not the one who has the most, but the one that needs the least.
|
|
|
|
|
You could use WM_TIMER and set the time in A's OnInit.
Then in your OnTimer show B and Kill the timer.
Rob
Whoever said nothing's impossible never tried slamming a revolving door!
|
|
|
|
|
Hi!
I'm recieving packets with pcap_next and store them to a file with pcap_dump. To double check I also copy the packet to a buffer and print the first five bytes at the console to see if they are the same as in the file.
But they not. In the file the first packet come after 40 bytes. So I think it is the IP header 20 bytes + TCP header 20 bytes. Why are they not performed on the screen when I print them in the console?
So I think, okey, then there will be 40 extra bytes for next paket too, but it is not. It is only 16 bytes??? and also next packet, and next ...
Why is it 40 bytes for the first packet I recieve, and then 16 bytes for the packets I recieve after?
Can someone explain this for a confused man,
Stefan
|
|
|
|
|
Hi All!
I've created a Win32 API project and now i'm trying to create a registration procedure
for it, using a dialog box with two edit controls and a button control. The one edit control is the user name text and the other is the registration code text.
The problem is that i want to write a very advanced algorythm to make registration very strong without using any EXE compression tool!
Can anyone suggested me a strong algorythm for the dialog box registration procedure,
or a site where I could find examples to get some ideas?
Thanks for any answer!
|
|
|
|
|
Dennis L wrote:
...i want to write a very advanced algorythm to make registration very strong...
I've never heard of a registration algorithm. Please explain.
A rich person is not the one who has the most, but the one that needs the least.
|
|
|
|
|
David
Sounds like this is yet another attempt to provide some 'foolproof' software licensing, a la "Enter your name and a registration key" which then goes on to validate (or not) and allow use of the software.
Steve S
|
|
|
|
|
How to control the system volume(sound) control
|
|
|
|
|
|
See if this article helps.
A rich person is not the one who has the most, but the one that needs the least.
|
|
|
|
|
Does this example help any?
A rich person is not the one who has the most, but the one that needs the least.
|
|
|
|
|
Hey
How can I get a IDispatchpointer to a running instance of an IE?
Greetings from Bali
Frank
|
|
|
|
|
You can enumerate shell windows using "ShellWindows" object (clsid is in exdisp.h or comdef.h)
Then enumarate shell windows (that includes ie instances as well) using ISehllWindow interface. Query items for IWebBrowser2 interface if it has one, get a window handle (IWebBrowser::get_HWND), then get window class GetClassName and see if it's an IE ("IEFrame").
Edward.
m_spSHWinds.CreateInstance(__uuidof(SHDocVw::ShellWindows));
}
|
|
|
|
|
I have testet this with the result if a call my function to receive the dispatch pointer from a VB Applikation it's work fine.
But if I call the dll from an asp site via IIS I get an error
class not registered at
m_spSHWinds.CreateInstance(__uuidof(SHDocVw::ShellWindows));
Greetings from Bali
|
|
|
|
|
Hello All
I have got a dialog based application in which I have placed a TabControl and then OnInitDialog I have addedd the Dialogs like
// Craete the modless dialogs for each tab page
m_pConfigDlg = new CAscSettingsDlg(&m_tabMain);
m_pTrustAnchorDlg = new CAscTrustAnchorDlg(&m_tabMain);
and then
if(m_tabMain.GetItem(TABPAGE_CONFIGURE_ARP, &tcItem))
{
tcItem.lParam = (LPARAM) m_pConfigDlg;
m_tabMain.SetItem(TABPAGE_CONFIGURE_ARP, &tcItem);
}
things work fine all the time application runs fine but when I press on the Dialog on some control like edit box and press "Enter" all the Controls on a tab disappear and then I change the tab and get back and every controls come back ,
best regards
Muhammad Aftab Alam
|
|
|
|
|
well, by default, the "enter" will call OnOk, which will close the dialog.
you need to override OnOk ( or something like that ).
Maximilien Lincourt
Your Head A Splode - Strong Bad
|
|
|
|