Hi, Is it possible to place a MessageBox option in the DLL code which was not built as an MFC dll. in VC++ 6.0 Platform. If possible, please let me know which header file is required. Because I have tried # include windows.h. However, I have got the error as
“error C2501: 'MessageBoxA' : missing storage-class or type specifiers” and “error C2373: 'MessageBoxA' : redefinition; different type modifiers”
I have given try doing changes in project setting as Project Settings->General Tab -> Microsoft Foundation Classes: -> Pull down menu has tree options 1. Not Using MFC
2. Use MFC in a Static Library and 3.Use MFC in a Shared DLL . I have tried all these three option, however, error C2501 and error C2373 are still present. Please suggest me that in this condition how would be Popup Message can display. I believe that MessageBox is MFC class member function. I am not looking only MessageBox, I am ok with any kind of function or member function or API which will prompt to user about error message. I will appreciate help. Thank you.