Click here to Skip to main content
15,076,465 members
Home / Discussions / ATL / WTL / STL


Questioncode Pin
Member 1222782612-Jun-16 21:24
MemberMember 1222782612-Jun-16 21:24 
AnswerRe: code Pin
Jochen Arndt12-Jun-16 22:38
professionalJochen Arndt12-Jun-16 22:38 
AnswerRe: code Pin
Patrice T17-Feb-17 13:47
mvePatrice T17-Feb-17 13:47 
QuestionSending raw data to a chinese POS58 thermal printer Pin
sdancer757-Jun-16 8:42
Membersdancer757-Jun-16 8:42 
AnswerRe: Sending raw data to a chinese POS58 thermal printer Pin
Richard MacCutchan7-Jun-16 8:59
mveRichard MacCutchan7-Jun-16 8:59 
QuestionDatabase Migration in C++ and Oracle Pin
Donguy197611-May-16 11:30
MemberDonguy197611-May-16 11:30 
AnswerRe: Database Migration in C++ and Oracle Pin
Richard MacCutchan11-May-16 20:29
mveRichard MacCutchan11-May-16 20:29 
QuestionLinking my first DLL Pin
bkelly1328-Feb-16 14:53
Memberbkelly1328-Feb-16 14:53 
I am trying to build and use my first DLL. After editing in the source code and building the Debug directory contains the .dll, the .lib and four additional files. A console app is created in the same solution but another project and built without referencing the dll. The .dll and .lib are copied to the solution directory. In the console app I added:
#include "E:\CODE\Common_Utilities\Common_Utilities\Common_Utilities.h"

Ctl-F7 produces a successful compile. A build produces this error.
Error 1 error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl Get_Text_For_Error_Code(unsigned long,wchar_t *,unsigned int)" (__imp_?Get_Text_For_Error_Code@@YAXKPA_WI@Z) referenced in function _wmain E:\CODE\Common_Utilities\Test_Get_Text_For_Error_Code\Test_Get_Text_For_Error_Code.obj Test_Get_Text_For_Error_Code

After some searches my latest attempt to fix is by: Right click solution -> Properties -> Linker -> General -> Additional Library Directories
There I edited in the path to the DLL. No help.
This is my first DLL attempt and I strongly suspect there is something simple I have missed. Please point me in the right direction.
Thank you for your time

AnswerRe: Linking my first DLL Pin
Richard MacCutchan28-Feb-16 21:35
mveRichard MacCutchan28-Feb-16 21:35 
GeneralRe: Linking my first DLL Pin
bkelly1329-Feb-16 15:50
Memberbkelly1329-Feb-16 15:50 
GeneralRe: Linking my first DLL Pin
Richard MacCutchan29-Feb-16 21:52
mveRichard MacCutchan29-Feb-16 21:52 
GeneralRe: Linking my first DLL Pin
bkelly131-Mar-16 12:46
Memberbkelly131-Mar-16 12:46 
GeneralRe: Linking my first DLL Pin
Richard Andrew x641-Mar-16 15:01
professionalRichard Andrew x641-Mar-16 15:01 
GeneralRe: Linking my first DLL Pin
Richard MacCutchan1-Mar-16 21:58
mveRichard MacCutchan1-Mar-16 21:58 
QuestionDLL article question Resolved Pin
bkelly1327-Feb-16 11:10
Memberbkelly1327-Feb-16 11:10 
AnswerRe: DLL article question Pin
Richard Andrew x6427-Feb-16 13:32
professionalRichard Andrew x6427-Feb-16 13:32 
GeneralRe: DLL article question Pin
bkelly1328-Feb-16 3:18
Memberbkelly1328-Feb-16 3:18 
QuestionDLL Questions Pin
bkelly1324-Feb-16 13:34
Memberbkelly1324-Feb-16 13:34 
AnswerRe: DLL Questions Pin
Richard Andrew x6424-Feb-16 14:17
professionalRichard Andrew x6424-Feb-16 14:17 
GeneralRe: DLL Questions Pin
Kenneth Haugland24-Feb-16 15:40
professionalKenneth Haugland24-Feb-16 15:40 
GeneralRe: DLL Questions Pin
Richard MacCutchan24-Feb-16 21:34
mveRichard MacCutchan24-Feb-16 21:34 
AnswerRe: DLL Questions Pin
Richard MacCutchan24-Feb-16 21:33
mveRichard MacCutchan24-Feb-16 21:33 
GeneralRe: DLL Questions Pin
bkelly1325-Feb-16 13:07
Memberbkelly1325-Feb-16 13:07 
GeneralRe: DLL Questions Pin
Richard MacCutchan25-Feb-16 22:18
mveRichard MacCutchan25-Feb-16 22:18 
GeneralRe: DLL Questions Pin
Jochen Arndt25-Feb-16 22:37
professionalJochen Arndt25-Feb-16 22:37 

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.