English
Forum

Callback & A second fehlendem WaitInput

 

Sebastian
Sprenger
Hello together,
have here größeres trouble...

1. I try, of my MIDI-Keyboard data auszulesen. Klappt really too. But if I z.B. one WaitInput weglasse or one SetTimer set (Why is the make, is ne others story) and then a Button on the Keyboard press, crashes Profan with of/ one schweren Access violation and of/ one Error Message without Text ex, even in folgendem Minimalcode!

XProfan 9, windows ME, 1.8 Ghz
CompileMarkSeparation
2. if the 1. trouble not lösbar is...
I had The routine to that Reading the data already in Assembler written, the has perfect functions. though be I meanwhile on The idea come, the program hereafter to that XProfan-competition einzureichen. can I,may I there at all yet dran participate, if I exakt 100 Bytes Maschinencode for a Callback in a Memory-Variable einbinde and these Variable on midiInOpen commit?

3. where I strain write, what is because the?
Warning: Page Restrictor hardship installed correctly - Headers already sent!
get these Message constantly in the Preview.

good night,
Sebastian
 
Profan² 7.0e, XProfan 9, 11.2a, FreeProfan32
Windows Vista Home Premium 32-Bit, 2.8 Ghz, 4 GB RAM
Windows Me, 1.8 Ghz, 256 MB RAM
09/23/07  
 




RGH
To 1.:
XProfan isn't in the site, two Source code in a Program parallel to execute. therefore can The Callback-function, so How You it program have, not correctly functions.
The Callbacks in XProfan get in first line moreover created, circa API-functions benefit to The Callback-functions benefit. there in this drop The XProfan-Callback-routine called becomes, during The API-function carryed out becomes, comes it To keinem conflict. After terminate the API-function power XProfan there moreover where it before interrupted watts, there any relevanten Systemparameter to Perform the Callback-function ensured get.
In others Make, about with Subclassing of Windows, is the almost-fashion (see under Set(FastMode,n%)) duty and it must gewährleistert go, that The Callback-routine no disruption, about through WaitInput, Timer, etc. admits. Perhaps reicht with you already the Fastmode from. Related to the Assembler is other sure too helpful.

To 2.:
I see none reason, what with one Wettbewerbseintrag against Assembler in a Memory-Variables speaks, especially since Yes presumably The routine, The this area filling, in XProfan and part the Program is.

Greeting
Roland

Nachtrag: Möglicherweise becomes it in küntigen XProfanversionen erweiterte Callback-Opportunities give.
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
09/23/07  
 




Jörg
Sellmeyer

can I,may I there at all yet dran participate, if I exakt 100 Bytes Maschinencode for a Callback in a Memory-Variable einbinde and these Variable on midiInOpen commit?


there voice I Roland To. not that I the Jury vorgreifen would like, but What is rather suitable, To show, what with Profan possible is, as the direct Einbinden of ASM.
Greeting
Jörg
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
09/23/07  
 




Frank
Abbing

can I,may I there at all yet dran participate, if I exakt 100 Bytes Maschinencode for a Callback in a Memory-Variable einbinde and these Variable on midiInOpen commit?


self-evident. XPIA-XProfancodes make it Yes similar. there becomes even a complete Assembler-Dll into Exe eingebunden.

I yourself use for Program-Callbacks only yet Assemblercode.
 
09/23/07  
 




Sebastian
Sprenger
RGH
especially since Yes presumably The routine, The this area filling, in XProfan and part the Program is.

so is it.

wonderful, many Thanks for Answer!
 
Profan² 7.0e, XProfan 9, 11.2a, FreeProfan32
Windows Vista Home Premium 32-Bit, 2.8 Ghz, 4 GB RAM
Windows Me, 1.8 Ghz, 256 MB RAM
09/23/07  
 



to the Callbacks: of it speech I since years.

to that Midi-Keyboard: very something like need so did i immediate since so!

to that Page-Restrictor: The Message becomes now not any more viewed. (I had there something overlooking)
 
09/23/07  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

6.666 Views

Untitledvor 0 min.
H.Brill05/07/24
iF09/13/15
Sebastian Sprenger03/19/13

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie