How to use the slider to avoid keyframes movements?

Hi there,
first of all, I have to tell, I am not a English speaker, so please excuse me in advance. Anyway, I want to solve this particular issue: I have created an After effects project, where you can add into the composition your own text, logo or whatever... what the after effects project does is, that it turns your text, or logo into the 3D metal result. There is also camera cretaed, which moves from one position, to another. Take a look:
The inputed text is "add content" (I have 4 cameras alltogether, but I am showing an example just on the first one, so you will not see the whole text. The rest of the cameras are also in other compositions)
Here you can see the exact movement of the camera. However, if somebody inserts a logo or a text, which has for example 7 letters (in the next picture it is just "content") it will look like this:
here you can see how big space we have. Also it is not appropriate to change the original size of the text in the composition to achieve the smallest gap, as we can see here. The height will be huge then...
If I would edit it by myself, I would do this:
-I would clicked on the button "2 views" and choose view from the "front"
-Then I would select all the keyframes and after that i would go into the left window "front" and  using the mouse I would draged whole the camera to the position I want:
The great thing about this is, that as I selected all the keyframes and then set the red line on one of them, the camrea will work even for the beginning! So this is how it will look after the fix.
What the problem is, that after the small edit I want to send this project to few of my friends. Then they can easily put their text, or logo in. The text will have different height, width...it will be shorter or longer. I was just wondering, if you could help with some expressions, linkings and so on, so in the final result, of one my friends could move with the  whole camera (not just with one keyframe) using the SLIDER CONTROL. At least for the x and y axis, if z axis is also possible, it would be brilliant. It also doesn't matter how many sliders there will be .
So basically with using the sliders, they should achieve this:
So i need some helpful steps. Please help me. This is very important for me. I will be so much thankful!! Really! (Thanks for the potential help )

You are way over thinking your problem and potentially headed down a path that will cause more problems that it will solve.
If you have a camera path that is already animated and you want to change the position of the camera path as a whole the easiest way to do that would be to create a null and then parent the camera to the null. Move the null and all of the camera movements you have set up will follow. No expressions are needed. This is the easiest way to change every aspect of a motion path, rotate the entire path, scale the path, or move the path on any axis.
If you really want to use 3 position sliders to move existing keyframes to a new value adding value + expressions values will allow you to do this. Just add an three expression control sliders to the camera layer (or any layer like the null you are using as a parent) select the name of the slider in the ECW and press enter and rename it. Something like this will be the result.
Notice that I also have rotation and scale controls in this setup. Now that you have 3 sliders you can separate the position property of the null into individual values enable expressions in each property and type in value +, then use the pickwhip to drag from the X value to your slider named xPosition (in my example) and repeat for each operation. The value + will add the value of the slider to the current value of the position keyframes. The expression will look like this for X:
value + effect("x position")("Slider")
If you want to use sliders I would use a null, add expression controls to the null for position, scale, and rotation, keep the camera position property unified and then use your expression control sliders on the null to modify your existing path. I would not suggest doing this directly on camera position with separated X, Y and Z values because this will change the shape of your camera path and would be more difficult to control. You'll probably also want to create a camera POInull and use this preset to tie the camera's point of interest to the null.
Here's an animation preset you can apply to a null that will give complete control to the motion path of any animated layer you make the child of this null. Search Animation Preset in the After Effects Search Help field if you do not know how to use them, create them, and save them.
As a final gimme, here's a CS6 project using this animation preset to control a null's position that used to change an animated camera path.

Similar Messages

  • HT1430 How can you reboot your Touch if the screen is frozen and will not allow you to use the "slide to power off"

    How can I reboot my Touch when the screen is frozen and I cannot use the "slide to power off" feature?

    Next try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup. See:                                 
    iOS: How to back up           
    - Restore to factory settings/new iOS device.
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar          

  • Is there any way to have an ipad wifi 3G but not use the 3G (therefore avoiding the extra data plan costs) and just use the wifi?

    i am looking to buy an ipad 2 or the new ipad (preferably 32gb) but dont want to buy the 3G version as i have unlimited data usage in my mobile phone plan, i know the wifi only ipad is generally cheaper, but i was wondering if there was a way to buy the ipad with 3G capabilities but not use the 3G and avoid the cost of paying the extra unnecessary data plan? (I know this is a really weird question but i have the opportunity to buy a 3G ipad and was curious of the possibility? any help would be greatly appreciated. cheers

    Yes to your questions.
    You can download a complete iPad User Guide here: http://manuals.info.apple.com/en/ipad_user_guide.pdf
    If you want an iPad 2 32GB it will have to be a refurb model. The only new iPas 2 is 16GB.
    What are all the differences between the iPad 3rd Gen and the iPad 2? Is the iPad 2 worth the cost savings?
    http://everymac.com/systems/apple/ipad/ipad-faq/differences-between-ipad-3rd-gen -2012-ipad-2-2011.html
    What are all the differences between the iPad 3rd Gen models? Which should I buy?
    http://everymac.com/systems/apple/ipad/ipad-faq/differences-between-ipad-3rd-gen -early-2012-models.html
    Should I Buy a New iPad? Or an iPad 2?
    http://www.maclife.com/article/blogs/should_i_buy_new_ipad_or_ipad_2
    iPad 3 vs iPad 2 vs iPad 1- Feature comparisons with iOS 5
    http://ipadhelp.com/ipad-help/ipad-3-vs-ipad-2/
    iPad Q&A
    http://www.everymac.com/systems/apple/ipad/ipad-faq/differences-between-ipad-3rd -gen-early-2012-models.html
    A Few Questions (and Answers) About the New iPad
    http://pogue.blogs.nytimes.com/2012/03/15/a-few-questions-and-answers-about-the-   new-ipad/?ref=personaltechemail&nl=technology&emc=edit_ct_20120315
    New iPad: A Polishing of the Old
    http://www.nytimes.com/2012/03/15/technology/personaltech/the-new-ipad-is-much-t he-same-only-better.html?nl=technology&emc=edit_ct_20120315
    iPad 1, 2 and New Specifications
    http://www.everymac.com/systems/apple/ipad/index-ipad-specs.html
    16GB vs 32GB vs 64GB: Which new iPad storage capacity should you get?
    http://www.imore.com/2012/03/08/16gb-32gb-64gb-ipad-capacity/
    How much content will fit on my iPod or iPhone?
    http://support.apple.com/kb/HT1867
    If you think you may get an iPad 2:
    Refurbished iPad Prices
    http://store.apple.com/us/browse/home/specialdeals/ipad
    New 16GB iPad 2 Prices
    http://store.apple.com/us/browse/home/shop_ipad/family/ipad/select_ipad2
    When iOS 6 comes out in the fall, the iPad 3 will get Siri, but the iPad 2 won't.
     Cheers, Tom

  • How to use a slider to turn on and off lights

    Hi guys. i am fairly familiar with Labview now but cant seen to get my head around this problem. i have a slider which is numbered from 1 to 10. below the slider i inserted 10 LED lights. my aim sis to use the slider to turn on and off the lights. for an exmaple, when i set the slider to one, the light on the far left should go on. when i set the slider to 2, the first light should go on and the second light next to it should go on, and the pattern continues. i thought of using the number to array boolean but it didnt seem to do the trick. could you please help me out. i have attached the basic layout of how i wanted the objects to be arranged
    kind regards
    joe
    Solved!
    Go to Solution.
    Attachments:
    led control.vi ‏7 KB

    wow! simplicity at its best! thats really straight forward to understand. i think you are right about making complicated circuits. the reason why i had asked to know how to do this was because i wanted to learn how to control motor directions using a slider. so after i thought i had got the easiest way of giving out 2 different outputs using a slider, i replaced the lights with switches that changed the direction of the motor. i successfully did this for the first motor and it rotated fairly well, but wanted to control 4 in total. so i simply copied and pasted the code and re-asigned the switches to different motors. when i did this, the results did work BUT the motors went very very slow. the movement was not steady and kept skipping. i think this its due to the coding being overly complicated thefore causing a serious lag. if you could please have a look
    kind regards
    joe
    Attachments:
    controling test.vi ‏29 KB

  • How to use the POST method In Oracle APEX 3.1

    Hi,
    In APEX if we are submitting the page the parameters( Variables ) will pass through URL.
    How to hide the these parameters from URL??
    I Hope POST method will solve this problem.
    How to use the POST method in APEX???
    Help me out to solve this problem.
    thanks in advance.
    Cheers,
    Shan

    In APEX if we are submitting the page the parameters( Variables ) will pass through URL.No they won't. Submission POSTs the <tt>wwv_flow</tt> form.
    Sometimes a branch may be performed after submission, generating a URL in which parameter values are visible. To avoid this, use the save state before branching option.
    Other actions&mdash;like using navigation lists, or clicking a link in a report&mdash;will perform a GET using parameters in the URL. In these cases using Session State Protection is advised.

  • How to use the namespace with a parser?

    I want to use the namespace in my project. For this reason, I use a sample
    from
    http://java.sun.com/xml/jaxp/dist/1.1/docs/tutorial/sax/7b_pe.html
    http://java.sun.com/xml/jaxp/dist/1.1/docs/tutorial/dom/5_ns.html
    to test my understanding.
    The slideshow2.dtd refer to the definition in 'xhtml.dtd'. Because in these
    two files, they all use the 'title' as the element names. To solve these
    conflicts, The namespace is used to qualified the one in slideshow2.dtd.
    But the parser still complain that the 'title' in slideshow2.dtd is declared
    more than once.
    I use apache's Xerces.
    I want to know if Xereces realy support namespace spec. now, or how to use
    the namespace with a parser. Can anyone kindly tell me where to find some
    material that demo the use of namespace in Java program.
    Thanks for any help!!!
    #############FILE: slideshow2.dtd ###############
    <?xml version='1.0' encoding='us-ascii'?>
    <!ELEMENT slideshow (slide+)>
    <!ELEMENT slide (title?, item*)>
    <!ENTITY % xhtml SYSTEM "xhtml.dtd">
    %xhtml;
    <!ELEMENT title (#PCDATA)*>
    <!ATTLIST title
    xmlns CDATA #FIXED "http://www.example.com/slideshow"
    >
    <!ELEMENT item (#PCDATA)>
    ##############FILE: xhtml.dtd #########################
    <?xml version='1.0' encoding='us-ascii'?>
    <!ELEMENT html (head)>
    <!ATTLIST html
    xmlns CDATA #FIXED "http://www.example.com/xhtml"
    >
    <!ELEMENT head (title,style*)>
    <!ELEMENT title (#PCDATA)>
    <!ELEMENT style (#PCDATA)>
    #############FILE: slideshow.xml ####################
    <?xml version='1.0' encoding='utf-8'?>
    <!DOCTYPE slideshow SYSTEM "slideshow2.dtd">
    <slideshow>
    <slide>
    <title xmlns="http://www.example.com/slideshow">Wake up to
    products!</title>
    </slide>
    </slideshow>

    I want to use the namespace in my project. For this reason, I use a sample
    from
    http://java.sun.com/xml/jaxp/dist/1.1/docs/tutorial/sax/7b_pe.html
    http://java.sun.com/xml/jaxp/dist/1.1/docs/tutorial/dom/5_ns.html
    to test my understanding.
    The slideshow2.dtd refer to the definition in 'xhtml.dtd'. Because in these
    two files, they all use the 'title' as the element names. To solve these
    conflicts, The namespace is used to qualified the one in slideshow2.dtd.
    But the parser still complain that the 'title' in slideshow2.dtd is declared
    more than once.
    I use apache's Xerces.
    I want to know if Xereces realy support namespace spec. now, or how to use
    the namespace with a parser. Can anyone kindly tell me where to find some
    material that demo the use of namespace in Java program.
    Thanks for any help!!!
    #############FILE: slideshow2.dtd ###############
    <?xml version='1.0' encoding='us-ascii'?>
    <!ELEMENT slideshow (slide+)>
    <!ELEMENT slide (title?, item*)>
    <!ENTITY % xhtml SYSTEM "xhtml.dtd">
    %xhtml;
    <!ELEMENT title (#PCDATA)*>
    <!ATTLIST title
    xmlns CDATA #FIXED "http://www.example.com/slideshow"
    >
    <!ELEMENT item (#PCDATA)>
    ##############FILE: xhtml.dtd #########################
    <?xml version='1.0' encoding='us-ascii'?>
    <!ELEMENT html (head)>
    <!ATTLIST html
    xmlns CDATA #FIXED "http://www.example.com/xhtml"
    >
    <!ELEMENT head (title,style*)>
    <!ELEMENT title (#PCDATA)>
    <!ELEMENT style (#PCDATA)>
    #############FILE: slideshow.xml ####################
    <?xml version='1.0' encoding='utf-8'?>
    <!DOCTYPE slideshow SYSTEM "slideshow2.dtd">
    <slideshow>
    <slide>
    <title xmlns="http://www.example.com/slideshow">Wake up to
    products!</title>
    </slide>
    </slideshow>

  • Hello anyone know how to use the locked iphone outside USA

    hello anyone know how to use the locked AT&T iphone 5 outside US. I'll go to Japan. Don't know if the phone can be used there.any idea will be appreciated.

    You'll need to get it unlocked by ATandT to avoid paying huge roaming costs.
    See: http://www.att.com/esupport/article.jsp?sid=KB414532&cv=820

  • HT1338 All of a sudden my apple mouse will not scroll down, it will scroll back up the screen but I have to use the slide bar to move the screen down. Can someone offer a solution?

    All of a sudden my apple mouse will not scroll down the screen, it will scroll back up but I have to use the slide bar to move down the screen. Has anyone had this problem and how to fix it?

    http://computer-hardware.wonderhowto.com/how-to/clean-apple-mighty-mouse-scroll- ball-217746/
    http://www.apartmenttherapy.com/how-to-clean-apples-mighty-mou-108357
     Cheers, Tom

  • Iphone 4 screen not responding. not able to use the slider to unlock the phone

    Hi,
    I have a iphone 4 which was purchased in the UK 2 yrs back. I use this phone in india. Since today morning the screen has become unresponsive and i am not able to use the slider to unlock the screen to be able to make or recieve calls or perform any other fuction on my phone. I spoke to apple customer care in india about this problem and they suggested to try restoring the phone which didnt work out. Now they say that I will have to get this repaired in the UK since apple doesnt have apple stores and service centers in India. I think it is some hardware issue. I am not in a position to send it back to UK since i dont have any friends or relatives there in the UK nor i am traveling to the UK at this point in time. Pls help me out and suggest how can i get my phone replaced in India.
    Regards,
    Rajat

    Then go to Settings/General/Accessibility and turn Zoom to OFF.

  • Is there any way to unlock iPhone besides using the slide?

    Is there any way to unlock iPhone besides using the slide? My vision impaired Dad is slowly learning to feel his way to the approximate position of the slide and learn how to flick his thumb to unlock the iphone. Is there any other way to unlock an iPhone from sleep?

    If you activate "Voiceover", your Dad can use the voiceover gestures to control the phone. These are different from normal gestures. For example, Unlock iPhone: Select the Unlock switch, then double-tap the screen.
    To learn about voiceover, see this: http://www.apple.com/iphone/how-to/#accessibility.using-voiceover

  • I'm trying to use the slide to unlock bar but the iPad 3 touch screen is non responsive.

    iPad 3 touch screen non responsive. How can I fix this?
    I'm trying to use the slide to unlock bar but the iPad 3 touch screen is non responsive. How can I fix this!

    I tried that step but it would not work. I think I may have changed a setting.
    I was able to highlight a function but had to tap 3 times to get it to respond
    to the command. I think it's some type of Restriction or Accessibility settings.
    Any suggestions?

  • Using iPad 2 - if i use the slide switch to lock rotation, i cannot unlock rotation, unless i use it to mute sounds.  i can't therefore have unmuted sounds and unlocked rotation at the same time??

    using iPad 2 - if i use the slide switch to lock rotation, i cannot unlock rotation, unless i use it to mute sounds.  i can't therefore have unmuted sounds and unlocked rotation at the same time??

    Uh .... Yes you can. You just have to understand how the whole thing works.
    System sounds can be muted and controlled two different ways. The screen lock rotation can be controlled in the same manner as well.
    Settings>General>Use Side Switch to: Mute System sounds. If this option is selected, the switch on the side of the iPad above the volume rocker will mute system sounds.
    If you choose Lock Screen Rotation, then the switch locks the screen. If the screen is locked, you will see a lock icon in the upper right corner next to the battery indicator gauge.
    If you have the side switch set to lock screen rotation then the system sound control is in the task bar. Double tap the home button and in the task bar at the bottom, swipe all the way to the right. The speaker icon is all the way to the left. Tap on it and system sounds will return.
    If you have the side switch set to mute system sounds, then the screen lock rotation can be accessed via the task bar in the same manner as described above.
    This support article from Apple explains how the side switch works.
    http://support.apple.com/kb/HT4085

  • How to use the same POWL query for multiple users

    Hello,
    I have defined a POWL query which executes properly. But if I map the same POWL query to 2 portal users and the 2 portal users try to access the same page simultaneously then it gives an error message to one of the users that
    "Query 'ABC' is already open in another session."
    where 'ABC' is the query name.
    Can you please tell me how to use the same POWL query for multiple users ?
    A fast reply would be highly appreciated.
    Thanks and Regards,
    Sandhya

    Batch processing usually involves using actions you have recorded.  In Action you can insert Path that can be used during processing documents.  Path have some size so you may want to only process document that have the same size.  Look in the Actions Palette fly-out menu for insert path.  It inserts|records the current document work path into the action being worked on and when the action is played it inserts the path into the document as the current work path..

  • Okay so I set up my Time Capsule already and is now backing up 2 of my iMacs. Works great. What I want to know is how to use the TC to directly store files? I want to do this to delete some files but still have them on the TC for future reference..

    Okay so I set up my Time Capsule already and is now backing up 2 of my iMacs. Works great. What I want to know is how to use the TC to directly store files? I want to do this to delete some files on iMac 20inch but still have them on the TC for future reference..eg some movies on iTunes. I want to directly save them on the drive so I can delete them from iTunes and gain some storage. (Ps on iMac 20 inch (it's almost full - 320 GB) when I enter time machine, a tab comes up on finder which reads "Time Machine backups" it's able to be ejected like a disc or a connected device. On the iMac 20 inch, I dragged some files onto there as if using it like a hard drive. Is this the correct method? Then I went to my 27inch iMac and saw the "Time Machine Backups" hoping to see the files I dragged from the 20inch iMac. But the files were not there except a folder that said "Backups.backupdb". Can someone help me?

    It's not a good idea to use a network disk for both Time Machine backups and other things.  By design Time Machine will eventually consume all the space on its output disk, which will then cause problem for your other files.  I'd store those other files on an external disk connected to the Time Capsule.  The problem with that is that Time Machine will only back up files that are local to your Mac.  That means that you'll only have one copy of the files on or attached to your Time Capsule.
    By the way, you've been misled by poor field labeling on this forum into typing a large part of your message into the field intended for the subject.  In the future just type a short summary of your post into that field and type the whole message into the field below that.

  • JNI - How to use the error reporting mechanism?

    I've developed a C++ DLL which is loaded from a commercial Win32 application (not written by me) as a plug-in for external calculations. On its initialization the C++ DLL launches the Java VM via the JNI invocation interface. When the DLL functions are called by the application, they forward the calls to Java objects inside the Java VM, again via JNI invocation interface.
    This works well, but I have encountered a weird error.
    From Java I open a JFrame containing a JTextArea as small console for debug output messages. If I turn output to this debug console off (my printToConsole routine checks whether a boolean flag is set), the string concatenation operator may lead to a crash of the Java VM.
    For example, if in one of the Java functions called from the
    DLL via JNI invocation interface the following is the first statement,
    it leads to a crash of the Java VM and the application that loaded the C++ proxy DLL.
    String test=""+Math.random(); // String test not used later
    Interestingly, if I comment this statement out, the Java code works fine WITHOUT any crash. I've already thought about potential races and synchronization issues in my code, but I don't see where this is the case. And the string concatenation error fails as well, if I insert sleep() statements in front of it and at other places in the code. However, if I turn on log messages printed to my JFrame debug console (containing a JTextArea), the String concatenation works without problems.
    So maybe the JNI interface has a bug and affects the Java VM; I don't see where my JNI code is wrong.
    One problem is that I do not get any stdout output, as the C++ proxy DLL is loaded by the Windows application, even if I start the Windows application from the DOS command line (under Windows).
    Does anyone know how to use the error reporting mechanism?
    http://java.sun.com/j2se/1.4.2/docs/guide/vm/error-handling.html
    Is it possible that the JVM, when it crashes, writes debug information about the crash into a file instead of stdout/stderr?
    My C++ proxy DLL was compiled in debug mode, but the commercial application (which loaded the DLL) is very likely not.
    I do not know hot to find the reason why the String concatenation fails inside the Java function called from the C++ DLL via JNI.

    Yes, I've initially thought about errors in the C++ code too. But the C++ code is actually very simple and short. It doesn't allocate anything on the C++ side. It allocates a couple of ByteBuffers inside the Java VM however via JNI invocation interface calls of env->NewDirectByteBuffer(). The native memory regions accessed via the ByteBuffers are allocated not by my own C++ code, but by the program that calls my DLL (the program is Metastock).
    The interesting thing is that everything works fine if output to my debug console is enabled, which means that in the Java print routine getConsoleLoggingState() returns true and text is appended to the jTextArea.
    static synchronized void print(String str)
    { MetaStockMonitor mMon=getInstance();
    if ( mMon.getFileLoggingState() && mMon.logFileWriter!=null) {
    mMon.logFileWriter.print(str);
    mMon.logFileWriter.flush();
    if ( mMon.getConsoleLoggingState() ) {
    mMon.jTextArea1.append(str);
    Only if output to the JTextArea is turned off (ie. getConsoleLoggingState()==false), the crash happens when the FIRST statement in the Java routine called via JNI invocation interface is a (useless) String concatenation operation, as described above.
    String test=""+Math.random(); // String test not used later
    Moreover, the crash happens BEFORE the allocated ByteBuffer objects are accessed in the Java code. But again, if console output is turned on, it works stable. If console output is turned off, it works when the (useless) String concatenation operation is removed in the Java routine called from C++.
    I've already thought about potential races (regarding multiple threads), but this can be ruled out in my case. It almost appears as if the JVM can have problems when called by the invocation interface (I tested it with Java 1.4.2 b28).
    All the calls between C++ and Java go ALWAYS in the direction from C++ code to Java. Unfortunately, there is no special JRE version with extensive logging capabilities to facilitate debugging. And the problem is not easily reproducible either.
    JNIEnv* JNI_GetEnv()
    JNIEnv *env;
    cached_jvm->AttachCurrentThread((void**)&env,NULL);
    fprintf(logfile,"env=%i\n",env);
    fflush(logfile);
    return env;
    // function called by Metastock's MSX plug-in interface
    BOOL __stdcall createIndEngine (const MSXDataRec *a_psDataRec,
    const MSXDataInfoRecArgsArray *a_psDataInfoArgs,
    const MSXNumericArgsArray *a_psNumericArgs,
    const MSXStringArgsArray *a_psStringArgs,
    const MSXCustomArgsArray *a_psCustomArgs,
    MSXResultRec *a_psResultRec)
    a_psResultRec->psResultArray->iFirstValid=0;
    a_psResultRec->psResultArray->iLastValid=-1;
    jthrowable ex;
    jmethodID mid;
    JNIEnv* env=JNI_GetEnv();
    jobject chart=getChart(env, a_psDataRec);
    if ( chart==NULL) {
    return MSX_ERROR;
    jobject getChart (JNIEnv* env, const MSXDataRec *a_psDataRec)
    jthrowable ex;
    jmethodID mid;
    int closeFirstValid, closeLastValid;
    closeFirstValid=a_psDataRec->sClose.iFirstValid;
    closeLastValid=a_psDataRec->sClose.iLastValid;
    long firstDate, firstTime;
    if (closeFirstValid>=1 && closeFirstValid<=closeLastValid) {
    firstDate = a_psDataRec->psDate[closeFirstValid].lDate;
    firstTime = a_psDataRec->psDate[closeFirstValid].lTime;
    } else {
    firstDate=0;
    firstTime=0;
    jclass chartFactoryClass = env->FindClass("wschwendt/metastock/msx/ChartFactory");
    if (ex= env->ExceptionOccurred() ) {
    env->ExceptionDescribe();
    env->ExceptionClear();
    sprintf(sbuf, "DLL: Cannot find class ChartFactory\n");
    printSBufViaJava(sbuf);
    return NULL;
    mid = env->GetStaticMethodID(chartFactoryClass, "getInstance", "()Lwschwendt/metastock/msx/ChartFactory;");
    if (ex= env->ExceptionOccurred() ) {
    env->ExceptionDescribe();
    env->ExceptionClear();
    sprintf(sbuf, "DLL: Cannot find method ID for ChartFactory.getInstance()\n");
    printSBufViaJava(sbuf);
    return NULL;
    jobject chartFactory=env->CallStaticObjectMethod(chartFactoryClass, mid);
    if (ex= env->ExceptionOccurred() ) {
    env->ExceptionDescribe();
    env->ExceptionClear();
    sprintf(sbuf, "DLL: Exception while calling ChartFactory.getInstance()");
    printSBufViaJava(sbuf);
    return NULL;
    mid = env->GetMethodID(chartFactoryClass, "getChartID", "(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;IIIIIII)F");
    if (ex= env->ExceptionOccurred() ) {
    env->ExceptionDescribe();
    env->ExceptionClear();
    sprintf(sbuf, "DLL: Cannot find method ID for ChartFactory.getChartID()\n");
    printSBufViaJava(sbuf);
    return NULL;
    jobject symbolBuf=env->NewDirectByteBuffer(a_psDataRec->pszSymbol, strlen(a_psDataRec->pszSymbol) );
    if (ex= env->ExceptionOccurred() ) {
    env->ExceptionDescribe();
    env->ExceptionClear();
    sprintf(sbuf, "DLL: Cannot allocate symbolBuf\n");
    printSBufViaJava(sbuf);
    return NULL;
    jobject securityNameBuf=env->NewDirectByteBuffer(a_psDataRec->pszSecurityName, strlen(a_psDataRec->pszSecurityName) );
    if (ex= env->ExceptionOccurred() ) {
    env->ExceptionDescribe();
    env->ExceptionClear();
    sprintf(sbuf, "DLL: Cannot allocate securityNameBuf\n");
    printSBufViaJava(sbuf);
    return NULL;
    jobject securityPathBuf=env->NewDirectByteBuffer(a_psDataRec->pszSecurityPath, strlen(a_psDataRec->pszSecurityPath) );
    if (ex= env->ExceptionOccurred() ) {
    env->ExceptionDescribe();
    env->ExceptionClear();
    sprintf(sbuf, "DLL: Cannot allocate securityPathBuf\n");
    printSBufViaJava(sbuf);
    return NULL;
    jobject securityOnlineSourceBuf=env->NewDirectByteBuffer(a_psDataRec->pszOnlineSource, strlen(a_psDataRec->pszOnlineSource) );
    if (ex= env->ExceptionOccurred() ) {
    env->ExceptionDescribe();
    env->ExceptionClear();
    sprintf(sbuf, "DLL: Cannot allocate onlineSourceBuf\n");
    printSBufViaJava(sbuf);
    return NULL;
    // Java Function call leads to crash, if console output is turned off and
    // the first statement in the Java routine is a (useless) string concatenation.
    // Otherwise it works stable.
    jfloat chartID=env->CallFloatMethod(chartFactory, mid, securityNameBuf, symbolBuf,
    securityPathBuf, securityOnlineSourceBuf, (jint)(a_psDataRec->iPeriod),
    (jint)(a_psDataRec->iInterval), (jint)(a_psDataRec->iStartTime),
    (jint)(a_psDataRec->iEndTime), (jint)(a_psDataRec->iSymbolType),
    (jint)firstDate, (jint)firstTime );
    if (ex= env->ExceptionOccurred() ) {
    env->ExceptionDescribe();
    env->ExceptionClear();
    sprintf(sbuf, "DLL: Exception while calling ChartFactory.getChartID()");
    printSBufViaJava(sbuf);
    return NULL;

Maybe you are looking for

  • New MacBook Pro 13" OK to drive external Monitor?

    My 5 year old Core duo-2 MBP-13" drives a 23" external LG Flat Screen monitor perfectly.  But I am hearing that the latest MBP-13" (including the fastest build-your-own model) has some issues with an external monitor - it may stutter of be slow. Well

  • How to make sure a disk is bad?

    I have a Western Digital 320 GB FireWire disk that has been acting up. The symptoms include • IO errors reported when using ChronoSync to back up • When I tried DiskWarrior, while rebuilding the directory it said something like "Performance will be s

  • Parameter to CRM report

    Hello All, I am trying to pass a Account lookup value to the report so that it opens directly instead of user having to choose the account in the filter criteria. What is the correct way to add a lookup parameter to the CRM report URL? Thanks

  • Sub-directories / albums

    Is it possible to create sub-directories of albums in iPhoto 4? Looks like you can create Folders in iPhoto 5 which then contain separate albums, but can you do something similar in iPhoto 4? Basically I want to group all photos from a holiday in Egy

  • Every time I start Illustrator CS6 I get an error message: "Error loading plugin AIHostAdapter.aip.

    Every time I start Illustrator CS6 I get an error message: "Error loading plugin AIHostAdapter.aip. I have tried reloading the program, updating, everything. I've checked the forums but no one seems to have a solution