On Windows this code works fine but on OSX I am not able to input text in the Scintilla gadget - unless I remove the call to ExamineKeyboard().
Procedure ScintillaCallBack(Gadget, *n.SCNotification)
EndProcedure
OpenWindow(0, 0, 0, 600, 500, "OSX Bug?")
InitSprite()
InitKeyboard ...
Search found 95 matches
- Thu Nov 27, 2014 7:39 pm
- Forum: Coding Questions
- Topic: ExamineKeyboard() & ScintillaGadget
- Replies: 1
- Views: 1367
- Sun Nov 23, 2014 10:29 pm
- Forum: Coding Questions
- Topic: ProcedureC?
- Replies: 7
- Views: 2996
Re: ProcedureC?
Yes it looks similar. Interesting. I don't really know about cdecl and stdecl, but I know that if I use 'Procedure' instead of 'ProcedureC' nothing at all works..
- Sun Nov 23, 2014 11:05 am
- Forum: Coding Questions
- Topic: ProcedureC?
- Replies: 7
- Views: 2996
Re: ProcedureC?
More calls to CheckKey actually does not imply more calls to csoundInputMessage, check the logic. Also, the crashes only happen if the callback is also defined.
NB. I have communicated with the Csound developers and they seem confident that the error is not caused by Csound..
Are you able to ...
NB. I have communicated with the Csound developers and they seem confident that the error is not caused by Csound..
Are you able to ...
- Sat Nov 22, 2014 10:05 pm
- Forum: Coding Questions
- Topic: ProcedureC?
- Replies: 7
- Views: 2996
Re: ProcedureC?
If there is only one call to CheckKey the application does not crash. The code here emulates a 'real' situation where I would have to check several different keys, one at a time.
- Sat Nov 22, 2014 4:23 pm
- Forum: Coding Questions
- Topic: ProcedureC?
- Replies: 7
- Views: 2996
ProcedureC?
With Windows 7 Pro and PureBasic 5.31 the following steps are causing my application to crash:
1. Save the code below into a folder together with a short stereo sample named 'test.wav' and the Csound library dll (download and run Setup_Csound6_6.03.2.exe from http://sourceforge.net/projects/csound ...
1. Save the code below into a folder together with a short stereo sample named 'test.wav' and the Csound library dll (download and run Setup_Csound6_6.03.2.exe from http://sourceforge.net/projects/csound ...
- Wed Nov 12, 2014 4:36 pm
- Forum: Coding Questions
- Topic: Including library in .exe
- Replies: 3
- Views: 2027
Re: Including library in .exe
Thanks, look interesting! Does it also work with .dylib files (OSX)?
- Wed Nov 12, 2014 2:02 pm
- Forum: Coding Questions
- Topic: Including library in .exe
- Replies: 3
- Views: 2027
Including library in .exe
Dear all,
I am trying to figure out if it is possible to include a third party library into an .exe I am builing?
I have tried downloading a library (Csound) which is distributed as a .dll file, and I managed to generate a .lib file from that .dll file. So now I can import/link the .lib statically ...
I am trying to figure out if it is possible to include a third party library into an .exe I am builing?
I have tried downloading a library (Csound) which is distributed as a .dll file, and I managed to generate a .lib file from that .dll file. So now I can import/link the .lib statically ...
- Tue Mar 22, 2011 9:59 am
- Forum: Feature Requests and Wishlists
- Topic: Google Native Client
- Replies: 2
- Views: 1645
Re: Google Native Client
I kind of stopped using PureBasic, but I will definitely be using it again if it can be used with Google's Native Client.
- Mon Sep 04, 2006 1:32 pm
- Forum: Coding Questions
- Topic: Music tracker / sample sequencer engine - optimization
- Replies: 2
- Views: 1202
Hello again..
Has anyone tried to run my code? Any comments are welcome..
I'm sure someone here must have tried to code his own music software.. some question, for example:
Do you have good experiences using some other api than DirectSound? Have you worked with DSP on a non-float representation of a ...
Has anyone tried to run my code? Any comments are welcome..
I'm sure someone here must have tried to code his own music software.. some question, for example:
Do you have good experiences using some other api than DirectSound? Have you worked with DSP on a non-float representation of a ...
- Wed Aug 30, 2006 11:17 am
- Forum: Coding Questions
- Topic: Music tracker / sample sequencer engine - optimization
- Replies: 2
- Views: 1202
- Wed Aug 30, 2006 11:00 am
- Forum: Coding Questions
- Topic: Music tracker / sample sequencer engine - optimization
- Replies: 2
- Views: 1202
Music tracker / sample sequencer engine - optimization
The code below will build a sequence of samples (a beat rhythm) and play it back, mixing the samples. To run the code you need DirectSound 8, PureBasic 4 and three drum samples (see the code).
I would like someone to review this code and give me some ideas on how I might be able to refine it or do ...
I would like someone to review this code and give me some ideas on how I might be able to refine it or do ...
- Sun Jun 11, 2006 9:27 am
- Forum: Coding Questions
- Topic: word to float to word conversion (DSP for using VST effects)
- Replies: 12
- Views: 2798
- Sun Jun 11, 2006 9:24 am
- Forum: Coding Questions
- Topic: VST Hosting: processing a .wav-file
- Replies: 3
- Views: 1673
- Sat Jun 10, 2006 11:24 pm
- Forum: Coding Questions
- Topic: VST Hosting: processing a .wav-file
- Replies: 3
- Views: 1673
VST Hosting: processing a .wav-file
I am trying to make a VST host that will use a VST plugin to process a 44100, 16 bit, stereo .wav-file. However, when I call the plugin's standard method 'processReplacing()' the file does not seem to get processed correctly - with some plugins the sound gets distorted, with others processReplacing ...
- Sat Jun 10, 2006 11:05 pm
- Forum: Coding Questions
- Topic: word to float to word conversion (DSP for using VST effects)
- Replies: 12
- Views: 2798