Support Board
Date/Time: Thu, 28 Nov 2024 12:50:01 +0000
Post From: s_VolumeLevelAtPrice Compilation error
[2023-03-24 17:24:27] |
User411647 - Posts: 19 |
Hi guys Its not possible compilate this code.... Before compil. without errors Any solution please ?? s_VolumeLevelAtPrice* p_VolumeLevelAtPrice = nullptr; int BarIndex = sc.Index; int VAPSizeAtBarIndex = sc.p_VolumeLevelAtPriceForBars->GetSizeAtBarIndex(BarIndex); unsigned int MaxTradeVol = 0; float MaxTradePrice = 0.0f; for (int VAPIndex = 0; VAPIndex < VAPSizeAtBarIndex; VAPIndex++) { if (!sc.p_VolumeLevelAtPriceForBars->GetVAPElementAtIndex(BarIndex, VAPIndex, &p_VolumeLevelAtPrice)) break; unsigned int maxTradeVolAtPrice = sc.p_VolumeLevelAtPriceForBars->GetMaxVolumeAtPrice(BarIndex, p_VolumeLevelAtPrice->PriceInTicks); if (maxTradeVolAtPrice > MaxTradeVol) { MaxTradeVol = maxTradeVolAtPrice; MaxTradePrice = sc.TicksToPriceValue(p_VolumeLevelAtPrice->PriceInTicks); } } 1>Dll18.obj : error LNK2019: Nerozpoznaný externí symbol _CrtDbgReport odkazovaný ve funkci "void __cdecl std::_Verify_range<struct s_VolumeLevelAtPrice>(struct s_VolumeLevelAtPrice const * const,struct s_VolumeLevelAtPrice const * const)" (??$_Verify_range@Us_VolumeLevelAtPrice@@@std@@YAXQEBUs_VolumeLevelAtPrice@@0@Z) 1>..\..\..\..\..\..\SierraChartWithCQG\Data\Dll18.dll : fatal error LNK1120: Počet nerozpoznaných externích typů: 1 1>Sestavení projektu Dll18.vcxproj bylo dokončeno: CHYBA. ========== Nové sestavení: úspěšná: 0, neúspěšná: 1, přeskočilo se: 0 ========== |