Csound Csound-dev Csound-tekno Search About

[Cs-dev] liblo.dll and the API

Date2006-04-29 13:37
FromRory Walsh
Subject[Cs-dev] liblo.dll and the API
I am trying to run a .csd file that calls osc.dll in an application 
using the Csound API. I create an instance of cound, compile it using 
csoundCompile(), start a thread and perform the csd. No problem. 
csoundReset() is called at the end of the performance. I then use 
csoundJoinThread() to make sure the last one is done and then I call 
csoundCompile() again. This time I get a popup error, 'access violation 
in module liblo.dll....', looks like my call to csoundReset is not 
reseting everything....any ideas? Here the order of execution of my code:

csoundCreate
csoundCompile
start csThread
csoundReset
kill csThread
csoundJoinThread
csoundCompile........crash!

Cheers,

Rory.


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-05-01 10:09
FromIstvan Varga
SubjectRe: [Cs-dev] liblo.dll and the API
AttachmentsNone  

Date2006-05-01 11:17
FromRory Walsh
SubjectRe: [Cs-dev] liblo.dll and the API
 >unless the csoundReset is called from the thread,
> in which case there is no apparent problem).

Indeed I am calling it from within the thread. I'll keep looking. Cheers,
Rory.


> csoundCreate
 > csoundCompile
 > start csThread
 > csoundReset
 > kill csThread
 > csoundJoinThread
 > csoundCompile........crash!


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net