Page 1 of 1

COMate.pbi;

Posted: Thu Jun 16, 2016 9:57 am
by HanPBF
Hello
I have the following strange error in PB 5.50 b1:

Code: Select all

If excep\pfnDeferredFillIn
  excep\pfnDeferredFillIn(excep)          
EndIf
Line 621: Garbage at the end of line

Definition is:

Code: Select all

Prototype.i COMate_ProtoDeferredFillIn(*excepinfo)

Code: Select all

Structure EXCEPINFO
		         wCode.w
		         wReserved.w
		         bstrSource.i                ;BSTR
		         bstrDescription.i
		         bstrHelpFile.i
		         dwHelpContext.l
		         pvReserved.i
		         pfnDeferredFillIn.COMate_ProtoDeferredFillIn
		         scode.l
		      EndStructure  
Does work in 5.42LTS.

Any ideas what to do???

Re: COMate.pbi;

Posted: Thu Jun 16, 2016 10:06 am
by HanPBF
No. 5.42 works not, too; so, probably include error in my source...

Re: COMate.pbi;

Posted: Thu Jun 16, 2016 10:11 am
by acreis
Please try change all EXCEPINFO to EXCEPINFO2 in comate includes.

Re: COMate.pbi;

Posted: Thu Jun 16, 2016 10:23 am
by HanPBF
Thanks for the hint.

The error was an XIncludeFile instead IncludeFile...

XIncludeFile seems to work over module scope which shall not be the way it should work...

Where are the current sources to ADOmate.pbi?
Is it still under development?