Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Japhy1

    Data Grid with selectable entries in Visual C++?

    I use Ultimate Grid in a lot of my programs. It's free and has a large knowledge base. Just google it if you're interested. Good luck.
  2. Japhy1

    MoveFile across network?

    solved my own problem. used ::MoveFileEx([src],[dest],MOVEFILE_COPY_ALLOWED);
  3. Japhy1

    MoveFile across network?

    Hi all, I'm looking for a similar function to ::MoveFile([src],[dest]) except I'm trying to move the file from one computer to another over a network link. I'm aware that on its own ::MoveFile doesn't support this. Does anyone know an alternative? Specifically, I'm interested in one-and-done...
  4. Japhy1

    Using printf with CString

    yes, that works too...thanks for the response and for the pseudo-esoteric warning.
  5. Japhy1

    Using printf with CString

    I got it to work by doing this... CString s = "This is a test"; CT2CA pszConvertedAnsiString (s); std::string strStd (pszConvertedAnsiString); printf("%s", strStd.c_str()); not very elegant but it works...
  6. Japhy1

    Using printf with CString

    both GetBuffer() and GetString() return a const wchar_t * which still doesn't work with printf, unfortunately. You're right, CString is really starting to get on my nerves but I have to use it temporarily for this project.
  7. Japhy1

    Using printf with CString

    Hi, a simple question. I'm try to use the printf function with CStrings in a Win32 Console application. I've already included MFC support. Since the printf function accepts const char * variables, I'm getting an error when I try something like. CString s = "this is a test"; printf(s); Is...

Part and Inventory Search

Back
Top