exporting functions in c++ from a dll
i am using run-time linking to import functions from a dll.
now if i use GetProcAdress() i can''t just give an argument with the name of the desired function (as it should be)
but i must use the depended viewer and copy the exported function name and paste it in vc. it looks something like "?InitDll@@YEKS" instead of plain InitDll then.
i think this has got something to do with c++ calling conventions, but i ain''t sure at all.
so how do i have to export the function in the dll in to import it with the proper name?
thanks
ridcully
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement