Re: [Plib-users] Visual Basic
Brought to you by:
sjbaker
From: Steve B. <st...@sj...> - 2007-09-30 14:41:39
|
PLIB is heavily object-oriented. It's design fundamentally leverages things like virtual class member functions and inheritance that don't translate well into the Visual Basic environment - but which are very useful in a C++ environment. It's certainly not just a matter of calling C++ functions via the DLL mechanism. It would be very tough indeed to integrate PLIB into Visual Basic - and you'd have to learn C++ and write a substantial amount of C++ interface code to stand a chance of doing it. PLIB is designed to help and encourage the writing of portable, interactive applications (that's what 'P' stands for - Portability LIBrary!). Since Visual Basic is about the least portable language on the planet - and also one that is poor at interactive applications like games and simulation - we strongly discourage it's use. We want people to write software that will run on Windows, Linux, BSD-Unix, SGI Unix, Solaris, Mac OSX...and anything else we can think of. Supporting Visual Basic is the antithesis of our goals here! It's the very last thing the PLIB team should be spending its efforts on! So, sadly, if you really must write in Visual Basic - find another graphics API. Steve. Stuart McDonald wrote: > Hi Sherif, > > I too have no real knowledge of VB, but if you are looking for where to > start then you need to give some more information e.g. > 1) Are you an experienced programmer, complete beginner, somewhere in > between? > 2) Are you using VB because you know it well? Or for some other reason? > 3) What are you trying to achieve? Would you be happy with a simple > pacman game? Are you wanting to do something much bigger? > 4) etc. etc. > > Because depending on the answers to things like this (and may other > things) my advice would be vary greatly. > > Regards, > > Stuart. > > > Sherif Omran wrote: >> Hello John, >> >> Thank you for your warm welcoming and email. Yes it is possible to >> call C++ functions, if they are packed in a dll. Is PLIB a dll? >> It would be a little bit difficult at the beginning but once they are >> mapped to a VB module, then i can deal with it, but actually i don't >> know where to start for game programming and what tools do i need >> because when i search online i get lost. >> >> Could you please lead me? >> >> kind regards, >> Sherif >> >> >> */"John F. Fay" <joh...@cy...>/* wrote: >> >> Sherif, >> >> Hello and welcome to the PLIB community. >> >> PLIB is written in C++. Early on, the owner decided that he would >> keep it >> in that language, so there are no plans for the PLIB community to >> write >> wrappers for other languages. >> >> That said, I have no knowledge of Visual Basic. If it is possible >> to call >> C++ functions and declare C++ objects in Visual Basic programs, >> then you >> can probably use PLIB. Otherwise you may wish to look elsewhere. >> >> - John >> >> -----Original Message----- >> From: Sherif Omran >> Sent: Saturday, September 29, 2007 5:38 AM >> To: pli...@li... >> Subject: [Plib-users] Visual Basic >> >> Hello all, >> >> is it possible to use the plib with visual basic under windows, >> and if >> not what do you suggest? >> >> thanks >> Sherif Omran >> > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > plib-users mailing list > pli...@li... > https://lists.sourceforge.net/lists/listinfo/plib-users |