Login Page - Create Account

Support Board


Date/Time: Sat, 18 May 2024 23:30:44 +0000



Post From: DOM data

[2017-02-27 15:21:14]
amirN - Posts: 159
The following code builds fine (from your studies8.cpp) when I compile it in Release mode:

int CurrentVAPPriceInTicks = INT_MIN; // This will be incremented from the lowest to highest price tick in the bar
const s_VolumeAtPriceV2 *p_VolumeAtPrice;
while (sc.VolumeAtPriceForBars->GetNextHigherVAPElement(sc.Index, CurrentVAPPriceInTicks, &p_VolumeAtPrice))
{

However, when I build it in the Debug mode it throws the following linker error:

libcpmtd.lib(stdthrow.obj) : error LNK2019: unresolved external symbol __CrtDbgReportW referenced in function "void __cdecl std::_Debug_message(wchar_t const *,wchar_t const *,unsigned int)" (?_Debug_message@std@@YAXPB_W0I@Z)
1>..\..\..\..\1- Futures\SierraChart\Data\amirN 2.dll : fatal error LNK1120: 1 unresolved externals

What could be wrong?
Date Time Of Last Edit: 2017-02-27 15:22:44