Old 06-17-2018, 10:14 AM   #1
kgarello
Human being with feelings
 
Join Date: Jan 2009
Posts: 310
Default Control Surface Development issue

Hi all,

I am developing a csurf for the BCF - I know.. its been done and is being done

My problem is that after I add the surface in preferences, it does not save when closing Reaper.

When I reopen reaper I have to add it back to the preferences.

Does anyone have any ideas on why it wont save to preference?

Thanks,

Ken

[edit]
developed in Visual Studio Community 2017 - tried both debug and release
kgarello is offline   Reply With Quote
Old 06-17-2018, 11:30 AM   #2
azslow3
Human being with feelings
 
Join Date: Nov 2017
Location: Heidelberg, Germany
Posts: 797
Default

Check that you use consistent plug-in name in all related methods. So that you register csurf plug-in which is capable to deal with the "type" it reports when you use it.

I remember that was the first "problem" I hit when started.
azslow3 is offline   Reply With Quote
Old 06-17-2018, 02:24 PM   #3
kgarello
Human being with feelings
 
Join Date: Jan 2009
Posts: 310
Default

Quote:
Originally Posted by azslow3 View Post
Check that you use consistent plug-in name in all related methods. So that you register csurf plug-in which is capable to deal with the "type" it reports when you use it.

I remember that was the first "problem" I hit when started.

Thanks Azslow3 - just to be clear - the csurf that I am programming loads fine - I see the correct string, it loads and I have debugged any apparent issues.

It just won't stick in the preferences.

I will review the code with your suggestions...

Ken
kgarello is offline   Reply With Quote
Old 06-17-2018, 02:42 PM   #4
kgarello
Human being with feelings
 
Join Date: Jan 2009
Posts: 310
Default

Quote:
Originally Posted by azslow3 View Post
Check that you use consistent plug-in name in all related methods. So that you register csurf plug-in which is capable to deal with the "type" it reports when you use it.

I remember that was the first "problem" I hit when started.

You called it correctly Azslo3! - I updated GetTypeString to return the same name in the reaper_csurf_ret_t and it is now working properly.

const char *GetTypeString()

Thanks!

Ken
kgarello is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 07:42 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.