ahh, yes, i've done this much. I've been able to add this location to the linker options
ahh, yes, i've done this much. I've been able to add this location to the linker options
Now that you have the directory, you have to specify the libraries themselves under Linker -> Input -> Additional Dependencies.
yes, this is correct. I specified the exact path
Ok, I've been able to compile the application.
It's a console application, it compiles then tried to Execute but tells me the 3rd party DLL can't be found when running (error)
I tried copying and pasting the DLL in the Release folder of the project, no luck.
Another thing, it's running but I can't find the EXE?? Weird.
Command Lines Creating temporary file "c:\NET_DEVELOPMENT\scrap\TestWIZARD\MCS_API\MCS_C all\Release\RSP0000251163211232.rsp" with contents
[
/O2 /GL /I "C:\MCS_API\NNSMCAPI_Package\Include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /FD /EHsc /MDd /Zp1 /Zc:wchar_t- /Yu"stdafx.h" /Fp"Release\MCS_Call.pch" /Fo"Release\\" /Fd"Release\vc80.pdb" /W3 /c /Wp64 /Zi /TP .\SipApp.cpp
.\MCS_Call.cpp
]
Creating command line "cl.exe @c:\NET_DEVELOPMENT\scrap\TestWIZARD\MCS_API\MCS_C all\Release\RSP0000251163211232.rsp /nologo /errorReportrompt"
Creating temporary file "c:\NET_DEVELOPMENT\scrap\TestWIZARD\MCS_API\MCS_C all\Release\RSP0000261163211232.rsp" with contents
[
/O2 /GL /I "C:\MCS_API\NNSMCAPI_Package\Include" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /FD /EHsc /MDd /Zp1 /Zc:wchar_t- /Yc"stdafx.h" /Fp"Release\MCS_Call.pch" /Fo"Release\\" /Fd"Release\vc80.pdb" /W3 /c /Wp64 /Zi /TP .\stdafx.cpp
]
Creating command line "cl.exe @c:\NET_DEVELOPMENT\scrap\TestWIZARD\MCS_API\MCS_C all\Release\RSP0000261163211232.rsp /nologo /errorReportrompt"
Creating temporary file "c:\NET_DEVELOPMENT\scrap\TestWIZARD\MCS_API\MCS_C all\Release\RSP0000271163211232.rsp" with contents
[
/OUT:"C:\NET_DEVELOPMENT\scrap\TestWIZARD\MCS_API\R elease\MCS_Call.exe" /INCREMENTAL:NO /LIBPATH:"C:\MCS_API\NNSMCAPI_Package\lib\Release" /MANIFEST /MANIFESTFILE:"Release\MCS_Call.exe.intermediate.ma nifest" /DEBUG /PDB:"c:\NET_DEVELOPMENT\scrap\TestWIZARD\MCS_API\r elease\MCS_Call.pdb" /SUBSYSTEM:CONSOLE /OPT:REF /OPT:ICF /LTCG /MACHINE:X86 "C:\\program Files\\nortel PC Client\\bin\\NNSMCAPI.lib" "C:\\Program Files\\Microsoft Visual Studio 8\\VC\\PlatformSDK\\Lib\\bufferoverflowu.lib" kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
".\Release\MCS_Call.obj"
".\Release\SipApp.obj"
".\Release\stdafx.obj"
]
Creating command line "link.exe @c:\NET_DEVELOPMENT\scrap\TestWIZARD\MCS_API\MCS_C all\Release\RSP0000271163211232.rsp /NOLOGO /ERRORREPORT:PROMPT"
Creating temporary file "c:\NET_DEVELOPMENT\scrap\TestWIZARD\MCS_API\MCS_C all\Release\RSP0000281163211232.rsp" with contents
[
/outputresource:"..\release\MCS_Call.exe;#1" /manifest
.\Release\MCS_Call.exe.intermediate.manifest
]
Creating command line "mt.exe @c:\NET_DEVELOPMENT\scrap\TestWIZARD\MCS_API\MCS_C all\Release\RSP0000281163211232.rsp /nologo"
Creating temporary file "c:\NET_DEVELOPMENT\scrap\TestWIZARD\MCS_API\MCS_C all\Release\BAT0000291163211232.bat" with contents
[
@echo Manifest resource last updated at %TIME% on %DATE% > .\Release\mt.dep
]
Creating command line "c:\NET_DEVELOPMENT\scrap\TestWIZARD\MCS_API\MCS_C all\Release\BAT0000291163211232.bat"
Ok, compile and execute was fixed, I wasn't looking in the right location for the EXE.
anyway, new problem. Hope someone can help me.
I get a Access Violation Reading Location error.
When I follow some of the code I find this
The _First , _Size and _First2 look normal. however, the _Count value doesn't mean anything to me.Code:template<class _Traits> inline typename _Traits::char_type *copy_s(typename _Traits::char_type *_First1, size_t _Size, const typename _Traits::char_type *_First2, size_t _Count, _Secure_char_traits_tag) { return _Traits::_Copy_s(_First1, _Size, _First2, _Count); }
_Size is 31 and _Count is something like 1244784?
Any ideas?
Can you go to the first place in the call stack that is part of your code and show us that?
this is what is called
Client::instance().initialize(L"sometext");
You'll probably have to do a little more investigating, since that doesn't help much. What else is on the call stack? What calls copy_s? Are any of the objects null or deleted or uninitialized?
it would have to be something in the 3rd party dll
also, i can compile as "debug" only as "release"
Debug gives me a slew of errors.
I have it working in debug now but the same section of code gives me a different error.
std::length_error at memory location 0x00012....
is there some kind if log I can get so I can post here?