|
I started using the tutorials of msdn, are very good....
Best Regards.
Carlos Antollini.
Tomorrow is Friday!!!
|
|
|
|
|
Hello all,
When walking through the stack (in my Unhandled Exception Handler) using StackWalk from dbghelp/imagehlp library, this function also provides me the parameters (max. 4) of the function called.
Now...
Where/how do they get that parameter info? Because I want to make a kind of raw-stack-dump, like provided in DrWatson logs. I need the address pointing to the frame containing the stack contents like (possible) parameters.
When doing the 'classic' way of stackwalking (using EBP-register as starting point=frame), than you will find:
- Return address (at offset 0, is previous function call)
- Program Counter (at offset 8)
- Possible parameters passed with function (at offset 16+)
But... when you use optimized code, above doesn't work most the time and MSDN suggests using the DBGHELP stuff. Also the other articles in MSDN are not diving into the raw-stack usage.
Above is quite complex material, and even MSDN (including technical articals) are not going that deep (except for using the classical way).
Thanks in advanced,
EiSl
|
|
|
|
|
I looking for a sample source code for simple transmit/recieve audio/video in c++.
I currently using the JMF but i want to have "Control".
Does somehting like this exist?Where can i find Source and documantion and samples.
Hope to have an answer.
Yoav:
yoav adler
yoav adler
|
|
|
|
|
You do, of course, realize that spamming three different discussion boards with the same question will probably only get your inquiry ignored, rather than answered?
--
Paul
"I drank... WHAT?"
|
|
|
|
|
Well that was not my intention.
I feel frustrasted.I looking for that long time and it very
urgent.
If you do have any information.please write mr back.
yoav
yoav
|
|
|
|
|
|
VB source code video conferencing demo with component:
http://www.banasoft.net/DownLoad/AVPhone.zip
|
|
|
|
|
When I Click the MSDN shortcut icon in my desktop,the MSDN' main Window should dispaly.But some hours ago when i do it,there is no change on the screen and When I active the task manager i found a process (hh.exe) take the CPU's time larger 95%.then my system is slowly.....
where is the problem?
My OS is win2000 Server (SP2).
The MSDN shortcut's target is :
C:\WINNT\hh.exe d:\Program Files\Microsoft Visual Studio\MSDN\2000JUL\1033\MSDN020.COL
|
|
|
|
|
hh.exe is the HTML Help Executable.
MSDN docs are in HTML Help format.
Guess you could try killing this hh.exe instance and try to run it again.
If that fails too, you might have to re-start your machine!
Nish
|
|
|
|
|
I try it and reboot my machine.but no effect...
|
|
|
|
|
Not sure if this will be of any help.
But try if you can find any upgrade or patch for HTML Help from the MS download site.
Perhaps upgrading your HTML help might be of help.
You might also try installing VS 6 SP5
|
|
|
|
|
I had a similar problem some time ago. I had to download HTML Help and the Windows Scriptinghost from MS and reinstall them.
After that MSDN worked fine.
- Anders
Money talks, but all mine ever says is "Goodbye!"
|
|
|
|
|
As title,thank u.
|
|
|
|
|
override the IHTMLElement2::oncontextmenu event handler for the body element which can be retrieved from the IHTMLDocument2::get_body.
Cheers,
-Erik
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
My thoughts are my own and reflect on no other.
|
|
|
|
|
- In MSDN, it is said "TRACE0 does nothing if you have compiled a release version of your application. As with TRACE, it only dumps data to afxDump if you have compiled a debug version of your application."
- What means "dump data" here?
- Can you show me an example?
- Regards,
Maer
|
|
|
|
|
dump n.
1. An undigested and voluminous mass of information about a problem or the state of a system, especially one routed to the slowest available output device (compare core dump), and most especially one consisting of hex or octal runes describing the byte-by-byte state of memory, mass storage, or some file. In elder days, debugging was generally done by `groveling over' a dump (see grovel); increasing use of high-level languages and interactive debuggers has made such tedium uncommon, and the term `dump' now has a faintly archaic flavor. 2. A backup. This usage is typical only at large timesharing installations. From The Jargon Lexicon
|
|
|
|
|
- Thanks markkuk pal!
- I still have a question. In your reply, you mentioned "especially one routed to the slowest available output device (compare core dump)". But in MSDN it is said "dumps data to afxDump". I think the meaning of " dump" in MSDN and in your reply are different.
- Is that so? Can you show me what is the meaning of "dump" in MSDN?
- Regards,
Maer
|
|
|
|
|
- In MSDN, it is said "exp: A format string as used in the run-time function printf" (Ti: TRACE0)
- What means "run-time function" here?
- Can you show me an example?
- Regards,
Maer
|
|
|
|
|
MSDN is referring to the CRT Library [common language run time library]
All those calls you get with your C compiler that arent part of the API or MFC or some other class library are CRT functions
examples are strcpy, printf, _beginthreadex etc.
Nish
p.s. if you want to port your code to linux, it would be a smart idea to use CRT functions
|
|
|
|
|
- Thanks, Nish pal!
- I still have a question, what is the difference between CRT function and normal function? How can I know a function is a CRT function?
- Can you show me an example?
- Regards,
Maer
|
|
|
|
|
Well CRT functions will need their corresponding header file to be included.
Like if you want to use strcmp, you'll need to include string.h and your prog will need to link with MSVCRT.LIB or with one of the LIBC*.LIB libraries
These functions are part of the C/C++ language.
All those API calls like MessageBox are not part of the C language. They are specific to the Windows OS and thus those calls are provided by Microsoft.
There is a lot of overlapping
For example you can use CreateThread to create a thread [in this case you are using the Win API] or you can use _beginthreadex [CRT call]
People who used to code on Linux/DOS have a tough time moving from using CRT functions
I know lots of guys who use sprintf to format a string even when they can use CString::Format
Nish
|
|
|
|
|
- Thanks Nish pal!
- I think you are a specialist of the topic. I still have some questions.
- What is the predominance of CRT? (versus API)
- How to know whether a function is a CRT function?
- Hope you can help me.
- Have a nice weekend,
Maer
|
|
|
|
|
- What is the predominance of CRT? (versus API)
Actually unless you want to port your code to a non-Win32 platform, it doesn't matter much I guess.
- How to know whether a function is a CRT function?
Look up the function in MSDN. If you see it marked as ANSI compatible, it must be a CRT function
|
|
|
|
|
- Thanks pal!
- I still have a question. I do not understand why Microsoft use the word "run-time" here? I think it is just a library that can run on non-Win32 platform. Does it has something to do with the "complile-time" or "Dlls"?
- Can you help?
- Regards,
Maer
|
|
|
|
|
Hi,
I want to implement a simple text editor with custom functionality. i want to be able to highlight muliple words, and i'm stuck for how to do this. I need to be able to set the background color of the control, but only behind particular characters of my choosing.
Can this be done with CEdit? can it be done with CRichEdit* ? if not, then how can i implement this?
thanks for your pointers
Jon
Sorry to dissapoint you all with my lack of a witty or poignant signature.
|
|
|
|