[directmusic] Re: (Newbie) How can I hack together the samples?

  • From: "justin" <jlove@xxxxxxx>
  • To: <directmusic@xxxxxxxxxxxxx>
  • Date: Tue, 18 Mar 2003 07:36:38 -0800

Good Luck, sorry for the briskness--I was hung over that morning ;)

If you have any more questions feel free to ask.  I would still
recommend merging the projects one at a time...

Justin

-----Original Message-----
From: directmusic-bounce@xxxxxxxxxxxxx
[mailto:directmusic-bounce@xxxxxxxxxxxxx] On Behalf Of Paul Godden
Sent: March 18, 2003 6:21 AM
To: directmusic@xxxxxxxxxxxxx
Subject: [directmusic] Re: (Newbie) How can I hack together the samples?


I see... Thanks Justin.
So, if I took one main method, and then only included
each unique element from each sample main method, that
would provide me with a main method that supports all
of the functions contained in each sample?
I think I've got the grasp of the Windows handling
stuff - that would be the InitDlg stuff right? Then, I
could copy any paste from the various GUIs into one
big GUI?
I'll give it a try anyway and hope for the best, wish
me luck!
Paul Godden
 --- justin <jlove@xxxxxxx> wrote: > 
> Q. How can I hack together the samples?
> 
> Short Answer: You can't.
> 
> Long Answer:
> 
> In any project you can only have one main method. 
> Also, all of the
> Windows handling stuff should only be done once. In
> addition, since each
> of the direct music and sound samples has their own
> GUIs you will have
> to account for that and make a new GUI that merges
> the GUI elements from
> each project into one big GUI.
> 
> I would recommend first trying to merge two of the
> sample projects
> together.  You just can't throw together a bunch of
> different projects
> into one file and have it magically work--if you
> don't understand how
> the code works for each individual project you won't
> be able to merge
> them.  
> 
> Justin Love
> University of Victoria
> 
> -----Original Message-----
> From: directmusic-bounce@xxxxxxxxxxxxx
> [mailto:directmusic-bounce@xxxxxxxxxxxxx] On Behalf
> Of Paul Godden
> Sent: March 17, 2003 7:37 AM
> To: directmusic@xxxxxxxxxxxxx
> Subject: [directmusic] (Newbie) How can I hack
> together the samples?
> 
> 
> Hi,
> Could anyone supply me with a MSVC++ workspace file
> with the samples included in the SDK hacked
> together?
> I want to learn how code is taken from various
> sources
> and implemented in a common project, but whenever I
> try to do it, I get numerous errors, multiple
> instances of main, too many resource files etc.
> This may seem simple to many people, but I would
> greatly appreciate any assistance or advice.
> Cheers,
> Paul Godden
> 
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
> 
> 
> 
>  

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com




Other related posts: