SDL in VB 6

I’m just curious, has anyone ever made a library for VB to use SDL?

If not does anyone know a good place to start researching a way to do
so? I love VB so much I don’t want to learn C++ just to use this
wonderful library.

I’m just curious, has anyone ever made a library for VB to use SDL?

If not does anyone know a good place to start researching a way to do
so? I love VB so much I don’t want to learn C++ just to use this
wonderful library.

uhhh, i would suggest learning c/c++ so your apps will work with out
the microsoft dependency. sorry i can not answer your question as i do
not know.

i was going to suggest using qt as thats a nice cross platform api i
c++, but not sure how well it works with sdl. i would like to know
myself since ill be there soon as i am done with my game core.

errr, sorry if it seems like i high jacked the post :frowning:

mattOn Tue, 17 Jul 2007 23:05:09 -0500 “Matthew Johnson” wrote:

Hahah, at least you answered. Yeah I know I should learn C++. I was
just curious. Oh well. Thanks for answering.On 7/17/07, matt wrote:

On Tue, 17 Jul 2007 23:05:09 -0500 “Matthew Johnson” <@Matthew_Johnson> wrote:

I’m just curious, has anyone ever made a library for VB to use SDL?

If not does anyone know a good place to start researching a way to do
so? I love VB so much I don’t want to learn C++ just to use this
wonderful library.

uhhh, i would suggest learning c/c++ so your apps will work with out
the microsoft dependency. sorry i can not answer your question as i do
not know.

i was going to suggest using qt as thats a nice cross platform api i
c++, but not sure how well it works with sdl. i would like to know
myself since ill be there soon as i am done with my game core.

errr, sorry if it seems like i high jacked the post :frowning:

matt


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Hello !

Hahah, at least you answered. Yeah I know I should learn C++. I was
just curious. Oh well. Thanks for answering.

Using SDL with VB is possible, as SDL uses stdcall
and only C functions.

To use it with SDL you have to
write some kind of import header file or what that
is called in VB.

I don’t think you can use QT with VB, as it uses classes
and VB 6 is a really old version of VB. With the newer ones
like VB 2005 it should be possible.

But doing all this is harder than learning C/C++

CU

Or at least switch to VB.NET. VB6 has been deprecated by Microsoft a
good while ago. You’ll need .NET wrappers though, as SDL is purely a C
library.On 7/18/07, Matthew Johnson wrote:

Hahah, at least you answered. Yeah I know I should learn C++. I was
just curious. Oh well. Thanks for answering.

  • SR

dot net is still MS only (for the most part, i dont mess with mono)On Tue, 24 Jul 2007 18:57:54 -0400 “Simon Roby” <simon.roby at gmail.com> wrote:

On 7/18/07, Matthew Johnson wrote:

Hahah, at least you answered. Yeah I know I should learn C++. I
was just curious. Oh well. Thanks for answering.

Or at least switch to VB.NET. VB6 has been deprecated by Microsoft a
good while ago. You’ll need .NET wrappers though, as SDL is purely a C
library.

Try http://www.dotgnu.org

JeffOn Tue July 24 2007 20:50, matt wrote:

dot net is still MS only (for the most part, i dont mess with mono)

I thank you for the advice. However switching to .NET seems doubly
irksome as I’m aware there are a few changes in the syntax and design.
And I’ve never heard of .NET wrappers. So that’s only going to make
it harder. I might actually be better off learning C++, at least SDL
already has a setup for Dev-C++ IDE. But then again I’ve been using
VB for years as a simple way of making programs that I need. I
personally think Microsoft made a mistake forcing .NET on us. But
that’s me.

And I’ve never heard of dotngu before, is it better than SharpDevelop?
I originally downloaded it to learn VB.NET and hated it as I couldn’t
find a decent tutorial and can’t afford the books at the moment.

But again thank you, I’ll either give up on SDL or suck it up and
learn a new language. Thanks again.On 7/24/07, Jeff <j_post at pacbell.net> wrote:

On Tue July 24 2007 20:50, matt wrote:

dot net is still MS only (for the most part, i dont mess with mono)

Try http://www.dotgnu.org

Jeff


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Hi guys,

Just take a look on:

https://github.com/xmaxmex/XSDL2

And, Thanks in advance.