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...
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...
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...
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...
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...
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.
try...
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...
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...
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.
2. You...
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...
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...
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...
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...
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,...
Hi, thanks.
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....
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...
Quite simply you need to change the code in CSerial::Open, to
if (nPort < 10)
wsprintf( szPort, "COM%d", nPort );
else
wsprintf( szPort, "\\\\.\\COM%d", nPort );
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,...