logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
yachtfund  
#1 Posted : Tuesday, June 6, 2006 9:21:41 AM(UTC)
yachtfund

Rank: Member

Groups: Registered, Registered Users
Joined: 5/22/2006(UTC)
Posts: 27

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
Patrick  
#2 Posted : Tuesday, June 6, 2006 9:48:31 AM(UTC)
Patrick

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 9/8/2004(UTC)
Posts: 2,266

Was thanked: 1 time(s) in 1 post(s)
Check your definition file ( .def ) and make sure the function you export is called SumArray ... Patrick :mrgreen:
yachtfund  
#3 Posted : Tuesday, June 6, 2006 10:21:02 AM(UTC)
yachtfund

Rank: Member

Groups: Registered, Registered Users
Joined: 5/22/2006(UTC)
Posts: 27

Magic, thanks for that. I think that means the MDK sample is wrong. Unless I changed it by accident.
Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.