Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Skipped Methods in generated Code
#3
Hi kudzu,

Thank you for your reply. I will list up some functions which aren't generated:

1. public SPXRFTest. eRFTESTStatus getTermRTC(ref DateTime rtc)
2. public SPXRFTest. eRFTESTStatus getTermBatteryStatus(ref ushort VBattAct,ref ushort VBattMin,ref ushort VBattMax,ref SPXRFTest. eBattStatus VBattStat)

Parameter info:

1.
rtc: System.DateTime

2.
VBattAct: System.UInt16
VBattMin: System.UInt16
VBattMaxm: System.UInt16
VBattStat SPX_RFTEST.SPXRFTest.eBattStatus -> public enum eBattStatus (simple byte) -> this type was generated by CT

I for example have a function with similar parameters like "public SPXRFTest. eRFTESTStatus setTermRTC(DateTime rtc)", but this function was generated.

I tried to implement function 1 and 2 on my own, but I don't know the Parameter "aMethodID" for the function:

class function MethodCall(aObj: TObject; aClassName: string; aMethodName: string;aMethodID: Int32; aParams: TCTStreamWriter = nil): TCallRight;

The wrapper you mentioned...Can I write it without having access to the sourcecode of the DLL? Would you like to give me an example, if you are ok with that?
Reply


Messages In This Thread
Skipped Methods in generated Code - by Flo1983 - 11-27-2018, 09:45 AM
RE: Skipped Methods in generated Code - by kudzu - 11-27-2018, 02:10 PM
RE: Skipped Methods in generated Code - by Flo1983 - 11-28-2018, 05:04 AM
RE: Skipped Methods in generated Code - by kudzu - 11-28-2018, 03:19 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)