DukeRoodee
07-31-2009, 03:05 AM
Hi all :-)
i am currently building a GUI around a sampleplayer iīve developed, with IPlug.
The sampleplayer itself works fine within the IPlug frame but i am facing some issues with the GUI, maybe somebody can give me a few hints ?
1) This happens on my home-notebook, doublechecked with the @work-notebook and works fine there. Anyway: when i build a vsti with IPlug in DEBUG mode (Visual C++ 2008 Express), i get an assertion from some windows(?) core module when starting the vst in a host:
isctype.c Line: 56
Expression: (unsigned)(c+1) <=256
Iīve googled around but donīt find any helpful information except "this happens when you feed characters with values >256" ...but i donīt, iīve checked all sources.
The IPlug Example project would run into the same assertion failure when buildt as debug.
Honestly, i donīt know what to do because it actually runs on a different computer... any ideas ?
2) The GUI is updated sometimes, and sometimes not. So, for example i am using the FileSelectorControl for loading a bank. Works fine, but after loading the bank, i set new content into some TextControls and then, they sometimes update and sometimes not. If not, i have to close and reopen the GUI, and then the new texts appear. It also happens, that i simply set the content of a TextControl to "" , after clicking a IContactControl. Sometimes the TextControl gets updated, sometimes not.
(Talking about actions in OnParamChange() )
Iīve debugged the whole thing and i can say that all drawXXX-methods are being called, but without any effect on the screen.
Maybe there is something i have to do / set additionally but i have no idea at the moment.
3) It also happens, that i set a quite long string to a TextControl with 200 pixels width. It seems that the TextControl doesnīt care about the border because it displays the entire string (if needed, all across the screen). Then, when i set the content of the TextControl to "" ( and if the control would be updated (see issue 2)), then the space within the borders of the TextControl would be properly deleted, but the rest of the old string to the left and right of the TextControl borders is still on the screen.
Thanks for all thoughts :-)
best,
Rudi
i am currently building a GUI around a sampleplayer iīve developed, with IPlug.
The sampleplayer itself works fine within the IPlug frame but i am facing some issues with the GUI, maybe somebody can give me a few hints ?
1) This happens on my home-notebook, doublechecked with the @work-notebook and works fine there. Anyway: when i build a vsti with IPlug in DEBUG mode (Visual C++ 2008 Express), i get an assertion from some windows(?) core module when starting the vst in a host:
isctype.c Line: 56
Expression: (unsigned)(c+1) <=256
Iīve googled around but donīt find any helpful information except "this happens when you feed characters with values >256" ...but i donīt, iīve checked all sources.
The IPlug Example project would run into the same assertion failure when buildt as debug.
Honestly, i donīt know what to do because it actually runs on a different computer... any ideas ?
2) The GUI is updated sometimes, and sometimes not. So, for example i am using the FileSelectorControl for loading a bank. Works fine, but after loading the bank, i set new content into some TextControls and then, they sometimes update and sometimes not. If not, i have to close and reopen the GUI, and then the new texts appear. It also happens, that i simply set the content of a TextControl to "" , after clicking a IContactControl. Sometimes the TextControl gets updated, sometimes not.
(Talking about actions in OnParamChange() )
Iīve debugged the whole thing and i can say that all drawXXX-methods are being called, but without any effect on the screen.
Maybe there is something i have to do / set additionally but i have no idea at the moment.
3) It also happens, that i set a quite long string to a TextControl with 200 pixels width. It seems that the TextControl doesnīt care about the border because it displays the entire string (if needed, all across the screen). Then, when i set the content of the TextControl to "" ( and if the control would be updated (see issue 2)), then the space within the borders of the TextControl would be properly deleted, but the rest of the old string to the left and right of the TextControl borders is still on the screen.
Thanks for all thoughts :-)
best,
Rudi