Visual Stidio 2015 # pragma comment (linker, "/EXPORT options

前端 未结 1 1721
温柔的废话
温柔的废话 2020-12-12 07:44
Visual Stuio 2015 #pragma comment(linker, \"/EXPORT  options

After migration to X64 I had to remove the following pragmas

#pragma c         


        
相关标签:
1条回答
  • 2020-12-12 08:47

    Now I see the Problem without the pagmas

    pragma comment(linker,"/EXPORT:DllCanUnloadNow=_DllCanUnloadNow@0,PRIVATE")
    pragma comment(linker,/EXPORT:DllGetClassObject=_DllGetClassObject@12,PRIVATE")
    pragma comment(linker, "/EXPORT:DllRegisterServer=_DllRegisterServer@0,PRIVATE")
    pragma omment(linker,"/EXPORT:DllUnregisterServer=_DllUnregisterServer@0,PRIVATE")
    

    Are needed without them can not register my dll with regsv32 because the function llRegisterServer is missing- So i have to implement this Function bot why this works only for X86 and not for X64 even if there where no source changes and only some adaption of the project

    0 讨论(0)
提交回复
热议问题