- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am continuing with my project to get my program to work forlong file names.
Here I am getting a file name from a text box.
iret=GetDlgItemText(hwnd,IDC_EDIT_DXF,cFile,FileNameLength)
FileNameLength is 250
cFile is character*(FileNameLength)
When I run the program I cannot get iret to be more tham 80 - i.e. I can only get the first 80 characters of the file name.
By the way, I don't expect the user to type in a 250 characterfile name, it is selected by a 'get file' dialog, and the file displayed in a text box.
What am I doint wrong, or is 80 character to limit?
David
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry, it was my mistake.
Earlier I had only set 80 chars to the text box.
David
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page