|
|
I want to set a breakpoint and debug one thread without other threads being stopped? in Microsoft Visual Studio 6.0.
|
|
|
|
|
reza matinnejad wrote: I want to set a breakpoint and debug one thread without other threads being stopped? in Microsoft Visual Studio 6.0.
Why are you asking this question again and again. Michael already answered you and if others are to answer they will answer in the same thread.
Don't create a new thread for every reply.
Run before tox sees you.
|
|
|
|
|
Nibu babu thomas wrote: Run before tox sees you.
|
|
|
|
|
I just asked the question twice. I am a beginner at this forum and you would better have a good manner twards beginners. However i am sorry to bother you.
|
|
|
|
|
reza matinnejad wrote: I am a beginner at this forum
Being a beginner here, perhaps you should read the information for newbies[^] before posting.
reza matinnejad wrote: I just asked the question twice.
I count three
|
|
|
|
|
Nibu babu thomas wrote: Run before tox sees you
|
|
|
|
|
Nibu babu thomas wrote: Run before tox sees you
moreover, i already answered this guy in one of his previous questions...
|
|
|
|
|
Hi to All,
Could any one help me, how to create sample dialog plug-in for compatible with all video players(i.e, windows media player, real player, quick time,etc.,) using visual c++? that is implemented sample dialog plug-in is plug in all video players. What should I do? so urgent according to my project.
please help me,
advance thanks,
with regards
Ramana
A.venkata ramana
|
|
|
|
|
I think you asked did you see my link
|
|
|
|
|
I saw that link, but that link is create sample dialog plug-in for only windows media player, it's not support remaining video players(i.e, real player ,quicktime etc.,)
so I need create common sample dialog plug-in for all video players(i.e. real player and windows media player,quicktime etc.,)
thanks for your reply
A.Venkata Ramana
|
|
|
|
|
Hi all,
I need to display a status(by displaying an image) in the first column of the list control.
I am attaching an image list with the list control.
It always shows the attached image in the first column. But i want only some of the rows should have the image display.
How can i achieve this.
Thanks in advance.
Selva
|
|
|
|
|
Hi
all
I want to convert my existing application in VC++6.0 to internationalize for multiple language, so is it better to open my application in VC++.Net for internationalization and use functionality of VC++.Net OR to do it in VC++6.0 for I18N.
Thanks
Atool
Atool
|
|
|
|
|
You can do this in VC6. To add multiple languages all you need to do as add them to the resource files and configure the application to load the correct one.
|
|
|
|
|
|
I use Microsoft Visual Studio 6.0 and i want to debug a program without ther threads being stopped. toxcct did answer me yesterday,but I can not find the setting in VS 6.
|
|
|
|
|
Run the program under the debugger using F5. The program will run until a thread hits a breakpoint or causes an exception.
|
|
|
|
|
but i don't want other threads of my prgoram to be stopped! I use microsoft visual studio 6.
|
|
|
|
|
I want to set a breakpoint and debug one thread without other threads being stopped?
|
|
|
|
|
AFAIK this is not possible. Threads usually send and share information between each other. If one thread has been stopped, it could very well cause the other thread to crash.
Perhaps you should consider using processes rather than threads.
|
|
|
|
|
I am using a DLL in my program which checks a hardware periodically. When i am debugging my application,DLL reset the state of the hardware because of the pause time. Then i want DLL threads to run normally as i am debugging other threads!
|
|
|
|
|
Like I suggested in my last post, use processes not threads.
Create a process which loads your dll and does all the hardware monitoring. Create another process which handles events. When something happens with the hardware, use "inter process communication" to notify your other process.
|
|
|
|
|
Hi,
I am working in text file application.In that application, to opening the file in read only mode like
fstream lpFile;
lpFile.open ( "sample.txt", ios::in );
then i read the file using this file pointer and some times , i move the pointer back to 1 position from current position using seekg ( -1, ios::cur ).
Text file size : 15 KB
Problem:
I couldn't move the file pointer to back using seekg function ( in some case only).I tried to clear the error flag if any before the seekg function. but no result.The problem still continue...
lpFile.clear ( );
lpFile.seekg ( -1, ios::cur );
Sample Text File:
[General]
To read the file information
like name,address,mobile number
[Address1]
Name=vichu
Address=India
Mobile=+919994445550
[Address2]
...
[Addressn]
Name=vishva
Address=chennai
mobile=100
****end of file-----
this is raw text file.
program code:
char chData;
lpFile.get ( chData );
while ( chData != '[' )
{
...
...
}
lpfile.clear ( );
lpFile.seekg ( -1, ios::cur );
Again start the above loop from '[' character.
The seekg function not work sometimes. How can i solve the probelm?
Is there any tool available to find the special character or unknown character in text file?
Thanks & Regards,
-- modified at 2:19 Thursday 15th February, 2007
Vichu
|
|
|
|
|
Just a thought: I think (but haven't verified it), that a file has to be opened in binary mode for seek:s (and tell) to work properly.
Maybe that's your problem?
Alcohol. The cause of, and the solution to, all of life's problems - Homer Simpson
|
|
|
|
|
Hi Kakan,
I am using text mode only.The text file contains upto 50 lines.During the process, the seekg function is not working at some times only.Most of the time, the file pointer seek to previous position successfully. I don't known the exact reason for this seek function behavior.
Is any other way to correct this problem?
Vichu
|
|
|
|