|
The latest platform SDK. Inceidently, I tried downloading it yesterday ( more than 1GB ) but it would only allow me to download 26mb
|
|
|
|
|
I am considering installing Vista soon,
However, I have mislayed my MSDN DVD for Visual Studio 6 (I had the July 2001 disk).
Is this available to download from Microsoft?
I believe the October 2001 version is the last to be compatible with VS6...
(I know that the May 2006 Edition was made free to download according to some websites, although I have been unable to find a link to it so far).
Thanks...
|
|
|
|
|
Wouldn't it be better to upgrade your 10 year old compiler?
|
|
|
|
|
Yes, and preferable...
Unfortunatly, purchasing VS2005 is not an option at the moment.
|
|
|
|
|
If you still have an MSDN sub, the Oct 2001 is still available for download from the subscriber area.
|
|
|
|
|
|
hi,
my Problem is, that i need some Sourcecode to Hide my IP and other Informationens that are provided from my PC to the Internet. For example there are lots of websites which can show my Internet IP Adress, Operating System, referer, language and so on.
How can i broadcast customized information to stay anonmyos!
I need some Sourcecode to change my Internet IP-Address to a public Proxy-Address that i choosed.
So how does Programs like "Hide my IP" and so on Work!!
THX
|
|
|
|
|
i have found the following things but how can i debug it. let me know so i can go through the heap and stack and find the solution.
The message::
debug asserion failed !
program :\... x.exe
file:dbgdel.cpp
line:52
expressionBLOCK_TYPE_SIVALID(phead->nBlockUse)
when i close it the control goes the following file.
file:dbgdel.cpp
i have note the following things from their.
dbgheap.c
/*
* Go through the heap regions and see if the pointer lies within one
* of the regions of the local heap.
*
* Pointers from non-local heaps cannot be handled. For example, a
* non-local pointer may come from a DLL that has the CRT linked-in.
*
*/
what does it mean????
Amit
|
|
|
|
|
It means that you are trying to free an invalid pointer (i.e. an attempt to double-free something, or trying to free a garbage pointer), or that you have overwritten memory at some point by walking off the valid range of memory a particular pointer points to.
Peace!
-=- James Please rate this message - let me know if I helped or not!<HR> If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! See DeleteFXPFiles
|
|
|
|
|
You're simply trying to deallocate memory that you haven't allocated or isn't yours.
It could be a dangling pointer or something you've already deallocated.
Have a look at your call stack and follow it down to your own code where you presumably are calling delete on a pointer. Find out where this pointer gets its memory allocated, if anywhere.
A good thing is to assign NULL to pointers that you free up. That way you prevent at least one of the causes of the mentioned error to occur.
"It's supposed to be hard, otherwise anybody could do it!" - selfquote
|
|
|
|
|
Have a look at your call stack and follow it down to your own code where you presumably are calling delete on a pointer. Find out where this pointer gets its memory allocated, if anywhere.
how can i look the call stack can you explain me in depth ? how should i operate it?
Amit
|
|
|
|
|
amitmistry_petlad wrote:
when i close it the control goes the following file.
file:dbgdel.cpp
At this point your application has stopped its execution. Either the call stack window is visible or you can open it via the menu. In which menu you'll find it depends on which VS version you have.
In the call stack you'll see the call chain of the thread where the error occured. At the top of the call stack you'll find code in dbgdel.cpp according to your description above. Scroll down and you should see your own code, double click on a row that looks like your code and you'll be put at the statement in code where the call was made.
"It's supposed to be hard, otherwise anybody could do it!" - selfquote
|
|
|
|
|
open your debugger ; it's all there
|
|
|
|
|
You should learn to use your debugger, it is a really powerfull tool. To start it: press F5. You can then set breakpoints in your code by pressing F9 (this will set a breakpoint on the line which has the 'focus'). Once your code has crashed, you can open the call stack (it depends of which IDE you are using but it should be in the debug menu -> windows. You'll have to search a little bit for it).
|
|
|
|
|
amitmistry_petlad wrote: how can i look the call stack...
Ctrl+K.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
How to calculate the no.of characters entered in an edit box?
(i.e)As and when I entered one character, a method should return 1. Likewise,
a method has to return the no.of characters dynamically
|
|
|
|
|
T.RATHA KRISHNAN wrote: to calculate the no.of characters entered in an edit box?
See GetWindowTextLength()
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Do you have any variable for the edit box in question, e.g a control variable of CEditBox type or a CString ?
T.RATHA KRISHNAN wrote: Likewise,
a method has to return the no.of characters dynamically
What does "dynamically" mean? Each time the contents of the edit box are changed?
"It's supposed to be hard, otherwise anybody could do it!" - selfquote
|
|
|
|
|
T.RATHA KRISHNAN wrote: a method has to return the no.of characters dynamically
Can you explain about it
|
|
|
|
|
if using MFC appwizard
make a control variable for the edit control using the class wizard in the member variables tab
again, in class wizard, but this time in message maps tab, find the object ID (IDC_EDIT etc) used for your control in the object ID list, and on the right, click the "EN_CHANGE" message, then click "Add function" it will probably default name it to xxxOnChange()
find this xxxOnChange() function in your dialog code, and then count the characters in the edit box using GetWindowTextLength()
|
|
|
|
|
Hi Im writing an Addin for MS Outlook 2003 on VC++ .Net 2005. Actually I want acquire the handle of every new in coming Message/Mail from Exchange
server to MS Outlook Mail box. For that I am using Project type as New/Project/Other Project Types/Extensibity/Shared Add-in with ATL and
COM support. Until what i know is that every message contains it unique ID which is received from the Exchange Server. I want to get the message
pointer and using that I want to get the Message ID either in the Queue or Vector and then perform some specific task related to it.
So please can anyone tell what i can do for solveing this problem?.
Cheers
Ganesh
Ganesh Paul SPIAN
|
|
|
|
|
Hi, all
In the program given below i am supposed to read a file irrespective of the size of the buffer.
->i am not able to implement the reading of the file character by character
and then mention the EOF.
->how am i supposed to dot that??? what are the necessary changes required?
void CReadDlg::OnRead()
{
char szFilters[]="MyType Files (*.txt)|*.txt|All Files (*.*)|*.*||";
CFileDialog fileDlg (true,"txt", "*.txt",OFN_FILEMUSTEXIST| OFN_HIDEREADONLY, szFilters, this);
fileDlg.DoModal();
// TODO: Add your control notification handler code here
UpdateData( TRUE );
HANDLE hFile;
DWORD dwBufSize=BUFSIZE;
BOOL bRet;
DWORD dwBytesRead;
char buffer[BUFSIZE] = {0};
hFile = CreateFile(fileDlg.GetPathName(),
GENERIC_READ,
FILE_SHARE_READ,
NULL,
OPEN_EXISTING,
FILE_ATTRIBUTE_NORMAL,
NULL);
bRet = ReadFile(hFile,
buffer,
BUFSIZE,
&dwBytesRead,
NULL);
/* while (!_eof(int fd))
{
buffer = */
m_ed = fileDlg.GetPathName();
m_text_ctrl.SetWindowText(buffer);
m_text_str = buffer;
UpdateData(false);
}
siddam
|
|
|
|
|
Check the return value from ReadFile() and the value of dwBytesRead to determine when EOF has been reached. GetLastError() may also return ERROR_HANDLE_EOF .
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Hi
Does anyone know the commands to execute CreateProcess, so that the command window is hidden
im currently running
if(CreateProcess(sPath,lpszBuf, 0,0,FALSE,CREATE_DEFAULT_ERROR_MODE, 0,0, &siStartupInfo,&piProcessInfo) == FALSE)
thanks
simon
|
|
|
|
|
Doens't initialing STARTUPINFO-->wShowWindow with SW_HIDE helps you ?
|
|
|
|