|
serial port WriteFile() error 997 overlap I have a MFC application that creates a thread, opens a serial port in the thread, and attempts to write to the port (some sample code appears below). The WriteFile() fails, and GetLastError() tells me that the error code is 997, which is an overlap error. I'm new to serial programming, but as I understand it, you ... 10 Feb 2006 17:51
Problem with atof function Hi, I've got a problem with the atof function when using a certain string. Example Code ( We use VS6 ) : /* atof example */ #include <stdio.h> #include <stdlib.h> #include <math.h> int main () { double n; char *s; s = "0.2100000"; n = atof(s); return 0; } If you look in the watch wind... 13 Feb 2006 03:52
Linking Problems (libc on VS2005) I have a 3rd party library that is statically linked to libc.lib; the library is foo_static.lib. I am using Visual Studio 2005 Pro and when I compile, I'm told that the libc.lib library can't be found. I realize that VS 2005 doesn't come with libc.lib, but I don't really understand why it's even looking for t... 8 Feb 2006 23:32
Timers Anyone know what happens if you use SetTimer to create a timer that can't process the WM_TIMER message in time? For instance, let's say you have it called 100 times a second to redraw the screen, but you run it on a slow computer. What would happen? ... 9 Feb 2006 15:16
Iterator problem in VC8 calling clear() on a iterator causes a access violation in my app. It was compiled with VC8 and used to work in VC6. It only crashed in the debug version, release version seams to work. It crashes in the list::_Orphan_ptr function ("list" file) --- addionally I get many warning C4996, but they seam to relate... 4 Feb 2006 15:55
ConvertStringToBSTR Linker error Hi there, I'm having linker problems with the ConvertStringToBSTR function. I have included comsupp.lib as this thread suggests... http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=145979&SiteID=1 But it is still not working. If I run a search for comsupp.lib on my PC I come across it in ... 10 Feb 2006 10:32
Visual Studio 2005 and ISO C++ Names (Repost) Hello The following message was posted at comp.std.c++ initially. Since its slightly OT for that group I am reposting it here. When I tried to simply forward the post here it didn't seem to work. So I am creating a new post. Apologies in advance if it causes a redundant entry. ==Message follows====== Some... 1 Feb 2006 02:58
Socket Sink Notification I'm developing a client/server set of applications using CSockets. I run the client on one computer and the server on another, both connected to and communicating via CSockets over the Internet. Generally it runs quite well, but I recently had a situation where the server failed and over on the client computer ... 29 Jan 2006 20:10
Converting bitmap to pixel intensity array I have never done any image processing before. I would like to take a grayscale bitmap image and convert it to a 2D array where each element represents one of the image's pixel intensities. Would anyone be able to steer me in the right direction? Thank you very much. Nikolai. ... 26 Jan 2006 12:13
xp error When I try my program out on Windows XP, I get this error: --------------------------- This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. --------------------------- OK --------------------------- Any ideas on what ... 25 Jan 2006 15:52 |