21 May '13 - 09:18 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Reply  |  Print  
Author Topic: Beggining Bass - C++  (Read 1066 times)
evstevemd
Posts: 101


« on: 10 Aug '09 - 22:47 »
Reply with quoteQuote

After failing with Python/wxPython, I decided to learn C++ too. Mind that I'm newbie in C++ and so be as clear as possible. Where do I start with bass.dll  I found Loading it via LoadLibrary and GetProcAddress very tedious work to do. Is there easiest way to do it

Question 2, what are procedures to follow before doing anything (sounds like initializations?)

I use Code::Blocks IDE, MINGW compiler, wxWidgets for GUI
Thanks
Logged
Ian @ un4seen
Administrator
Posts: 15253


« Reply #1 on: 11 Aug '09 - 14:09 »
Reply with quoteQuote

It should be possible to just link with the BASS.LIB file, instead of using LoadLibrary and GetProcAddress. Here's the relevant part of the Code::Blocks documentation...

   www.codeblocks.org/docs/main_codeblocks_en3.html#x3-340001.11.13

Regarding BASS initialization, for output, basically all you need is a BASS_Init call (please see the documentation for usage details). One thing to note is that you need a window handle (HWND) for that. I haven't used wxWidgets myself, but I guess it must have a way to get the underlying window handle.
Logged
evstevemd
Posts: 101


« Reply #2 on: 11 Aug '09 - 21:45 »
Reply with quoteQuote

Thanks Ian,
That is a good start. Anyone adding to this? Is more than welcome  Grin
Logged
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines