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

Search:

Type: Posts; User: GCDEF

Search: Search took 0.44 seconds.

  1. Replies
    36
    Views
    14,503

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

    My compiler told me your first two worked, but the second two it couldn't convert a CString* to a CString. When I removed the &, it compiled cleanly. You may want to dump the attitude. Sheesh. ...
  2. Replies
    36
    Views
    14,503

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

    That does work if you use temp instead of &temp. The compiler was pretty specific about what was wrong.
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured