Hi Roger,

I am now updating the wxMidi wrapper for portmidi. So I downloaded the
latest portmidi package (17Jan07).

When opening portmidi.dsw with MSVC++ 7.0 (I now the file is for 6.0
but I never had problmes to import into 7.0) it complains about all
projects except: pormidi, portime and pm_dll. All the others fail to
open. Fortunately to me, I only need these three :-)

When trying to build these three projects (debug and release versions)
the results are:

        - portime debug, release: built OK
        - pm_dll debug, release: built OK

        - pormidi debug, release: both fail. The problem is caused by not
having defined NEWBUFFER. Apparently the code is designed to
necessarily define this constant. Otherwise functions pm_flush_sysex
and pm_read_bytes fail to compile:
                - 'queue' is not a member of 'pm_internal_struct'
                - 'Pm_Enqueue' not defined
                
        If defining NEWBUFFER is optional the previous functions code should
be review to include some #ifdef NEWBUFFER statements.
        
        I included
        
        #ifndef NEWBUFFER
            #define NEWBUFFER 1
        #endif
        
        in portmidi.h, at the beginning, after the TRUE, FALSE defines and
now portmidi built ok.

        
Now I will start testing. I will inform you if I find more issues.

Best regards,
Cecilio Salmeron
_______________________________________________
media_api mailing list
[email protected]
http://www.create.ucsb.edu/mailman/listinfo/media_api

Reply via email to