I am builld a midi related program, windows 95/98 has a unacceptable timer latency. I consult the MSDN which has a article name "overcome the timer-latency problem in MIDI sequencers" mentiond this problem. But the solution it provide is using 16 bit DLL to implement timer procedures, so must do some thunking? What is thunking? how to implement it? thanks for help.
User 2907
Posts
-
How to implement Tunking? -
How it works? (About the memory which allocate by function)First, I would like to thank both of you for your help. I am programming a set of netbios support function, one of which need return a structure pointer. and I need call it several times, yesterday i find a way to do this, that is use the 'static' modifier. then there will be only one copy of the structure and it will initialize when the program start and clean up when the program exit. although it will keep it's content through function calls, but that is not a matter. It's the solution that the C library used? by the way, I am sorry about my poor english, I am still a student. mask
-
How it works? (About the memory which allocate by function)We often can see that some function will return a pointer to a structure or a buffer, it must be aollocated by function itself. The question is how the memory is freed? and when it is freed? Can I aollocate some memory in a function and hope the caller will clean up the mass? I am using C, so the C++ destruction function is not what I want. Thanks
-
Does anybody can explian how the object are serialized to storeage?I am new to MFC, and I was puzzled about the principle "Object Serialize". And I wish somebody can explain it to me, how the things done. very thankful.