Hello. New guy here...well, old new guy :D
Was a MicroStation user for many years (many years ago) and took the one and only MDL programming course that was available at the time. Getting sucked back into the MicroStation world and trying to recompile an MDL app. I'm slowly working my way through it, but have hit something I'm not sure how to fix. I looked and am not finding much in the help files.
The offending line of code is:
mdlBitMask_logicalOperation( (*type)->view.files[k].levels, view->files[j].levels, BITMASK_OR);
I understand the the arguments are now BitMaskP and BitMaskCP, but just have no idea what the above code is doing. Are there resources out there to explain what this syntax means?
Thanks in advance for any direction...
I should state the error is:
error: '=' : incompatible pointer types from 'struct BitMask *' to 'struct BitMask'
Unknown said: incompatible pointer types from 'struct BitMask *' to 'struct BitMask'
The compiler is telling you that it expected a pointer but you passed an unqualified variable. Without more information I can't say what the problem is, but probably you need to write &variable rather than plain old variable.
&variable
variable
Unknown said:I understand the the arguments are now BitMaskP and BitMaskCP
This article about MDL Structures, Typedefs, and #include may throw some light on those type names.
Regards, Jon Summers LA Solutions
Thanks for the links, Jon! Will have a look