--- tags: c/c++, dll --- # DLL 1. dll 可以export出function,(然後其他專案只要load dll就能使用這個function)  ``` #ifdef __DLL_EXPORT #define DLLEXPORT __declspec(dllexport) #else #define DLLEXPORT #endif #ifdef __cplusplus extern "C" { #endif ``` 2. 實作部分  AFX_MANAGE_STATE(AfxGetStaticModuleState()) 為mfc架構 or msdn特有 3. 使用方式 c#  msdn 
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up