|
Shiv Murti Pal wrote: now i am able to see data in buffer untill the 0x00 comes in data
How are you verifying this?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
Put the address of buffer in a memory window while debugging.
Debug -> Windows -> Memory -> Memory 1.
Check whether you are able to see all the data now.
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
Its official, I need to get away from the computer! I recognize this sequence of bytes:
FF D8 FF E1 11 B4 45 78 69 66 00 00 49 49 2A 00
Thats a JPEG header! The FF D8 FF E1 gave it away.
But unfortunately I don't understand what you are trying to do. What do you mean footer?
If you are trying to find the end of the JPEG file I think that you can just read until you find the EOI (End of Image) marker which are the bytes FFD9 but make sure that you reach each marker defined in the specification sequentially firsthand.
JPEG Header Information[^]
I think you need to ask a better question... Maybe I just gave you an answer that your not looking for.
Best Wishes,
-David Delaune
|
|
|
|
|
how to find end of jpeg file, and how to read until i find the End of Image marker that is FF D9.
plese tell me
|
|
|
|
|
Hello,
I would like to ask, how can I implement the CRichEditView with CRichEditDoc in my SDI application with multiple views. All the view are connected to the document class. Adding CRichEditView is not a problem, but I am not able to create CRichEditDoc a connect it to the view. I thought I can create a CRichEditDoc class member in my document, and when creating the view change the CCreateContext document pointer to that class member. The problem is, that CRichEditDoc is a abstract class, so I don't know hhow to make it work.
Thank you for your advise, Tomas
|
|
|
|
|
I display 5 CWebBrowser2 on one dialog.
They are all shown only if I didn't Navigate() pages to them.
but when I set links to them, only first one is visible and web page is displayed properly, last 4 are invisible.
I try to use ShowWindow() to show last 4, but exceptions are thrown.
why?
|
|
|
|
|
Debugging may be the key to your problem. Try it out!
You need to google first, if you have "It's urgent please" mentioned in your question.
_AnShUmAn_
|
|
|
|
|
right, problem is ShowWindow(SW_HIDE), CWebBrowser2 may not be allowed to hide? and CWebBrowser2::SetVisible() is not working.
|
|
|
|
|
Hi
I am not using "CScrollView." I wrote a special function to handle Horizontal scroll bar like following:
CMyView::OnHScroll(scrollCode, thumbPos, hwnd)
{
if( ... )
{
......
Invalidate();
}
}
But this method causes four times entries to "OnPaint". How can I improve this?
Thank you very much,
|
|
|
|
|
do not use Invalidate() or RedrawWindow() in OnHScroll() or OnVScroll().
Use ScrollWindow() instead, this is base tech on the 2 message handles.
|
|
|
|
|
But screen gets messed up. Do I do some other special handling?
Thanks.
|
|
|
|
|
Try InvalidateRect (RECT, BOOL), where the RECT bounds just the region that needs to be updated.
|
|
|
|
|
Hide EXE from Process of Task Manager using C++
|
|
|
|
|
|
Go away.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Doesn't the question sound similar to "How can I write a VIRUS"?
or are you still so innocent/ignorant....
You need to google first, if you have "It's urgent please" mentioned in your question.
_AnShUmAn_
|
|
|
|
|
Why do you want to do this?
What is it that you are trying to achieve?
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
how to create a application without showing .exe in taskbar in C++..
|
|
|
|
|
Do you mean a windowless application, or one that has a window but it is not shown on the taskbar? Do you mean a service maybe? Give a bit more detail about what you want to do.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Life: great graphics, but the gameplay sux. <
|
|
|
|
|
any one ..but with out using MFC... but it is not shown on the taskbar like ....one.exe......
|
|
|
|
|
What kind of application are you developing and why should it not be listed in the task manager?
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
it's not task manager! it's task bar....
You need to google first, if you have "It's urgent please" mentioned in your question.
_AnShUmAn_
|
|
|
|
|
I noticed he mentioned "task bar". But I'm assuming that he intended to say task manager, because the query was "How to create ... without showing .EXE" and not "... without showing a window in my taskbar".
Again, that's an assumption. Let the OP defend for himself and we'll know what he's trying to achieve.
[added] My guess was right. He just posted another query asking how to hide his crapware from being displayed in the task manager. [/added]
It is a crappy thing, but it's life -^ Carlo Pallini
modified on Wednesday, June 10, 2009 8:13 AM
|
|
|
|
|
How To Hide A Window in TaskBar[^] and you will find a lot more articles on this topic, only if you are interested in searching
You need to google first, if you have "It's urgent please" mentioned in your question.
_AnShUmAn_
|
|
|
|
|
I wrote an application where 2d vector contains pixel values in form of 0's and 1's.now i want to save this vector into 3d vectors in same way i want to store no. of 2d vectors into 3d vector so anyone knows this plz help me
|
|
|
|