CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Conrad Braam

Page 1 of 2 1 2

Search: Search took 0.08 seconds.

  1. Replies
    2
    Views
    8,402

    Re: Recover an old submission

    Yes Yes Yes, thank you for finding it. The search feature was not finding it for me.

    Now I can update my backlinks which had rotted, and hook up into the GIThub repo I started.
    Thank you Brad.
  2. Replies
    2
    Views
    8,402

    Recover an old submission

    I've moved , literally and been away for like > 10 years.
    So, is it possible to still locate/resurrect old projects/articles like this one http://codeguru.earthweb.com/network/mod_rssim.html

    not...
  3. Replies
    4
    Views
    5,226

    Re: File_open_by_file_id

    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...
  4. Replies
    42
    Views
    27,459

    Re: Why CP articles are better than CG!

    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...
  5. Replies
    3
    Views
    1,061

    Re: Size of project uploads

    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...
  6. Replies
    42
    Views
    27,459

    Re: Why CP articles are better than CG!

    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.
  7. Replies
    3
    Views
    1,061

    Size of project uploads

    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...
  8. Replies
    5
    Views
    1,960

    Re: winsock recv incomplete message problem

    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...
  9. Replies
    2
    Views
    939

    Re: Killing threads

    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...
  10. Replies
    12
    Views
    896

    Re: Mouse Power -

    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...
  11. Replies
    6
    Views
    1,600

    Re: Serial Communication (WriteFile)

    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...
  12. Replies
    6
    Views
    1,600

    Re: Serial Communication (WriteFile)

    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...
  13. Replies
    6
    Views
    963

    Re: Very Strange behaviour with LPCTSTR

    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...
  14. Replies
    6
    Views
    1,007

    Are we over-commercialised?

    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....
  15. Replies
    6
    Views
    1,600

    Re: Serial Communication (WriteFile)

    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...
  16. Re: Free Heap block modified after it was freed

    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...
  17. Re: Free Heap block modified after it was freed

    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...
  18. Replies
    2
    Views
    1,221

    Re: Visual C++ 2005 char* to CString

    There are many flavours that will solve your problem, this is my gut-response.


    //CString str;
    //char c[] = "Hello";
    const char *c = "Hello";
    CString str(c);
    //str.Format("%s",c);...
  19. Replies
    4
    Views
    917

    Re: Article updates online?

    Bonus

    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...
  20. Replies
    4
    Views
    917

    Re: Article updates online?

    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...
  21. Replies
    4
    Views
    917

    Article updates online?

    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...
  22. I am not a VB Guru, but in order to answer your...

    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,...
  23. Hi, thanks. We are using Unimodem V. I have got...

    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....
  24. Replies
    8
    Views
    1,414

    Yep, like I said, if the port # is grater than 9,...

    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...
  25. Replies
    8
    Views
    1,414

    bug in the class is fixed here...

    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 );

    That should be...
Results 1 to 25 of 29
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured