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

Notification

Icon
Error

Options
Go to last post Go to first unread
wjhorsley  
#1 Posted : Sunday, April 23, 2006 8:34:38 PM(UTC)
wjhorsley

Rank: Newbie

Groups: Registered, Registered Users
Joined: 3/17/2006(UTC)
Posts: 4

I just got the dev. kit and it says VB can't make DLL's. I have VB6 Pro which can create ActiveX DLL's. Shouldn't this work for MSX?
StorkBite  
#2 Posted : Sunday, April 23, 2006 8:53:31 PM(UTC)
StorkBite

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 3/19/2005(UTC)
Posts: 2,995

Was thanked: 14 time(s) in 10 post(s)
No. You cannot make an external 32bit dll using VB. You can use VB to work with the MSFL, but not MSX. The closest alternative available might be Power Basic, but there are quite a few differences. Still, IMO, it is better than learning a language that is altogether different. There is more info available on this topic in the programming forum. Truly, it has disappointed quite a few of us; but, there remains no light at the end of the tunnel. It would require a complete rewrite of the source code to allow this to ever take place... at least that's what my reliable sources state... :(
Branden Russell  
#3 Posted : Sunday, April 23, 2006 11:17:53 PM(UTC)
Branden Russell

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 11/28/2005(UTC)
Posts: 276
Location: Salt Lake City, UT

There is no rewrite that we could do to allow VB 6 to do MSX. It is not capable of compiling Win32 DLLs. Yes, VB.NET can compile a .NET DLL and MetaStock would have to be rewritten completely, to allow .NET DLLs to work properly.
StorkBite  
#4 Posted : Monday, April 24, 2006 12:03:16 AM(UTC)
StorkBite

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 3/19/2005(UTC)
Posts: 2,995

Was thanked: 14 time(s) in 10 post(s)
VB.NET... that's what I meant. Sorry for not being clear.
vaughn  
#5 Posted : Monday, April 24, 2006 12:14:34 AM(UTC)
vaughn

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/16/2005(UTC)
Posts: 93
Location: Maryland,US

Ahhh, I remember the sadness of when I got my dev kit and finding the same thing :cry:
wabbit  
#6 Posted : Monday, April 24, 2006 3:26:27 AM(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)
I used to be a big VB programmer, never did much work in C++.... There is not a lot of differences. Contextually there are, but logically, programatically there isn't. So it should not be that hard for you to "learn" another language. If you're going to use VisualStudio6 as your IDE, books I recommend: "Beginning Visual C++", Ivor Horton, Wrox Press "Teach Yourself Visual C++ 6 in 21 Days", Davis Chapman, SAMS publishing wabbit :D
wjhorsley  
#7 Posted : Monday, April 24, 2006 4:01:46 PM(UTC)
wjhorsley

Rank: Newbie

Groups: Registered, Registered Users
Joined: 3/17/2006(UTC)
Posts: 4

Thanks for the replies. By the way, it turns out my Firefox browser doesn't work with the forum. When I use it, I log on fine but I don't see the reply boxes at the bottom. When I use Internet explorer they show up. I have books on C++, etc. as well as three new ones on VS2005 covering VB and C++. I have put them away and gone back to VB6, which, for me, are obvious reasons and which, for the rest of the world, don't seem to be. Can't fix my car, tv, and I can't stand managed code. Oh well. Just thought of an experiment I could try. Can someone send me the most simple PowerBasic program possible that does something in Metastock. I can try compiling it as an ActiveX DLL and see, for myself, if it works or doesn't. I'll let you know the results. Bill
Branden Russell  
#8 Posted : Monday, April 24, 2006 4:21:52 PM(UTC)
Branden Russell

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 11/28/2005(UTC)
Posts: 276
Location: Salt Lake City, UT

wjhorsley wrote:
...By the way, it turns out my Firefox browser doesn't work with the forum....
I often use FireFox on the forum. What version are you on? I am on the latest, but haven't ever noticed a problem.
wjhorsley wrote:
...I have put them away and gone back to VB6, which, for me, are obvious reasons and which, for the rest of the world, don't seem to be. Can't fix my car, tv, and I can't stand managed code. Oh well.
C++ MSX DLLs don't need to be managed code. Just do a plain Win32 DLL (which is, I believe, all VC6 can do). What is the problem with managed anyway?
wjhorsley wrote:
Just thought of an experiment I could try. Can someone send me the most simple PowerBasic program possible that does something in Metastock. I can try compiling it as an ActiveX DLL and see, for myself, if it works or doesn't. I'll let you know the results.
A PowerBasic example comes with the MetaStock Developers Kit. If you have the MDK, you have the sample.
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.