Working with declares

I have windows desktop application in which i am printing barcode lables using smart label printer.
I have installed SDK, created declares for printer functions.
Its working fine from build on devlopmemt machine.
But i copied my build folder to another machine where printers drivers are installed its not working.
Gets error as “Function not found in dll”

Can anyone tell me whats wrong here?

I have palced dll at exe location in build folder.

The Function not Found error ought to mention the function name and DLL. That should give you a clue.

One possibility is that the DLL is 64 bit and the app is 32-bit (or vice versa).