|
In my exception handler set by ::SetUnhandledExceptionFilter I report to server that app has crushed. I have to report only once. On XP everything works fine(after unhandled exception app terminates), but on Vista my application doesn't terminate after crash.
Does anybody know what's the reason?
Here the code
......
::SetUnhandledExceptionFilter( &unhandledExceptionFilter );
........
long __stdcall unhandledExceptionFilter(EXCEPTION_POINTERS* exception_pointers) {
min_crashed();
return EXCEPTION_EXECUTE_HANDLER;
}
|
|
|
|
|
LOOOOOOOOOOOOL
Do you think anyone tells you in a public board how to crack ( steal ) a software ...
that's illegal, a crime ...
So it's better if you delete this topic
|
|
|
|
|
Any time I need to crack something, I use a hammer
This episode brought to you by the number 5
|
|
|
|
|
|
Dear all
when i biult my solution in VC++ 2005, computer showed me package loaded fail. what happened? thanks a lot.
Li Zhiyuan
6/07/2007
|
|
|
|
|
Whats the exact error message?
Regards
|
|
|
|
|
installation is smooth. afterwards, i built a solution and windows form application. i didn't do other case, then i built this solution, then computer showed me package loaded fail.
the issue is below:
>Compiling managed resources...
1>Unhandled Exception:
1> Cannot print exception string because Exception.ToString() failed.
1>Project : error PRJ0002 : Error result -532459699 returned from 'C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\bin\resgen.exe'.
1>Build log was saved at "file://c:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\Projects\ZhiYuan\ZhiYuan1\Debug\BuildLog.htm"
1>ZhiYuan1 - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped
regards
Li Zhiyuan
5/10/2006
|
|
|
|
|
ouf
I even don't find good informations at Google
|
|
|
|
|
Hai All,
In my project I want to load two diffrent type of bitmaps in the same controll.But my problem lies in while resizing.The controll is resizing according to the winodow and the image over it is also resizing using StrechBlt().
Now if I'm trying to load the second image of the same size of the orginal image into the streached control using LoadBitmap function,and after Invalidate() soon after that my resized contorol is going back to the intial size ,ie,a size that is less than the streached control size.
What I need is the size of the control and the image should presist the resized size of the control .
Also because of the continous redrawing of window I'm getting screen flickering.Please tell me a way to minimise the flickering effect or a way to overcome it.
Thanks In advance
Robs here
|
|
|
|
|
What type of control?
To prevent flicker, maybe look into NOT drawing the background behind the bitmap(s).
Mark
This episode brought to you by the number 5
|
|
|
|
|
int *buffer=new int[2000];
would it be so that memory of 2000 integers has been allocated and reserved?
or it is an array of 2000 integers type pointers.
if we want to dynamically allocate some memory i.e we dont know the array's size at compile time, and user decides to set a size at run time, what statement i should use???
|
|
|
|
|
MahaKh wrote: int *buffer=new int[2000];
A memory of 2000 integers has been allocated and reserved and the address of the array is stored in buffer.
MahaKh wrote: f we want to dynamically allocate some memory i.e we dont know the array's size at compile time
See Here[^]. You will get some idea on how to proceed.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Hi All,
I am working on a porting project.
I am unable to find oci.h file which my code looks for,
in my oracle client installation.
I searched for it everywhere.
How can i solve this problem?
vishu
Bangalore
|
|
|
|
|
|
does anyone know where the location of CDockState::SaveState(xxx) is in register key?
|
|
|
|
|
CWinApp::SetRegistryKey() determines where it goes.
Under that key will be an appname key.
Under that key will be keys specified in the lpszProfileName parameter of SaveState().
You can always step into the MFC code in the debugger and see the actual key strings.
Mark
This episode brought to you by the number 5
|
|
|
|
|
dear all
my prob:
how can i pass data in a file after reading the file in C.i want to encrypt data of this file after reading the file.i know i cn use f commands to read data but want to pass the data later in second part of my program.
sorry for any mystype..am typing with 1 eye.
\
plz advice
thanks
|
|
|
|
|
Please be more specific, write what you was able to do so far and what you're not able to accomplish.
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.
|
|
|
|
|
Hello
Thx for replying
My prob is that i have a file in notepad.I want to call that file in C.That i Know!But my prob is that i hv to use the data in this file for encryption.In fact i want to call a file so as to pass more data.I can read the data in the file but i want to use this data later in my program:i want to know th data_length.But here ion the code i have specified the num of char.But say i dont want to specify.I want my program to count the num of char in my file.Then i want it to encrypt the data.How can i pass those data.How can i store in it in an array.I cn printf the data..but i want to use the data.How can i use that.
FILE *fp;<br />
int noc;<br />
char test[80];<br />
<br />
char ch;<br />
fp = fopen("/TC/MODPROJ/PR1.TXT","r");<br />
<br />
while (1)<br />
{<br />
ch=fgetc(fp);<br />
if (ch==EOF)<br />
break;<br />
noc++;<br />
I am trying to encrypt using a key.The program is working fine when the data is within the code.But i want to call a file.
Please advice
Thanks
NB
|
|
|
|
|
I'm able to understand only a bit of what you wrote. I guess that you need to:
(1) open a text file
(2) Read the file content into a buffer
(3) Encrypt buffer content
(4) (Perhaps) Write the encrypted data to a new file
Now, waht are the steps you're able to do and, on the other hand, what are the problems you're unable to deal with?
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.
|
|
|
|
|
Your code snippet likely doesn't work because: 1) you are not initializing noc , and 2) you are doing nothing with ch . Try:
noc = 0;
while (1)
{
ch = fgetc(fp);
if (EOF == ch)
break;
test[noc] = ch;
noc++
} Make sense?
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Where exactly do we use function-style casts?
|
|
|
|
|
Regards,
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.
|
|
|
|
|
Or writing a book?
This episode brought to you by the number 5
|
|
|
|
|
Would you like to be a chief editor
|
|
|
|