Home > Back-end >  About the # pragma comment (would, "/EXPORT: MyFunction=? MyFunction @ @ YGHH @ Z ")
About the # pragma comment (would, "/EXPORT: MyFunction=? MyFunction @ @ YGHH @ Z ")

Time:03-06

I have two small question to ask you, MyFunction is write their own dynamic function in the DLL file, it's all about # pragma comment (would, "/EXPORT: MyFunction=? MyFunction @ @ YGHH @ Z ")

1) the # pragma comment (would, "/EXPORT: MyFunction=? MyFunction @ @ YGHH @ Z ") written statements, you can directly in the main function, or other place call MyFunction function is?

(2) the statement # pragma comment would, "/EXPORT: MyFunction=? MyFunction @ @ YGHH @ Z ") how do not write the path name? I mean how to find the function MyFunction program, my understanding is that in vs or vc + + 6.0 project add to write their own project DLL file? Then you can program will find this MyFunction function, and then export, is it? Otherwise you won't find this function MyFunction, am I right?

CodePudding user response:

c + + DLL implicitly and explicitly call

  • Related