Support Center

FaxMan.LogSpeed, Undeclared identifier?

Donald Adams Dec 26, 2012 02:00PM EST

Delphi 7
Active X

See below...

FaxMan.LogSpeed line errors out.

Undeclared identifier 'LogSpeed'

I run a logquery. I seem to be able to get all the values but LogSpeed. There is only one line because I am using LogID to retrieve one row. The data appears inthe log query.

-----------------

PathFaxtransferRate := (FaxMan.LogSpeed[0])

------------------

2 Data Techniques Responses and 1 Community Responses

Up 1 Rated Down
DTI Support  Data Techniques Employee Dec 26, 2012 02:41PM EST

Hi Donald,

For some reason Delphi 7 doesnt properly generate the wrapper code for that property. In the FaxManCtrl_tlb.pas file you need to add the missing line:

property LogSpeed[index: Integer]: Integer read Get_LogSpeed write Set_LogSpeed;

to the public property section of the TFaxMan class declaration. Of course if delphi regenerates the wrapper you'll need to do that again.

Thanks for your interest in our products and please let us know if you have any questions.

Sincerely,
Sean
Data Techniques Support

Up 3 Rated Down
Donald Adams  Data Techniques Employee Dec 27, 2012 11:38AM EST

I had to make additional changes as well but you pointed me in the right direction...thanks

I have emailed the new version to your support email address for their review if they are interested.



Up 1 Rated Down
DTI Support  Data Techniques Employee Dec 27, 2012 11:42AM EST

Donald,

Thanks for sending that to us, we'll add it to a kbase article. We arent sure why Delphi messes that up, it did read the type data correctly and generated a portion of the wrapper code for that property but left off part of it.

Odd...

Thanks,
John

This question is closed to new answers.

Contact Us