Login Page - Create Account

Support Board


Date/Time: Sat, 27 Apr 2024 21:13:19 +0000



Post From: help on some basics of calling external DLL

[2018-04-17 03:39:16]
Andy Sureway - Posts: 93
It looks like I need more of your help on this topic.

Basically, I just followed the DDL example in the following link.
https://www.codeguru.com/cpp/cpp/cpp_mfc/tutorials/article.php/c9855/DLL-Tutorial-For-Beginners.htm

I have made a go with Visual C++ 2017. And I modified the code for Sierra Charts slightly, and tried to put DLL_Tutorial.dll in the Data Subfolder or the main installation folder. No success at all. (The study always plots a value of 10, which is the value when the dll is not loaded successfully.)

Could you please take a look? Thanks a lot!

Both the cpp file and the dll files are uploaded her.
attachmentDLL_Tutorial.dll - Attached On 2018-04-17 03:38:20 UTC - Size: 44.5 KB - 327 views
attachmentApplication.cpp - Attached On 2018-04-17 03:38:34 UTC - Size: 2.44 KB - 320 views
Attachment Deleted.