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

Notification

Icon
Error

Options
Go to last post Go to first unread
ClaudeBrunet  
#1 Posted : Wednesday, May 23, 2012 4:24:01 AM(UTC)
ClaudeBrunet

Rank: Member

Groups: Registered, Registered Users
Joined: 5/22/2012(UTC)
Posts: 19

Hi, i'm new in metastock , and i like to program a dll with power basic this is the code,it's for testing link between MS and powerBasic; #COMPILE DLL #DIM ALL #INCLUDE ONCE "Win32API.inc" DECLARE FUNCTION maxjour (BYVAL haut AS SINGLE)EXPORT AS SINGLE GLOBAL o AS INTEGER GLOBAL maxj AS SINGLE GLOBAL ghInstance AS DWORD FUNCTION maxjour (BYVAL haut AS SINGLE)EXPORT AS SINGLE maxjour=haut*2/3 END FUNCTION I make the dll in C:\Program Files (x86)\Equis\MetaStock\External Function Dlls after that i restart Metastock with "executer en tant que administrator" but i can't found either the name of dll in function category or the function in paste function. Have you any suggestions or solutions . and Thank you by advance.
wabbit  
#2 Posted : Wednesday, May 23, 2012 6:29:39 PM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
The headers required for MS DLLs are contained in the MDK, which comes with a manual and PB sample codes.


wabbit [:D]

ClaudeBrunet  
#3 Posted : Thursday, May 24, 2012 1:05:00 AM(UTC)
ClaudeBrunet

Rank: Member

Groups: Registered, Registered Users
Joined: 5/22/2012(UTC)
Posts: 19

Thank you for your replay wabbit, where i can found the MDK ?? Thanks.
wabbit  
#4 Posted : Thursday, May 24, 2012 6:25:18 PM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
ClaudeBrunet  
#5 Posted : Thursday, May 31, 2012 4:02:15 AM(UTC)
ClaudeBrunet

Rank: Member

Groups: Registered, Registered Users
Joined: 5/22/2012(UTC)
Posts: 19

Thanks :)
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.