Sign in
|
Join
|
Help
in
MetaStock Developer's Kit (MDK) Assistance (forum)
Special Interest Groups (group)
(Entire Site)
Search
Home
Blogs
Discussions
Images
Files
External News
Equis International Online Com...
»
Special Interest Groups
»
MetaStock Developer's Kit (MDK...
»
Re: CSampleDLL compile errors [RESOLVED]
CSampleDLL compile errors [RESOLVED]
Last post 06-06-2006, 10:21 by
yachtfund
. 2 replies.
Sort Posts:
Oldest to newest
Newest to oldest
Previous
Next
06-06-2006, 9:21
17940
yachtfund
Joined on 05-22-2006
Posts 27
CSampleDLL compile errors [RESOLVED]
Hi All
Im having problems compiling the CSampleDLL and get the following error:-
--------------------Configuration: CSampleDLL - Win32 Debug--------------------
Linking...
CSampleDLL.def : error LNK2001: unresolved external symbol SumArray
Debug/CSampleDLL.lib : fatal error LNK1120: 1 unresolved externals
LINK : fatal error LNK1141: failure during build of exports file
Error executing link.exe.
CSampleDLL.dll - 3 error(s), 0 warning(s)
Im new to C++ and thought compiling this would be easy....
My aim is to write a DLL that will take a strategy ID and a buy or sell signal from MetaStock. I then want to pass this info to a VB app that will then work out the money management and send my orders to InteractiveBrokers. Thought I would mention it just incase someone else has already done it and was feeling EXTREMELY generous.
Thanks All
YachtFund
Post Points: 0
Report abuse
06-06-2006, 9:48
17941
in reply to
17940
Patrick
Joined on 09-08-2004
Lyon
Posts 2,292
Re: CSampleDLL compile errors [RESOLVED]
Check your definition file ( .def ) and make sure the function you export is called SumArray ...
Patrick :mrgreen:
My Site
Post Points: 0
Report abuse
06-06-2006, 10:21
17942
in reply to
17940
yachtfund
Joined on 05-22-2006
Posts 27
Re: CSampleDLL compile errors [RESOLVED]
Magic, thanks for that.
I think that means the MDK sample is wrong. Unless I changed it by accident.
Post Points: 0
Report abuse
Copyright © 2009 Equis International, a Thomson Reuters company. All rights reserved.
Community Dedication
|
Membership Policy
|
Community Rules
|
Privacy
|
About