Hi I'm looking for a time line editor component, much like how Adobe Premier or those time line editing music tools. Is there such one around to recommend?
Robin
Posts
-
Recommed timeline editor component -
Ok, who was the genius at microsoft who..For the same reason that Ctrl-S and Ctrl-Z are next to each other;P
-
Inexperienced with COM arraysAh, I spotted an mistake It should be
Dim vbArray(2)
instead ofDim vbArray(3)
because for reasons I cannot fathom, vbArray(2) means a 3 element array. Anyway, the vbscript in the form above works. I am unable to explicitly declare the dim type though.Dim vbArray(2) As Double
generates an "Expected end of statement" error. This seems to be more of the scripting environment problem rather than mine. X| -
Inexperienced with COM arraysThat's a very good idea you have there. Unfortunately (fortunately?), it's weekend party and I have to wait till next week to try it out. Thanks for your time. Very appreciated.
-
Inexperienced with COM arraysErnest Laurentin wrote: Maybe the API accepts integer value not float! Thanks for the reply. Quite impossible. It should be taking either float or double because in the UI, one can enter decimal places for the values. They can't be using fixed point maths. But I will try again just to make doubly sure.
-
Inexperienced with COM arraysErnest Laurentin wrote: Did you try to pass it as a reference instead? Yup, didn't work too. The API is a Avid SoftImage XSI v2 SDK. It has virtually ZERO documentation so I'm guessing how to call it by looking at headers and vbscript examples. The vbscript version works like this
Blah( array(5,6,7) )
The C++ version is defined asvirtual HRESULT STDMETHODCALLTYPE Blah( /* [in] */ VARIANT in_pNewEffPos );
The worst part is the API runs successfully (HR succeeded) but the results are wrong. I'm not well experienced enough with COM or I would have condemn it as a bug with their API straight away. -
Inexperienced with COM arraysI need pass an array of data in a variant to an API call. I'm not sure if I'm passing the data correctly as I'm new to COM. I appreciate if someone could verify the below snippet has a obvious problem when using COM arrays because the API call does not produce the intended results with the array data I passed. // generate 3 element array of floats SAFEARRAY *psa = SafeArrayCreateVector( VT_R4, 0, 3 ); float HUGEP *dp = 0; SafeArrayAccessData( psa, (void HUGEP**)&dp ); dp[0] = 6; dp[1] = 7; dp[2] = 8; // set array to 6,7,8 SafeArrayUnaccessData( psa ); VARIANT va; va.vt = VT_ARRAY | VT_R4; va.parray = psa; // pass va to API that takes a variant Blah( va ); SafeArrayDestroy( psa );
-
Game devs come outDoing it in 3D would be so much easier. If you must force pain on yourself, you can use sprites but you need to be able to rotate them on runtime. It basicallys becomes 2D image manipulation calls. Whether the speed can be realtime then is questionable.
-
Is there a Visual Studio Compile OptionYou can set where the output executable/dll location in the "Link" tab in project options (Alt-F7) ..
-
Copy constructor in Exception ClassI have a exception class which I would want to be catch by ref only, so I declare the copy constructor private. However, VC++ 6 refuses to compile, giving me an error an error that the exception object cannot be thrown because of an inaccessible copy constructor. But upon checking, the copy constructor is only called when the exception object is caught by value eg catch(MyExceptionClass e) // only this needs the copy constructor {} catch(MyExceptionClass &e) // this doesn't need the copy constructor {} So has anyone been able to ensure the exception object is to be catch by ref only, not value??
-
SEH problem in release modeJust to let u know.. There seems to be a problem with SEH raising exceptions in release mode (using VC++ 6 SP4) In release mode, a divide by zero does not raise any exceptions but it does in debug mode. However, if I uncomment the cout line after the divide (in release mode), an exception would be raised. If the program was compile with the /EHa option (asynchronous exception), then an exception is always raised. I didn't do an disassembly but it's probably due to the compiler not generating the divide code since it's not used. [source] #include < windows.h > #include < iostream > #include < stdexcept > using namespace std; void SEH_Translator( unsigned int u, EXCEPTION_POINTERS* pExp ) { throw exception("SEH exception"); } void main() { try { _set_se_translator(SEH_Translator); int x,y; x = 9999; y = 0; int z = x/y; // cause a divide by zero exception // cout << z << endl; // uncommenting this throws an exception in release mode } catch(...) { cout << "Exception caught" << endl; } } [/source]
-
Exception: Async Vs SyncFrom the MSDN "Catching hardware exceptions is still possible with the synchronous model. However, some of the unwindable objects in the function where the exception occurs may not get unwound, if the compiler judges their lifetime tracking mechanics to be unnecessary for the synchronous model." The above statment make me feel uneasy about sync model, although it seems much better since it generates less code? Can anyone makes sense on what the above is trying to say plz?
-
Help: GDI functions not working in OnInitDialogtry looking at OnCtlCOlor Function AFter InitDialog it would call this function which does the painting of all dialog controls and the dialog RObin
-
change the font of the Mainframe TitleHow do I change the font of the Application Title that is on the Mainframe window thanks robin
-
My Vis Studio editor runs like a dogIf its an MFC based project you could try deleting the .dsw(workspace ) file. Create a new blank workspace and insert the dsp file into this workspace. robin