我有现成的C++源码,现在需要将这个C++源码里的一个函数封装为DLL供易语言调用 将这段代码转成C来编译为DLL也可以,只要可以让易语言正常调用即可 下面是我封装好的函数,现在主要就是传参问题(里面的运行代码我给删了): `extern "C" __declspec(dllexport) bool GetBulletDropAndTravelTime(FVector & GunLocation, FRotator & GunRotation, FVector & TargetPos, float ZeroingDistance, float BulletDropAdd, float InitialSpeed, float TrajectoryGravityZ, float BallisticDragScale, float BallisticDropScale, float BDS, float SimulationSubstepTime, float VDragCoefficient, FRichCurve & RichCurve, int KeysNum, std::vector & Keys, float* BulletDropR, float* TravelTimeR) { *BulletDropR = GunLocation.X; *TravelTimeR = ZeroingDistance; return true; } ` 半吊子别来,我没时间陪你共同学习...