Try to use -Sd for delphi compatibility, perhaps for porting from delphi, this would be better.
if you have more abstract methods problem's, please describe which functions/procedures are failing.
I used the -Sd-Switch already!
The problem was that I did not overload a procedure that is already overloaded in the Delphi-TDataSet but not in FPC and is declared as override.
There are many differences, that are not implemented yet in the TDataSet...
afaik calling an inherited abstract method in Delphi rewsults in an EAbstract exception
In Delphi the method that is called is not abstract, but I worked around it for now.
Ok, now it compiles and i installed the package!
But when I try to open the DataSet an EVariantError raised with the message "Method Unassigned not yet supported" which is raised by the following method in dsparams.inc - i think:
constructor TParam.Create(ACollection: TCollection);
begin
inherited Create(Collection);
ParamType:=ptUnknown;
DataType:=ftUnknown;
FValue:=Unassigned; // <---
FNull:=True;
end;
When I try to debug my test-project, I also cannot debug into the db-sources nor into the zeos-sources...
P.S. Is works!!! :mrgreen: (with a little modification in the variants-unit...
)
But still, I have got a question: How must I configure the debugger to step into the units? I worked around it by putting them into my project-path... :oops: