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

Search:

Type: Posts; User: naim1

Page 1 of 13 1 2 3 4

Search: Search took 0.07 seconds.

  1. Replies
    21
    Views
    7,893

    Re: callback functions

    'mistery'.......... huh
    you better learn the spellings first before telling anything useful.
  2. Thread: Client socket

    by naim1
    Replies
    1
    Views
    748

    Client socket

    Hi All,

    Can someone give sample code to add a simple client socket in VB6.0 application. An asynchronous non-blocking socket is needed.

    What i am trying to do is as follows:

    In a project...
  3. Replies
    21
    Views
    7,893

    Re: callback functions

    Now here is the actual code thats still not clear to me.

    In the Dialog based Demo Appl. project in VC6.0 there is a button on the dialog whose ID is 'IDC_BTN_PICTURE_SNATCH'.

    Its handler is as...
  4. Replies
    10
    Views
    1,625

    Re: Adding new Socket

    Nevermind, Its solved now..
    Thanks anyway.
  5. Replies
    21
    Views
    7,893

    Re: callback functions

    So in general can we say that from the standpoint of an OS, all the applications that run over it are callback functions for the OS?
  6. Replies
    10
    Views
    1,625

    Re: Adding new Socket

    It looks like i did not provide clear information, so there is some confusion. Let me clear it below.

    There are 2 applications i am talking about.
    First is the demo TCP/IP application, which is...
  7. Replies
    21
    Views
    7,893

    Re: callback functions

    interesting.... any more details on this... and btw what is CRT?
  8. Replies
    10
    Views
    1,625

    Re: Adding new Socket

    i have added following code to 'OnInitDialog()' handler.




    CSocket sockSrvr;
    // Creates our server socket

    sockSrvr.Create(12345);
    // Start listening for the client at PORT
  9. Replies
    10
    Views
    1,625

    Re: Adding new Socket

    Allright.. these are example codes of CSocket.

    Now the difficult part is how do i add this code in a already working diaog based VC6 project?
    Should i add it in the main dialog 'OnInitDialog()'...
  10. Replies
    10
    Views
    1,625

    Re: Adding new Socket

    I was reading Davis Chapman's book.. Day20.. and implemented its code for server-client...
    But i dont know how to add a new socket in the already working Demo project?
    And what is difference in...
  11. Replies
    21
    Views
    7,893

    Re: callback functions

    OK... so thats it... i get it now. Thanks
  12. Replies
    10
    Views
    1,625

    Adding new Socket

    Hi All,

    I have a Demo project of a TCP/IP Application in VC6 Dialog based application. I have to add a new socket in it, a server socket, for loopback communication.

    Can anyone tell how to go...
  13. Replies
    21
    Views
    7,893

    Re: callback functions

    OK, makes some sense now. One more thing, very basic to ask is ... let us say i have a callback function in a project. What exactly will make that code run into execution?

    Will it be called...
  14. Replies
    2
    Views
    712

    File read confusion

    Hi All,

    I have following code working in VC6.0 project in which a file is opened and then certain values are read from that file.




    void g_ReadDeviceConfig()
    {
    int i, j;
  15. Thread: VC6 on W7+VS2008

    by naim1
    Replies
    4
    Views
    1,794

    Re: VC6 on W7+VS2008

    VS6 installed successfully on my 32-bit Windows 7 machine on which VS2008 is already installed. Although i kept on getting pop-up messages that .... this software has known compatability issues on...
  16. Replies
    21
    Views
    7,893

    Re: callback functions

    I am still not very much clear about the callback-functions.

    What is that that is missing is a simple normal function and an event-handler or an ISR for which we use callback functions?

    Since...
  17. Replies
    21
    Views
    7,893

    callback functions

    Hi All,

    Can someone give some simple explanation with some example about callback functions in VC6?

    Any help would be great.

    -naim1
  18. Thread: VC6 on W7+VS2008

    by naim1
    Replies
    4
    Views
    1,794

    Re: VC6 on W7+VS2008

    Yes i tried but donot remember what was the error/problem i get. Will try it again today and will post the error here.
  19. Thread: VC6 on W7+VS2008

    by naim1
    Replies
    4
    Views
    1,794

    VC6 on W7+VS2008

    Can anyone confirm if VC6.0 can be installed on on a Windows 7 32-bit machine on which VS2008 is already installed?
  20. Replies
    10
    Views
    1,244

    Re: dialog size unchanged

    I am sure its dialog since it appears under the 'dialog' in ResourceView and its IDis IDD_DIALOG_DEMO.

    Is it possible the the size of the dialog as it appears in the .rs file can be over-riden...
  21. Replies
    10
    Views
    1,244

    Re: dialog size unchanged

    I am doing various changes on the dialog.. adding and deleting butons on it etc. All that is shown correctly when i run the executable. But the change in size of the dialog box does not take effect.
  22. Replies
    10
    Views
    1,244

    Re: dialog size unchanged

    Yes, the entry change their correctly.
  23. Replies
    10
    Views
    1,244

    Re: dialog size unchanged

    Tried all this but still no difference. If i see the test-appearance of the dialog using CTRL-T in VS then it shows the new size of the dialog. But when i run the exe, the dialog size is not changed....
  24. Replies
    3
    Views
    918

    Re: localhost socket control

    Yes, its VC6 for sure, although i dont know quite well how its goes in VC6. The only thing is that n event has to be generated when a specific data string say "XYZ" is received.
  25. Replies
    3
    Views
    918

    localhost socket control

    Hi All,

    In a VC6 dialog based application, i want to add a local host listening socket control. The purpose is that whenever the listening socket will receive a data say "XYZ" from localhost, then...
Results 1 to 25 of 320
Page 1 of 13 1 2 3 4





Click Here to Expand Forum to Full Width

Featured