Login Page - Create Account

Support Board


Date/Time: Thu, 28 Mar 2024 21:03:54 +0000



[Programming Help] - Error: Windows error code 127: The specified procedure could not be found.

View Count: 658

[2019-09-08 21:30:04]
jseppa - Posts: 18
Getting the following error when loading up my custom DLL:

Failed to get the function address for scsf_AcceptancePicture() in C:\Users\jsepp\IdeaProjects\wilmatrading\SierraChart\Data\FF_Studies_64.dll.dll. Error: Windows error code 127: The specified procedure could not be found.

Although there are 2 studies to select, one is the correct one "AcceptancePicture" and one is the error (see attachment)

I'm not sure how to remove this errored study from the list, my source code only has "SCSFExport scsf_AcceptancePicture(SCStudyInterfaceRef sc)"

Note, the custom study "AcceptancePicture" works fine when loaded. It's just annoying to have that error study in the list.

Any ideas on how to remove? I'm using cl.exe for building:

echo Building 64 bit DLL ...
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64

cl /Zc:wchar_t /GS /GL /W3 /O2 /Zc:inline /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /D "_WINDLL" /Oy /Gd /Gy /Oi /GR- /GF ^
/Ot /fp:precise /MD /LD /EHa /WX- /nologo ^
/I "C:\boost_1_71_0" ^
/I "C:\Users\jsepp\IdeaProjects\plog\include" ^
"C:\Users\jsepp\IdeaProjects\wilmatrading\SierraChart\ACS_Source\_FF_Studies\ValueArea\*.cpp" ^
"C:\Users\jsepp\IdeaProjects\wilmatrading\SierraChart\ACS_Source\_FF_Studies\Line\*.cpp" ^
"C:\Users\jsepp\IdeaProjects\wilmatrading\SierraChart\ACS_Source\_FF_Studies\Logger\*.cpp" ^
"C:\Users\jsepp\IdeaProjects\wilmatrading\SierraChart\ACS_Source\_FF_Studies\Util\*.cpp" ^
"C:\Users\jsepp\IdeaProjects\wilmatrading\SierraChart\ACS_Source\_FF_Studies\SC\*.cpp" ^
/link /LIBPATH:"C:\boost_1_71_0\stage\lib" "C:\boost_1_71_0\stage\lib\libboost_date_time-vc140-mt-x64-1_71.lib"

lib ^
/LTCG ^
/out:"C:\Users\jsepp\IdeaProjects\wilmatrading\SierraChart\ACS_Source\_FF_Studies_library.lib" ^
"C:\Users\jsepp\IdeaProjects\wilmatrading\SierraChart\ACS_Source\*.obj"

echo Stop Study (update shared memory to tell the study to free the custom class instance)
server.exe 1

echo Release DLL
udp.exe --release --dll C:\Users\jsepp\IdeaProjects\wilmatrading\SierraChart\Data\FF_Studies_64.dll

echo Build DLL
cl /Zc:wchar_t /GS /GL /W3 /O2 /Zc:inline /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /D "_WINDLL" /Oy /Gd /Gy /Oi /GR- /GF ^
/Ot /fp:precise /MD /LD /EHa /WX- /nologo ^
/I "C:\boost_1_71_0" ^
/I "C:\Users\jsepp\IdeaProjects\plog\include" ^
"C:\Users\jsepp\IdeaProjects\wilmatrading\SierraChart\ACS_Source\_FF_Studies.cpp" ^
/link /LIBPATH:"C:\boost_1_71_0\stage\lib" "Gdi32.lib" "C:\boost_1_71_0\stage\lib\libboost_date_time-vc140-mt-x64-1_71.lib" ^
"C:\Users\jsepp\IdeaProjects\wilmatrading\SierraChart\ACS_Source\_FF_Studies_library.lib" ^
/DLL /DYNAMICBASE /INCREMENTAL:NO /OPT:REF /OPT:ICF /MACHINE:X64 ^
/OUT:"C:\Users\jsepp\IdeaProjects\wilmatrading\SierraChart\Data\FF_Studies_64.dll"

echo Load DLL
udp.exe --load --dll C:\Users\jsepp\IdeaProjects\wilmatrading\SierraChart\Data\FF_Studies_64.dll


imagestudy selection.png / V - Attached On 2019-09-08 21:24:00 UTC - Size: 12.89 KB - 223 views
Attachment Deleted.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account