DLL (which reverses a string). Full Source is included for both Delphi and the C++ DLL and this code may be used as you wish.
这是一个简单的测试程序,它从Delphi中调用一个C++函数,函数在DLL中(它的功能是反转一个字符串)。源代码包含Delphi 和C++ DLL代码,可以由你任意使用。
来源: http://www.programmersheaven.com/zone2/cat72/16274.htm