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

Search:

Type: Posts; User: quangnt

Page 1 of 3 1 2 3

Search: Search took 0.09 seconds.

  1. Replies
    5
    Views
    1,286

    Re: Session TPC/IP connection

    To be simple, please do not consider the MSN Server, we just consider the TCP/IP connection
    (Web Server(Apache, PHP)) <==TCP/IP==> (another Server)

    If client requests a page:
    1. Web Server...
  2. Replies
    5
    Views
    1,286

    Re: Session TPC/IP connection

    Thank you, guys, for your quick replies.

    MSN Team has not not released any documents about how to connect MSN Servers. But this website http://www.hypothetic.org/docs/msn/index.php provides quite...
  3. Replies
    5
    Views
    1,286

    Session TPC/IP connection

    Hi everybody,

    I am making a web-based MSN messenger. Here is the program architecture
    (Web Client) <====> (Web Server) <====> (MSN Servers)

    Web Client: I use AJAX to communicate Web Server...
  4. Re: Is there any function that fires events when reaches an dd-mm-yyyy hh:mm:ss?

    There is no API function that satisfies your requirement. Please use timer to check periodically.
  5. Replies
    7
    Views
    2,263

    There is another way, you can use Shell function:...

    There is another way, you can use Shell function: SHCreateDirectoryEx. You do not need create directories from outermost to innermost. This function automatically creates parents directory if they do...
  6. When you open a COM port, you use set dwShareMode...

    When you open a COM port, you use set dwShareMode = FILE_SHARE_READ, FILE_SHARE_WRITE.

    Here is my example:
    CreateFile( "COM1",
    GENERIC_READ | GENERIC_WRITE,
    ...
  7. Replies
    3
    Views
    858

    It is the way some programs such as Unikey, or...

    It is the way some programs such as Unikey, or IME do. If you want to capture all keypress of the system, you have to use hooking API. Besides you can also detect mouse events. When you use function...
  8. Replies
    6
    Views
    686

    Now my problems are now removed. After long...

    Now my problems are now removed.

    After long debugging, I concluded that the National ActiveX is the reasons. I wrote my own component replacing these ActiveXes. Now program runs smoothly.
    ...
  9. Thread: Text Editor!

    by quangnt
    Replies
    4
    Views
    741

    I have no experience about this problem. As I...

    I have no experience about this problem. As I know, you have to read OLE-related documents. OLE is part of Active Technology. With OLE (Object linking and embedding) :

    - Your document is compound...
  10. Replies
    6
    Views
    686

    Thanks Sam Hobbs, Sorry, I could not access...

    Thanks Sam Hobbs,

    Sorry, I could not access your link. By the way, some days ago I read this article of Hans Dietrich talking about Debug tools. This is a good way to debug program (dumping stack...
  11. Replies
    6
    Views
    686

    Thank Eli Gassert for quick reply. I used...

    Thank Eli Gassert for quick reply.

    I used Boundschecker to check memory leak. There is no memory leak, but there are many Interface Leak (with Interface Leak Count = 2), because I use MSChart...
  12. Replies
    6
    Views
    686

    VC IDE and realtime enviroment?

    Hi everyone,

    I have very difficult trouble. My program is realtime, multithreaded ( VS 6.0, VC++, Win2000 Professional-Korean version). If I run program in IDE (run with VC++ Compiler), the...
  13. Replies
    6
    Views
    3,079

    Thank Sam Hobbs again. I think break point to...

    Thank Sam Hobbs again. I think break point to check memory is not a good solution for a my program because of reasons you said. So I will try other solutions.
  14. Replies
    5
    Views
    3,034

    I know a FFT program written by Relisoft company...

    I know a FFT program written by Relisoft company (http://www.relisoft.com). Its source code is public. All program uses win32 API functions, and the program has good interface. Let's try it.
  15. Replies
    6
    Views
    3,079

    I think that my program has memory overwrite...

    I think that my program has memory overwrite bug(s). Because program crashed at 6.0AM where we were all deep in sleep, and the resolution has been kept unchanged since a month ago.

    When...
  16. Replies
    6
    Views
    3,079

    Do you have any ideas?

    Do you have any ideas?
  17. Replies
    6
    Views
    3,079

    In my program I use only one Thread for Serial...

    In my program I use only one Thread for Serial Communication, so I am not passing a CWnd* across threads.

    http://www.codeguru.com/forum/showthread.php?threadid=268651
  18. Replies
    5
    Views
    1,371

    I think that there are 2 dll versions, one has...

    I think that there are 2 dll versions, one has TableAppStarted and the other doesn't. The debug mode uses the 2nd version.
  19. Replies
    6
    Views
    3,079

    LookupPermanent

    I am testing program in Debug Mode, the program seem fine because It has ran well for over 12 hours. But this morning, The program crashed, the I saw the CallStack, here is the last break point:

    ...
  20. Replies
    3
    Views
    757

    Hi hungtx , Let use...

    Hi hungtx ,

    Let use FindFirstChangeNotification(...). This API can be used to monitor Changes in a directory or directory tree.
  21. Replies
    2
    Views
    1,212

    Sorry, I don't know exactly why it is. And I have...

    Sorry, I don't know exactly why it is. And I have not searched any documnet explaining officially about this phenomenon. When programming with FlexGrid you should keep in mind to backup resource...
  22. Replies
    3
    Views
    876

    Thanks kuphryn for your quick answer. Before...

    Thanks kuphryn for your quick answer. Before posting, I tried this solution. But LVN_ITEMCHANGED is notified when sorting has been finished. I think that when SortItems is returned, CListCtrl have...
  23. Replies
    3
    Views
    686

    SendMessage WM_CLOSE whenever you want to close...

    SendMessage WM_CLOSE whenever you want to close your application.
  24. Replies
    3
    Views
    876

    Sorting and LVN_ITEMCHANGED

    Hi gurus,

    I create a class derived from CListCtrl. This class is like ListCtrl in Windows Explorer in Details View. You can create new file, rename, or delete, re-arrange, ....

    Now I have a...
  25. Replies
    21
    Views
    2,869

    As your description, I guess that you did not...

    As your description, I guess that you did not call :
    AfxSocketInit(NULL) in your InitInstance() function to initialize windows sockets.

    To create server socket:

    1. CSocket::Create( port to...
Results 1 to 25 of 61
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured