SPeriDLL, is a synonym for 'Sample Peripheral DLL' ,it is used by VC6.0, Can I develope the AGSI function by Borland C++ builder 5.0? I wish do it !
the resulting DLL in uVision v2.07 gives this warning: The specified DLL is not complete: c:\program files\Keil\C51\BIN\SPeriDLL.dll Continuing without specified peripheral... I have found that DLL export names have the underscore prefix; eg, _AgsiEntry. If I turn off underscore generation, it won't link to the RTL funtions (_sprintf, etc). If you're familiar with BCB5, do you know how I can turn off the underscore generation for just AgsiEntry?
OK, I fixed that one as follows: 1. Build the DLL using BCB 2. Generate a Module Definition File using
impdef -a SPeriDLL.def SPeriDLL.dll
EXPORTS AgsiEntry=_AgsiEntry @1
I'm looking forward to your succeed.