Type: Posts; User: Conrad Braam
Search took 0.01 seconds.
October 12th, 2010, 11:05 AM
The bit you need is the access rights required to the file - they are commented out and replaced by 0 in the snippet. Just drop in the needed rights, and you will be away again. Apparently any open...
November 2nd, 2009, 08:17 AM
Thanks again Brad for trawling the forums to give all and sundry help here.
I stick to CodeGuru because it was the easiest place to post 5 years ago. At the time I did not have a good internet...
November 2nd, 2009, 08:09 AM
Thanks for the quick response guys. Yes, the limit is where it should be, I just looked at other web-products upload default limits and 500K pretty much matches with common sense. :-)
I'm not a...
November 1st, 2009, 04:09 PM
1. Make the article edit-box for project a bit wider... please, thank you. It's really hard typing into a small box
That's about it.
November 1st, 2009, 04:05 PM
Due to a size limit of 500K its getting difficult to upload a demo executable for my project. anyone else have a similar problem?
I mean 500K zipped (1.2mb unzipped) is pretty huge, and yes, it's...
October 11th, 2007, 02:30 PM
One assumes you have eliminated any hardware between the 2 ends which would get in the way. Tell us a little more about your application or protocol, I am sure someone will have an example where they...
October 11th, 2007, 02:16 PM
I am not sure I completely understand how 'throw'ing while your thread which may be preparing to make a kernel call really differs much from just terminating it in terms of safety and releasing all...
October 11th, 2007, 01:54 PM
Hey. I always though the way to 'draw' over the desktop was to create a transparent window to cover the desktop. The only problem is that the user will not be able to interact with anything under...
October 11th, 2007, 08:55 AM
Good stuff, glad we could help.
Just to clarify for anyone else reading this sample, the data should be typed
unsigned short, to make it portable unless we ensure the correct compiler options.
October 11th, 2007, 04:17 AM
I would not use anything other than a buffer-pointer to something 8-bit to recieve the eventual data: By specifying a 16-bit type, you are assuming that the data will have the intended endian-ness...
October 10th, 2007, 03:13 PM
Basically as xC0000005 stated, your code is actually comparing a pointer to the literal "SUCCESS" to your pointer. Nothing prevents the compiler from having placed the 2 in separate modules and then...
October 10th, 2007, 03:03 PM
No capatalist or socialist or even political comments please.
When the majority of programmer websites are 50% advertising pixels, are we reflective of where life in the digital medium is going....
October 10th, 2007, 02:57 PM
Some things to remember when writting or reading some data in this way.
1. Timeouts will be much longer than you intended. Check the parameters and the SetCommTimeouts() timeout structure.
April 6th, 2006, 05:54 AM
The FC is a pretty common junk byte. The 0x0BADFOOD is a kind of HEX for "Bad Food" :-) , it is also easy to spot in a dump, so if you ever see bad-food in your actual data, you know your data got a...
April 6th, 2006, 05:07 AM
The way memory works in debug is that the debug version of MFC allocs all block a bit bigger than they need to be, it then puts some magical bytes 0x0BADFOOD into the bytes that are just ahead of and...
April 6th, 2006, 04:43 AM
There are many flavours that will solve your problem, this is my gut-response.
//char c = "Hello";
const char *c = "Hello";
March 30th, 2006, 10:20 AM
It's all working now. I was considdering getting the article nuked, and moving elsewhere. But then I remembered why I chose codeguru as a site initially; simple, no-frills, fast and all...
March 30th, 2006, 08:49 AM
Aah, it is broke on my side, my profile no longer contains the http://www.codeguru.com/cpp/i-n/network/serialcommunications/article.php/c5401/ project, I remember a FAQ for that, I will look it up so...
March 30th, 2006, 04:05 AM
I was just wondering, what is the process for updating my article?
I last updated it a year ago, and need to desperately touch-up the article, and upload new source, because contrary to the...
September 29th, 2003, 01:29 AM
I am not a VB Guru, but in order to answer your question quickest, I suggest opening the following.
start/run/cmd.exe, when console appears, type in MODE, a list of all devices will appear, CON,...
October 28th, 2002, 02:31 AM
We are using Unimodem V. I have got a test app at the moment that does not actually give me the tones, but on a port monitor, I can see that the tones are being interpreted by the modem....
September 12th, 2002, 04:37 AM
Yep, like I said, if the port # is grater than 9, U need to use the\\..\ format for the name, search youir MSDN for
HOWTO: Specify Serial Ports Larger than COM9 the answer in techincal terms is...
August 23rd, 2002, 06:22 AM
Quite simply you need to change the code in CSerial::Open, to
if (nPort < 10)
wsprintf( szPort, "COM%d", nPort );
wsprintf( szPort, "\\\\.\\COM%d", nPort );
That should be...
August 22nd, 2002, 12:05 PM
I dunno who sold you the USB gospel, but I do not buy it. as u said many people will still have serious applications for Serial and printer ports.
Once USB gets some serious standardization going,...
August 22nd, 2002, 11:33 AM
Comm port names >COM9 are recognised with a long file naming system, look in the MSDN help, it is there her is a code fragment/func
// ----------------------------------- FixComPortName...
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!