You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am trying to import type library _TLB.pas file but whenever it encounter dispinterface it gives the error and does not proceed further.
Error :
Exception Exception in module CMDimp.exe at 000DE5C3.
Expecting Token ';' but token '[' found
Previous tokens : 'IMyDISP = DISPINTERFACE [ ' At postion: 487:5.
so in order to fix the problem i need to change dispinterface declaration. Please find the existing code snippet and the modified one in order to compile.
Exiting :
IMyCBDisp = dispinterface
['{1F6XX8C8-1511-4EZ6-B370-A105M1F7A86D}']
function Method1(Text: OleVariant): HResult; dispid 1;
function Method2 (var Res: OleVariant;): HResult; dispid 2;
end;
Modified
IMyCBDisp = dispinterface;
Please help in resolving this as i find very limited very limited documentation for it.
Regards,
Shekhar
The text was updated successfully, but these errors were encountered:
Hi,
I am trying to import type library _TLB.pas file but whenever it encounter dispinterface it gives the error and does not proceed further.
Error :
Exception Exception in module CMDimp.exe at 000DE5C3.
Expecting Token ';' but token '[' found
Previous tokens : 'IMyDISP = DISPINTERFACE [ ' At postion: 487:5.
so in order to fix the problem i need to change dispinterface declaration. Please find the existing code snippet and the modified one in order to compile.
Exiting :
Modified
IMyCBDisp = dispinterface;
Please help in resolving this as i find very limited very limited documentation for it.
Regards,
Shekhar
The text was updated successfully, but these errors were encountered: