Hello ,
I'm writing some app and dll that will be using PS/SC reader(dll purpose is to read information from smart card card, exe app is only for calling dll and manage information readed by dll).

Now i have some specification of dll - the main funtion is :
int WINAPI Card_Read(char *CardCode, int size , int ReadersIndex, refreshStatus ptrFunc)

I wrote some dll for another app and it is working.
I want to use this dll in my app(and link it like a static library). My question is that if i change some code ( example APDU commands ) inside this dll function and compile dll - it will be still working with my app if i link it like a staic library?
I don't uderstand it from assemby point of view. When I compile app with .lib from my dll it tells app what is adress of the function?
So when I change some code that adress of the function will change too?
There will be a need to change the code of this function from time to time - do I need to link it dynamically?

Sorry - I know this is maybe silly question - but I'm confused about this.