Welcome to %s forums

BrainModular Users Forum

Login Register

How to get patch path?

Create your own modules in C++
Post Reply
caco
Member
Posts: 306
Contact:

Unread post by caco » 04 Mar 2011, 12:32

I am trying to get the path to the current patch using GetUsinePatchPath() but it doesn't seem to be returning anything. Calling the following code just prints a blank line to the console. Am I having a bad day and made an obvious mistake or does this function not work correctly?

[c]pPrototype->TracePChar(pPrototype->GetUsinePatchPath());[/c]

Tried in both SDK 5.1 and 5.25. Thanks for the help!

martignasse
Site Admin
Posts: 611
Location: Lyon, FRANCE
Contact:

Unread post by martignasse » 05 Mar 2011, 10:36

Hi caco,

i'll check that today and report.

thanks for the feedback :)
Martin FLEURENT - Usine Developer - SDK maintainer

martignasse
Site Admin
Posts: 611
Location: Lyon, FRANCE
Contact:

Unread post by martignasse » 05 Mar 2011, 11:36

confirmed :|

in fact, all these functions :

Code: Select all

GetUsineSoudPath()
GetUsinePatchPath()
GetUsineVst1Path()
GetUsineVst2Path()
GetUsineRecordPath()
return bad/corrupted data

i'll have to see that with senso
Martin FLEURENT - Usine Developer - SDK maintainer

caco
Member
Posts: 306
Contact:

Unread post by caco » 06 Mar 2011, 14:55

Thanks for investigating, for the moment I hav found a workaround but it would be good to have access to these functions :)

User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 08 Mar 2011, 20:13

this bug will be solved in the next version 5.50.49 and above.

caco
Member
Posts: 306
Contact:

Unread post by caco » 08 Mar 2011, 20:58

You work fast, thank you senso :)

Post Reply

Who is online

Users browsing this forum: No registered users and 132 guests