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

Search:

Type: Posts; User: ADSOFT

Page 1 of 55 1 2 3 4

Search: Search took 0.03 seconds.

  1. Thread: Can't Connect

    by ADSOFT
    Replies
    9
    Views
    3,442

    Re: Can't Connect

    I read your link.

    MFC CInternetFile looks promising. I want to be communicating through the Ineternet.
  2. Thread: Can't Connect

    by ADSOFT
    Replies
    9
    Views
    3,442

    Re: Can't Connect

    Thank You very much.

    I will look into that.
  3. Thread: Can't Connect

    by ADSOFT
    Replies
    9
    Views
    3,442

    Re: Can't Connect

    Vic,

    I'm not sure if you're asking me to go look up the error code so I can learn what is happening or you just read MSDN and realized how to get more information on the problem.

    However, I did...
  4. Thread: Can't Connect

    by ADSOFT
    Replies
    9
    Views
    3,442

    Re: Can't Connect

    Thanks,

    That's exactly what was happening the site doesn't exist. I got it from an some website as the an address for GOOGLE.COM,

    As I was doing some reading I learned about PING (told you...
  5. Thread: Can't Connect

    by ADSOFT
    Replies
    9
    Views
    3,442

    Re: Can't Connect

    It just sits there and does nothing (hangs). I went to MSDN and some more ideas. I'll give that a shot.

    btw, when I tried to compile that in VS 2017, I got a message that the "connect" function...
  6. Thread: Can't Connect

    by ADSOFT
    Replies
    9
    Views
    3,442

    Can't Connect

    Trying to get up and running with Winsocks.

    I have the following code and can't get a connection going.

    I have seen this example on several sites.

    The program appears to hang on the...
  7. Replies
    20
    Views
    1,350

    Re: MFC and STD::STRING not compatable ???

    Thank You,

    I will look into that.
  8. Replies
    20
    Views
    1,350

    Re: MFC and STD::STRING not compatable ???

    I did some research on shallow vs deep copying. It explains what is happening.

    Im sticking with plain old C to do my file transfers to and from disk: i.e. , fopen,fread, fwrite. You can't copy...
  9. Replies
    20
    Views
    1,350

    Re: MFC and STD::STRING not compatable ???

    Thank You Very Much , I do appreciate that.

    btw, its been a long time since I have come around here and I do appreciate you guys are still around. I have always and will always consider you guys...
  10. Replies
    20
    Views
    1,350

    Re: MFC and STD::STRING not compatable ???

    Ok,

    Thank you very much. I do appreciate your answer, it will keep me from going down the wrong road.

    I will take your advice and get a more up to date book.

    If you could recommend one , I...
  11. Replies
    20
    Views
    1,350

    Re: MFC and STD::STRING not compatable ???

    That's what I was hoping you guys could answer?

    I think it could be that my Compiler is just too old? VS6 ??

    If one of you guys with a newer compiler could create an SDI FORVIEW APP as I...
  12. Replies
    20
    Views
    1,350

    Re: MFC and STD::STRING not compatable ???

    I ment Console app.

    Book: Object Oriented Programing in C++ : Third Edition, By Robert Lafore.

    He has several examples of writing an object to file, as the above link does as well.
  13. Replies
    20
    Views
    1,350

    Re: MFC and STD::STRING not compatable ???

    Check this link out. If it's against your policy you can delete my post.

    But read what it says:

    https://www.geeksforgeeks.org/readwrite-class-objects-fromto-file-c/
  14. Replies
    20
    Views
    1,350

    Re: MFC and STD::STRING not compatable ???

    So why does it work in a consul app.

    I got the example from a C++ book.
  15. Replies
    20
    Views
    1,350

    Re: MFC and STD::STRING not compatable ???

    ...the code that I'm showing is part of my SDI FORMVIEW APP.
  16. Replies
    20
    Views
    1,350

    Re: MFC and STD::STRING not compatable ???

    The code that I'm showing is the code in an OnButton message handler.


    void MYFORMVIEW::OnButtonDbCpp()
    {


    these header files where necessary to compile std::string
  17. Replies
    20
    Views
    1,350

    Re: MFC and STD::STRING not compatable ???

    That is the MFC version, I'm writing to a ListBox and using AfxMessageBox ???

    ... when I ment writing CStrings , I'm ment writing a class of with many CStrings in them and and writing the whole...
  18. Replies
    20
    Views
    1,350

    MFC and STD::STRING not compatable ???

    Im maintaining a legacy app in VC6 aka VS6 (release date 1998, wikipedia), don't have time to upgrade it now. I have found a previous bug in this version I think I found another.


    I'm trying to...
  19. Re: Creating FORMVIEW WIN32 style app: How to place Formview Resource in the Mainfo

    Thanks , I have both those books. I went the MFC route and it worked pretty well because I could be productive with it, now that I have time I want to learn WIN32, some of the content in those books...
  20. Re: Creating FORMVIEW WIN32 style app: How to place Formview Resource in the Mainfo

    Thanks, there is some interesting code there.

    It answers my first question of creating controls in the main WindProc function: i.e, the main loop.

    Now if someone can please answer the second...
  21. Re: Creating FORMVIEW WIN32 style app: How to place Formview Resource in the Mainfo

    Ok I got it to create the control in WM_CREATE

    ...here is the snippet


    HWND hWndEdit;

    switch (message)
    {
    //DOESN'T WORK HERE
  22. Re: Creating FORMVIEW WIN32 style app: How to place Formview Resource in the Mainfo

    I do have a message loop for my app: I just posted a snip. I didn't want to post the whole app: here is my message loop. ... the app is working .

    Can you please edit my message loop to display my...
  23. Creating FORMVIEW WIN32 style app: How to place Formview Resource in the Mainform

    Hi Guys and Gals,

    Im an MFC guy who mostly writes Desktop FormView apps. in MFC: Not exprienced in WIN32api's

    I'm trying to create a WIN 32 api FormView sytle app, which enventually I will port...
  24. Replies
    36
    Views
    10,064

    Re: Can't intialize C++ Struct with CString in it??

    Victor I agree.

    Thanks for help, what can you do, Pre-Ansi, that's a tough one to deal with, but it a wierd way it was fun figuring it out.


    Thanks again.
  25. Replies
    36
    Views
    10,064

    Re: Can't intialize C++ Struct with CString in it??

    Well, I'm glad we got to the bottom of it. I knew there was a logical explination.

    It explains why just about every contruction I tried of the CString didn't work, lol.

    Thanks to everyone for...
Results 1 to 25 of 1357
Page 1 of 55 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)