[Lazarus] Newbie, porting class to FPC but get procedure assignment error

patspiper patspiper at gmail.com
Sat Jun 20 10:27:27 CEST 2015


On 19/06/15 22:44, Bo Berglund wrote:
> The error message when compiling the source: DongleTest.lpr(22,1) 
> Error: Undefined symbol: 
> SPROMEPS_RNBOSPROFORMATPACKET$RB_SPRO_APIPACKET_PTR$WORD$$WORD In 
> SproMeps.pas: implementation FUNCTION RNBOsproFormatPacket( ApiPacket 
> : RB_SPRO_APIPACKET_PTR; thePacketSize : WORD ) : WORD; STDCALL; 
> EXTERNAL; I did not really understand any of teh discussions in the 
> linked articles... Any idea what to do for this particular functio? 
> There are 13 in total.. 

What's the output of objconv -dfhs SPROMEPS.coff?

In particular, check the mangled name of RNBOsproFormatPacket and list 
it here.

Stephano




More information about the Lazarus mailing list