- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I wanted to use the function vmlSetMode for c++ but the input parameter is ignored for all possible inputs. For example:
unsigned int x = vmlSetMode(VML_ERRMODE_IGNORE); unsigned int y = vmlGetMode();
The value of x seems to be random (0xffffb2c0, 0xffffaa36, ...) and y is always different from VML_ERRMODE_IGNORE and equals x.
System infos: RedHat, Netbeans 8.0.2, Parallel Studio Composer 2016.
Does anybody have an idea?
Thanks
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mario, I am not sure understand your question. Have a look at the vmlSetMode/vmlGetMode example? You may find such example into mklrootl\examples\vmlc\source\ directory. See in mode.c.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mario,
I guess we need a full reproducer from you as we have tried in many combinations and it works fine.
The vmlSetMode(VML_ERRMODE_IGNORE) returns previous (default) value of mode which is: VML_HA | VML_ERRMODE_DEFAULT = 0x1A02.
The vmlGetMode() returns 0x102 which shows the effect of the change: VML_HA | VML_ERRMODE_IGNORE.
Thanks,
Nikita

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page