|
Need to check pointer values basically.
Use call stack to determine source of crash.
|
|
|
|
|
it is in the watch ? or some where else .i am using visual stdio 2005.
and
second question how can i pass array of object as pass by reference in function.
give the example for secification for called fucntion, and calling function.
suppose i have once class X;
class X {
string l;
string y;
.
.
.
public foo(X& y[]) //is it ok ? or what should I write?
{
}
};
int main()
{
X x[25];
foo(x);
return 0;
}
|
|
|
|
|
You could be writing to a invalid memory location. This is one of the reasons why an application crashes most of the time. it's hard to tell without having a look at the source code.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Basic reason - developer error. Either the developer writing the application, or the developer writing the libraries used.
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
|
|
|
|
|
In additional with members a null handle,pointers,and for example open a file that isnt exist and...
|
|
|
|
|
amitmistry_petlad wrote: what are the basic reasons to crash the application?
See this[^] article.
/ravi
|
|
|
|
|
Hey
I want to implement a server to open
two(or more) sockets and to talk simultaneousley with two(more) clients on these sockets ? do you know any links with such. Please help me out.
Thank you in advance.
CraZyToLearn
|
|
|
|
|
CSocketComm[^]. This wrapper class provides the abilty to open more than one socket on the server side that multiple clients can connect to. Number of sockets is #define MAX_SOCKETS
Regards,
Dustin
|
|
|
|
|
We normally deploy debug builds alongside our release builds, for remote debugging if the user finds something wrong. However, with 2005 debug builds we get the error message:
This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.
From my research, it seems to suggest that the debug runtimes aren't being set up right (we've copied them into the system path), and/or manifests aren't present. Can anyone give me any better pointers?
|
|
|
|
|
benjymous wrote: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.
Join the club. Microsoft's attempt to fix DLL by using SxS seems to have only compounded problems for developers.
These articles saved my bacon:Good luck!
/ravi
|
|
|
|
|
HI,
I want convert my VC++ Project into VC++.Net Project. Plz Reply
Sethuraman.K - Bangalore - INDIA
|
|
|
|
|
Simply open .dsp in VS.net , IDE will take care of rest.
You might encounter some warning about deprected function on build.
|
|
|
|
|
And you get a report of convert
|
|
|
|
|
Hi all
Can anyone suggest me a good books on "Win32 (or MFC) Multithreading" and books which explain us software design patterns in OOPS ?
thanks...
redindian
|
|
|
|
|
hi, I am beginner in direct show
and I would like to write simple capture and saving file aplication.
As a sample i use "Video Capture Example Code" from MSDN
It works fine but I get stuck to figure out how to change video size.
Can someone help me how to set width and high of recording video?
I am also looking for SDK sample AmCap
MSDN says (SDK root)\Samples\Multimedia\DirectShow\Capture\AMCap
but is not there.
Does anyone know link to download this sample
Thank you
Viliam
viliam
|
|
|
|
|
Are you using DirectX8 or DirectX9? If you are using DirectX9 the samples for DirectShow are now in the platform SDK. I don't remember for sure, but you may also have to download DirectX8 SDK Extras from MSDN to get all of the DirectShow samples.
Regards,
Dustin
|
|
|
|
|
Samples are included in the Platform SDK
|
|
|
|
|
hi
How to save the notepad file without opening it.
can we do it using ShellExecute because I don't see any possibility using this
?
Is there any other way to do this ?
Thanks,
Prakash
sonani prakash
|
|
|
|
|
Sonani Prakash wrote: How to save the notepad file without opening it.
Uuh, what is "the notepad file" ? You mean, a simple txt file ? Please explain your question in a clearer way.
|
|
|
|
|
Hi,
I need some way to save the file any without opening it.
so that I can change it's modification date.
that's the purpose of saving the .txt file
sonani prakash
|
|
|
|
|
why dont you use SetFileTime() function?
nave
|
|
|
|
|
If all you need to do is update the modification time, look into finding a Windows version of the touch utility. Should be rather easy to find, and really easy to write - look up the SetFileTime(...) function.
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
|
|
|
|
|
let me try this one
thanks
Prakash.
sonani prakash
|
|
|
|
|
Sonani Prakash wrote: How to save the notepad file without opening it.
If the file has not been opened, it therefore has not been changed, thus no save is necessary. Please elaborate.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
But do you have any idea for it?
|
|
|
|