how use a DLL function?

hello people!!!, i need know, how is the correct way to use a DLL inside UE4 and the using inside a bluprintcallable function.
any idea are welcome, thanks for the help!!!

It’s C++, you can do anything that you can do in C++, including use of any liberies normally from there header files instead of using dll call hacks like in UnrealScript

What DLL you want to use?

hello my DLL is something special to comunicate hardware via serial port, but actually i made a little example with simple maths funtions,
inside unreal i try this after regular constructor:
float Ahardware::getCilinderArea(float radius, float height)

      HINSTANCE hardwareDLL = LoadLibrary(_T("C:\\Users\\yoshito3d\\Documents\\Visual Studio 2013\\Projects\\hardware\\Debug\	est.dll"));

FARPROC getFunction = GetProcAddress(HMODULE(hardwareDLL), "getCilinderArea");

typedef float(__stdcall * pICFUNC)(float, float);

float output = getCilinderArea(radius, height);


return output;


This may also be of use.