Is it possible to develop a VST using Visual Basic 6?

DSP, Plugin and Host development discussion.
RELATED
PRODUCTS

Post

I'm not sure Bjarne Soustroup has grasped C++ properly, let alone me.

Post

nollock wrote:
For sure write abstracted interface for somthing like patch file i/o but dont write a cross platform one untill you need it. It would be a waste of time.
No, using good APIs means that coding is both quicker in the first place AND cross platform. There are standard file I/O libs for C++. Using these would make your code naturally cross platform, and save you time rather than writing platform specific file reading/writing code. Why compromise?
Music with dinner is an insult both to the cook and the violinist.

Post

Cross-platform it may be, but describing the C or C++ file access libraries as "good" is a bit of a stretch.

Java and C#, they've got sensible libraries.

Post

OK, what about the Object Pascal libraries? :)
Music with dinner is an insult both to the cook and the violinist.

Post

To be honest, I don't know them. To make it a bit clearer: I don't like the operator overloading idiocy of C++, and I don't like the lack of abstraction and type safety in stdio.

I imagine the object pascal libraries don't suffer from either of these as badly, but can you, for instance, write to a string as easily as to a file?

The other problem, of course, is that there's no sensible way of handling pathnames. You've just got to write separate code paths.

Post

griels wrote:
nollock wrote:
For sure write abstracted interface for somthing like patch file i/o but dont write a cross platform one untill you need it. It would be a waste of time.
No, using good APIs means that coding is both quicker in the first place AND cross platform.
There are standard file I/O libs for C++. Using these would make your code naturally cross platform, and save you time rather than writing platform specific file reading/writing code. Why compromise?
ok so file i/o was a bad example. But i realy do think you have missed the point. Are you saying everything should be coded cross platform even though you have no need for it? Should sombody go to all the trouble of finding and intergrating cross platform libs for graphics and the gui ect.. even though you have no intention of making the product cross platform?

chris

Post

It's good programming practice to make things as portable as possible, WHERE possible...

Perhaps that shouldn't be taken to the extreme that you sacrifice your programs functionality and slow the process of developement considerably.

The thought to consider in general practice is the re-useability of the code you write. Will you be able to plug that same code into a new project later on down the line? Because if you could, you might save yourself and others a lot of time. Using portable code that is based on a long standing standard is a good way to ensure the re-usability of your code (good commenting will help you too ;) ).

I have coded many MIDI utilities for myself and my daily hobby music... this in order to accomplish some tricks that aren't readily available to me in other software. Instead of re-coding my MIDI input/output setting screens and new MIDI message polling and such... I am able to re-use the same code very easily.... partially due to my code being highly modular and partially because it adheres to a standard I have used accross all of my apps.

Post

nollock wrote:ok so file i/o was a bad example. But i realy do think you have missed the point. Are you saying everything should be coded cross platform even though you have no need for it? Should sombody go to all the trouble of finding and intergrating cross platform libs for graphics and the gui ect.. even though you have no intention of making the product cross platform?

chris
No, I'm just saying that as abstraction can save you time, you might as well use it until it starts costing you time :D Start with the best intentions, then cross the bridge of such technicalities when you come to them, instead of burning your cross platform bridges at the start? :lol:
Music with dinner is an insult both to the cook and the violinist.

Post

If you use something like Qt, your C++ will already be portable between UNIX, Linux, Windows and OSX. You just need to recompile it!
It is a really nice set of classes, and is pretty powerful (with help fom the meta object compiler). Its got features similar to the VCL, but without using non-standard C++.
I've only just discovered it - it looks fantastic.

Post

Borland's C++ Builder and Delphi environments switched to using Qt when Kylix was released.

It seems that Borland are steeping away from Qt with the release of BuilderX, but versions of C++Builder and Delphi with native Qt support are still available.
Someone shot the food. Remember: don't shoot food!

Post

griels wrote:No, I'm just saying that as abstraction can save you time, you might as well use it until it starts costing you time :D Start with the best intentions, then cross the bridge of such technicalities when you come to them, instead of burning your cross platform bridges at the start? :lol:
Ok

chris

Post

texture wrote:If you use something like Qt, your C++ will already be portable between UNIX, Linux, Windows and OSX. You just need to recompile it!
It is a really nice set of classes, and is pretty powerful (with help fom the meta object compiler). Its got features similar to the VCL, but without using non-standard C++.
I've only just discovered it - it looks fantastic.
you should check here too..

http://www.atai.org/guitool/

Post

valley wrote:It seems that Borland are steeping away from Qt with the release of BuilderX, but versions of C++Builder and Delphi with native Qt support are still available.
This, of course, is one of the major problems with most "platform-independent" stuff. They lock you into their platform.

No a criticism of open-source stuff, but I've seen too many CORBA implementations go wrong...

Post Reply

Return to “DSP and Plugin Development”