Click here to Skip to main content
15,894,907 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Variable types in ASM Pin
Mircea Neacsu27-Mar-24 3:59
Mircea Neacsu27-Mar-24 3:59 
GeneralRe: Variable types in ASM Pin
Richard MacCutchan27-Mar-24 4:02
mveRichard MacCutchan27-Mar-24 4:02 
AnswerRe: Variable types in ASM Pin
Richard MacCutchan27-Mar-24 4:01
mveRichard MacCutchan27-Mar-24 4:01 
GeneralRe: Variable types in ASM Pin
jeron127-Mar-24 4:52
jeron127-Mar-24 4:52 
GeneralRe: Variable types in ASM Pin
Calin Negru27-Mar-24 5:26
Calin Negru27-Mar-24 5:26 
GeneralRe: Variable types in ASM Pin
Richard MacCutchan27-Mar-24 6:09
mveRichard MacCutchan27-Mar-24 6:09 
AnswerRe: Variable types in ASM Pin
Calin Negru27-Mar-24 5:27
Calin Negru27-Mar-24 5:27 
Questioncommunication from library to application Pin
utcode21-Mar-24 16:23
utcode21-Mar-24 16:23 
AnswerRe: communication from library to application Pin
jschell21-Mar-24 16:26
jschell21-Mar-24 16:26 
GeneralRe: communication from library to application Pin
utcode21-Mar-24 16:42
utcode21-Mar-24 16:42 
AnswerRe: communication from library to application Pin
Richard MacCutchan21-Mar-24 22:55
mveRichard MacCutchan21-Mar-24 22:55 
GeneralRe: communication from library to application Pin
utcode22-Mar-24 20:53
utcode22-Mar-24 20:53 
GeneralRe: communication from library to application Pin
Richard MacCutchan22-Mar-24 22:57
mveRichard MacCutchan22-Mar-24 22:57 
GeneralRe: communication from library to application Pin
utcode24-Mar-24 12:31
utcode24-Mar-24 12:31 
GeneralRe: communication from library to application Pin
Dave Kreskowiak24-Mar-24 15:29
mveDave Kreskowiak24-Mar-24 15:29 
GeneralRe: communication from library to application Pin
Richard MacCutchan24-Mar-24 22:26
mveRichard MacCutchan24-Mar-24 22:26 
QuestionWhats reason of error: LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl NS::A::A Pin
Oscar K.16-Mar-24 19:58
Oscar K.16-Mar-24 19:58 
AnswerRe: Whats reason of error: LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl NS::A::A Pin
Richard MacCutchan16-Mar-24 22:50
mveRichard MacCutchan16-Mar-24 22:50 
GeneralRe: Whats reason of error: LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl NS::A::A Pin
Oscar K.17-Mar-24 2:53
Oscar K.17-Mar-24 2:53 
GeneralRe: Whats reason of error: LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl NS::A::A Pin
Richard MacCutchan17-Mar-24 3:28
mveRichard MacCutchan17-Mar-24 3:28 
Oscar K. wrote:
#define MYDLL_EXPORTS in MyDll.cpp invokes macro redefinition
You should only have it in one place, and inside the dll implementation file (MyDll.cpp) is the better choice.

Oscar K. wrote:
extern PrintDelegate printDlgt in MyDll.h is usual decision, that's how it's done
Correct, but that only makes it visible to the build of the DLL. When you build your test code the it is declared extern which the compiler accepts as it should be defined in another compilation unit, as part of the build of the main program. But when you try to link the program the linker cannot find where that item is actually defined because it only exists in the DLL. And since it has not been exported it is not listed in the lib or exp files.
GeneralRe: Whats reason of error: LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl NS::A::A Pin
Oscar K.17-Mar-24 5:45
Oscar K.17-Mar-24 5:45 
GeneralRe: Whats reason of error: LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl NS::A::A Pin
Richard MacCutchan17-Mar-24 6:56
mveRichard MacCutchan17-Mar-24 6:56 
GeneralRe: Whats reason of error: LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl NS::A::A Pin
Oscar K.17-Mar-24 23:36
Oscar K.17-Mar-24 23:36 
QuestionZonal Id Pin
john563214-Mar-24 0:51
john563214-Mar-24 0:51 
QuestionRe: Zonal Id Pin
CPallini14-Mar-24 2:09
mveCPallini14-Mar-24 2:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.