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?
|
|
|
|
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... :(
|
|
|
|
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.
|
|
|
|
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.
|
|
|
|
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:
|
|
|
|
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
|
|
|
|
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
|
|
|
|
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.