Hello.
Sorry, I am not the skill to find the problem with your code.
I did try but I loose.
So, I still followed your advices to remove all pfHidden stuff.
It is done at end of the procedure, updating the "info" variable.
Here code fully working.
You may take a look at end of code:
> That's what I meant in the mail you replied t
Yes, sorry, when I sent it, you just post yours before I read t.
> So it definitely works
Good news.
> now you only need to figure out the problem in your code.
Huh, it comes from your code.
Thanks Sven.
Fre;D
-
Many thanks ;-)
--
Am 27.07.2019 um 19:02 schrieb fredvs:
Imho, it seems that in your code "if not (pfHidden in flags) then" was
placed one "end;" too far.
That's what I meant in the mail you replied to.
Am 27.07.2019 um 19:07 schrieb fredvs:
Sven, did you try a simple code, it seems that "$self" first
Hi!
Am Samstag, den 27.07.2019, 14:27 +0200 schrieb Marc Santhoff:
> On Fri, 2019-07-26 at 22:37 +0200, Johann Glaser wrote:
> > Hi!
> >
> > Am Freitag, den 26.07.2019, 15:56 +0200 schrieb Marc Santhoff:
> > > On Thu, 2019-07-25 at 19:40 -0700, Brian wrote:
> > > > Try the libusb library Free
Sven, did you try a simple code, it seems that "$self" first parameter is
always added into params list, even if you filter it with "pfHidden" flag.
Fre;D
-
Many thanks ;-)
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/
___
Re-hello.
Imho, it seems that in your code "if not (pfHidden in flags) then" was
placed one "end;" too far.
So trying with this code, compilation is ok:
...
procedure getmethodparaminfo(const atype: ptypeinfo;
var info: methodparaminfoty);
fredvs schrieb am Sa., 27. Juli 2019, 17:54:
> Hello Sven.
>
> > That said the code I showed you had an issue which might explain the
> > behaviour you got:
>
> I did try your new code but get that error message at compilation:
>
> msedesignparser.pas(722,11) Error: Incompatible types: got
Hello Sven.
> That said the code I showed you had an issue which might explain the
> behaviour you got:
I did try your new code but get that error message at compilation:
msedesignparser.pas(722,11) Error: Incompatible types: got "TParamFlag"
expected "methodflagty"
msedesignparser.pas(2238)
On Fri, 2019-07-26 at 22:37 +0200, Johann Glaser wrote:
> Hi!
>
> Am Freitag, den 26.07.2019, 15:56 +0200 schrieb Marc Santhoff:
> > On Thu, 2019-07-25 at 19:40 -0700, Brian wrote:
> > > Try the libusb library Free Pascal interface .. but be aware of his
> > > license
> > > requirements. It works