The project that was transported from VO has the "vo16" (generate clipper constructors) option enabled. This option is required in this project.
But in one of the places there is a class declaration for interoperating with COM:
Code: Select all
[ComImport, Guid("17D6CCD8-3B7B-11D2-B9E0-00C04FD8DBF7")];
INTERNAL CLASS DSObjectPicker
END CLASS
I tried to change the code like this:XS0669 A class with the ComImport attribute cannot have a user-defined constructor.
Code: Select all
#pragma options ("vo16", off)
[ComImport, Guid("17D6CCD8-3B7B-11D2-B9E0-00C04FD8DBF7")];
INTERNAL CLASS DSObjectPicker
END CLASS
#pragma options ("vo16", default)
Is it possible to disable the "vo16" option for one entity only?XS9096 Unrecognized or unsupported #pragma option value "vo16".
P.S. #pragma options ("option", default) reverts to the value set in the project properties or some initial value?
Best regards,
Leonid