Forum > Windows

[Fixed] Error: expected ], but '{B670A922-E488-11D4-...'} found

(1/2) > >>

sstvmaster:
Hello,

I downloaded from here http://www.satsignal.eu/software/wxtrack.htm#SGP4 the this file: http://www.satsignal.eu/software/SGP4comp360.zip

When I start a new project and I want to use the unit DJTSatLib_TLB into the uses and create an event (onCreate) I get the following message:

--- Quote ---DJTSatLib_TLB.pas(120,6) Error: expected ], but '{B670A922-E488-11D4-ADE9-00A0CC5AA94A}' found
--- End quote ---

In preparation, the DJTSatLib.dll needs to be registered with regsvr32, which worked well.

As an attachment, I attached the project with dll and so on.

Can anyone help me please?

Rgr Maik

sstvmaster:
Now the DJTSatLib.dll

molly:
Perhaps a {$MODE DELPHI} on top of your unit DJTSatLib_TLB ?

ASerge:

--- Quote from: molly on November 26, 2017, 02:22:21 am ---Perhaps a {$MODE DELPHI} on top of your unit DJTSatLib_TLB ?

--- End quote ---
It's true. With this switch, the compiler displays only hints and warning.
With {$MODE OBJFPC} many errors like this:

--- Quote ---DJTSatLib_TLB.pas(97,53) Error: Duplicate identifier "Period"
--- End quote ---

sstvmaster:
So now once again.

Laz 1.8 RC5: no errors
Laz 1.9 Trunk 56511: The error as described.
both 32bit.

Tested under W7 prof. x32 + x64.

I'm thinking that is a bug.

Thank you all.

Maik

Navigation

[0] Message Index

[#] Next page

Go to full version