Type: Posts; User: martenbengtsson
Search took 0.01 seconds.
March 5th, 2004, 04:22 PM
Thanks for helping me out here.
In the call stack I see
CSerComm::CreateThread() line 78 + 28 bytes
CGsdoc_b1Doc::StartThread() line 609
CGsdoc_b1App::InitInstance() line 156...
March 5th, 2004, 03:28 PM
The dialog box that pops up saya that I don't handle the exception and that it is an
I don't know how to look at the call stack.
March 5th, 2004, 01:36 PM
March 5th, 2004, 01:24 PM
By the way ThreadFunc is declared
March 5th, 2004, 01:19 PM
InInitInstance I send a message to send a message to ManFrame
but ManFrame never get the message. It looks like this,
AfxGetMainWnd()->SendMessage(UM_CREATE_THREAD, 0, 0);
In MainFrame.h I...
March 5th, 2004, 12:57 AM
Ok here comes the the thread controlling function. After that the StartThread function.
//Thread controlling function implementation
//Seriall communication read/write is done in this function...
March 4th, 2004, 02:27 PM
The Document in my SDI application owns an object that takes care of some seriall communication the class is called CSerComm.
In Document .h file
Since the worker thread...
March 3rd, 2004, 01:49 PM
In my SDI application I have three views connected ton one Document. The views are divided by splitters. On start up and when clicking new in the file menu a dialog pops up. This dialog wants the...
February 19th, 2004, 01:57 PM
My application is a SDI with three splitter windows. I want to print one of the windows which contains a graph (Brian Convery's X-Y line graph). A CDC pointer pDC is passed to a function called...
February 13th, 2004, 10:37 AM
In my application I will only have one document. The document will be created the first time the application is started and should never be taken away. So it was wrong of me to talk in more generall...
February 13th, 2004, 09:58 AM
I am starting to see the end of my project now. Apart from the testing that needs to be done I have to go through the code to check that all memory that is allocated is also released. Is...
February 9th, 2004, 02:06 PM
n is not a global variable.
I did'nt think of the possibility that I was looking at the wrong "n" in the watch. I still think it's strange that another n is incrementing while stepping through code....
February 9th, 2004, 12:57 PM
Yesterday I had a very strange behaviour when debugging my code.
I used an index variable,
When debugging this index variable was incremented by two severeal times though it...
February 9th, 2004, 12:47 PM
My big misstace was that I did'nt let Visual Studio create a ScrollView class. I tried to do it myself but I must have missed something in the OnScroll handling.
Next time I let the tool do the...
February 3rd, 2004, 02:26 PM
Did you get it to move. How did you do it. I'm having the same problem. Could you help me?
February 3rd, 2004, 01:32 AM
I have seen this topic in an other thread left with no answer. Is'nt there anyone with an idea. Please....
February 1st, 2004, 07:56 AM
I have added a scroll bar to one of the splitter windows in my application. I see the scroll bar but it wount move.
Here is the initialisation
January 4th, 2004, 06:52 AM
The thread is created in the InitInstance function. Since the com port value used in the thread comes from the Document the thread should not be started before all the Serialisation of the Document....
January 3rd, 2004, 02:39 PM
It seems to work when using constant variables. Thanks guys.
January 3rd, 2004, 02:27 PM
How do I pass the number in directely? With a global variable? I have never used that before.
January 3rd, 2004, 12:05 PM
My application contains RS232 communication. The user should be able to pick which Com port to use. The seriall interface is controlled by a separate thread. When the user pick a Com port from the...
December 27th, 2003, 10:30 AM
In my application the program writes to a device through RS232 and then waits for an answer. If a correct answer has not arrived after 5 seconds the application should do a new write. Non overlapped...
December 27th, 2003, 06:26 AM
December 26th, 2003, 12:31 PM
In my program files are written to the ...\<project name>\Debug directory. The files should be displayed in a list to let the user pick a file in the list. It works fine when I run the program by...
December 9th, 2003, 01:15 PM
I try to do it this way.
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.