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

Search:

Type: Posts; User: RasKalnikov

Page 1 of 8 1 2 3 4

Search: Search took 0.03 seconds.

  1. Re: Updating UI with results from a thread

    That's not what I was expecting at all, but it worked like a charm! Thanks!
  2. Updating UI with results from a thread

    As stated in the title, I'm trying to update the user interface with the results of a thread. In more detail, the thread performs a calculation once for each item in a ListView. When the results of...
  3. Replies
    5
    Views
    1,210

    Re: CAsyncSocket Receive is Making Me Sick

    Take a look at some of the other implementations of a web server. I just did a quick search of google and came up with the following articles:

    I don't know much about the details of HTTP, but...
  4. Replies
    6
    Views
    1,898

    Re: MultiLine tool tips.

    Have a look at this codeguru article, and also this series of posts for more information:

    http://www.codeguru.com/cpp/controls/controls/tooltipcontrols/article.php/c2267/
    ...
  5. Replies
    2
    Views
    798

    Re: Going from a VS6 project to VS2003

    There are 2 things you will need to verify.
    First, make sure you are statically linked to the MFC libraries. This option is available somewhere in the project settings, its location is different...
  6. Re: Using the windows API on a remote computer.

    I have already given what I believe to be a very reasonable solution to numbers 1 and 2 that does not require modifying the beta machine in any way.

    To view processes running on a remote machine...
  7. Re: Using the windows API on a remote computer.

    Reading remote files and registry keys is simple, provided you have the proper permissions on the remote machine. This is usually accomplished by having the remote machine be on the same domain as...
  8. Replies
    2
    Views
    748

    Re: closing comport handles

    Make sure all handle variables are set to 0 when not valid, for example:

    <.h file>
    HANDLE m_hMyHandle;

    <.cpp file>
    Constructor:
    m_hMyHandle = 0;

    Some code somewhere:
  9. Replies
    12
    Views
    1,742

    Re: How do you programmatically...

    Wordpad is not an automation server, therefore it doesn't have
    "interface methods to programmitically type text into the wordpad"
    as was mentioned below.

    You have a couple of options. You...
  10. Replies
    1
    Views
    613

    Re: Replacing file input with a buffer

    This is just a guess, but try using CreateProcess. Check out the first line of the documentation.
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/createprocess.asp
    ...
  11. Replies
    2
    Views
    655

    Re: Tooltips in a dialog

    Here's my guess at the solution:

    After doing some quick research, it appears that the message never gets realyed to the control (as you have seen).

    See these articles:...
  12. Replies
    3
    Views
    912

    Re: terminate a process??

    There's probably better ways than this, but one solution would be to have a simple service running on the 50 servers listening for a "kill processes" command from some master computer.
  13. Re: Make the #pragma data_seg random named?

    If your goal is simply so the other copy of your library doesn't see the same data in that data segment, remove the 's' in the 'rws' section. Specifially, from this link:
    ...
  14. Re: Make the #pragma data_seg random named?

    I'm curious as to why you made a global data segment if you didn't want it shared?
  15. Replies
    7
    Views
    5,708

    Re: WM_INITDIALOG event handler missing

    Goto class view
    right-click your dialog class, goto properties, then there will be an "Overrides" section... See screenshot
  16. Replies
    7
    Views
    5,708

    Re: WM_INITDIALOG event handler missing

    That's because it's in the "Overrides" section, it's a virtual function!
  17. Replies
    3
    Views
    1,533

    Re: how to set environment variables

    The function:
    SystemParametersInfo
    might give you some help!
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/systemparametersinfo.asp
  18. Replies
    6
    Views
    902

    Re: Detecting System Restart

    Do you want to know if the system has been shutdown and has already rebooted or do you want to know when the system is about to restart? What about shtudowns?
  19. Replies
    1
    Views
    1,068

    Re: Office Automation exception

    To be more clear, this issue happens on a very select few office 2000 computers, not all office 2000 computers.
  20. Replies
    1
    Views
    1,068

    Office Automation exception

    I have a problem with office automation. The error is limited to a few office 2000 installations, both on windows 2000 and windows XP. This issue has never happened using office XP on any OS.

    My...
  21. Replies
    26
    Views
    8,747

    Re: Mixing C and MFC C++

    Assuming you're using Visual C++ 6:

    You need to turn off precompiled headers for all of your c files.

    to do this, go to the Project->Settings menu.

    Select all of your c source files
    Click...
  22. Re: problem opening password protected database

    Another helpful site:
    http://www.connectionstrings.com/

    The site lists connection strings for many different languages / databases.
  23. Re: somebody tell me where I can download the lastest platform sdk in microsoft?

    Perfect! Thanks :)
  24. Re: somebody tell me where I can download the lastest platform sdk in microsoft?

    Anyone know someplace we can download an older SDK, like the February 2003 Edition?

    on the SDK download site, it clearly states:
    This SDK does not support working with Microsoft Visual C/C++®,...
  25. Replies
    11
    Views
    1,519

    Re: GetTempFileName weird behavior

    I would try two things. I don't know how/why this would happen, but try calling GetCurrentDirectory before GetTempFileName. Maybe there isn't a current directory?

    Also, you say you need to work...
Results 1 to 25 of 191
Page 1 of 8 1 2 3 4





Click Here to Expand Forum to Full Width

Featured