- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Again, there is a problem with this function:
C_F_STRPOINTER(CSTRPTR, FSTRPONTER, [NCHARS])
If I call it with nchars = 0, then I get a message:
ERROR: NCHARS is less than or equal to zero. [C_F_STRPOINTER]
To my opinion this not correct: the standard section 18.2.3.5 specifies: "NCHARS (optional) shall be an integer value with a nonnegative value". A value 0 thus is not excluded.
I have added a small example. I try to get the command line in a WinMain function
Robert
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for your question.
This issue has already been reported and will be resolved at next version (2025.0).
Thanks.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for your question.
This issue has already been reported and will be resolved at next version (2025.0).
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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