Question on void*__Crun::vector_new function

Hi,
This is using Studio 11 on x86. I am trying to allocate a array of class using
MyObject* objs = new MyObject[size];
I notice that this call occasionally ends up calling the destructor of MyObject. The size could potentially be very large. Is it possible that if the allocation fails, vector_new might cleanup any already allocated MyObject class by calling the destructor?

This question is about C++, and should be posted in the C++ forum.
When you write
MyObject* objs = new MyObject[size];the compiler generates code to invoke the MyObject constructor for each element of the vector. The compiler generates a call to a helper function in the C++ runtime library to do the initialization.
The destructor for a heap object like this is never invoked automatically. You have to write code to call the destructor, either an explicit call like this:
objs[0].~MyObject()or by deleting the array:
delete [] objs;In this case, the destructor is called for each object in the array.
Are you saying that you see the MyObject destructor invoked while processing the new-expression? I don't see how that can happen, unless you have a wild jump due to errors in the code.
For example, if the MyObject constructor winds up using an invalid pointer, or writing outside the bounds of the current object, it can corrupt memory, leading to seemingly random behavior. Running the code under the debugger with Run Time Checking enabled will find many such errors.
Run-Time Checking is only partially supported on x86 using Studio 11. Sun Studio 12 provides full support. To use RTC:
% dbx myprog
(dbx) check -all
(dbx) run

Similar Messages

  • Follow-up question on ZXM08U16 table E_TDRSEG  (function group XM08)

    Rich's suggestion worked (on how to retype the E_TDRSEG table received from MIRO by include ZXM08U16 in the function group XM08.
    Before asking my new follow-up question, let me recap the original SAP typing of this table and the way I've retyped it (following Rich's instructions):
    The original SAP typing is:
    E_TDRSEG TYPE  MMCR_TDRSEG
    TYPES: mmcr_tdrseg TYPE mmcr_drseg OCCURS 0,
    TYPES: BEGIN OF mmcr_drseg_co.
            INCLUDE STRUCTURE cobl_mrm_d.
    TYPES: cr LIKE drseg_cr    OCCURS 0,
           unpl_refwr TYPE refwr,
           END OF mmcr_drseg_co.
    TYPES: BEGIN OF mmcr_drseg.
            INCLUDE STRUCTURE drseg.
    TYPES: cr LIKE drseg_cr OCCURS 0,
           co TYPE mmcr_drseg_co OCCURS 0,
           sm LIKE drseg_sm OCCURS 0,
           charact TYPE rbcharact_instance OCCURS 3,
                                           "instances of characteristics
           uebgmat  TYPE matnr,
           uebrblgp TYPE rblgp,
           selkz_db TYPE selkz,
           rblgp_old TYPE rblgp,           "rblgp before aggregation
           END OF mmcr_drseg.
    I retyped this as follows:
    TYPES:
      ty_cobl_mrm_d        TYPE cobl_mrm_d,
      ty_drseg_cr          TYPE STANDARD TABLE OF drseg_cr with DEFAULT KEY,
      ty_drseg_sm          TYPE STANDARD TABLE OF drseg_sm with DEFAULT KEY,
      ty_charact           TYPE STANDARD TABLE OF rbcharact_instance with DEFAULT KEY,
      BEGIN OF ty_mmcr_drseg_co.
        INCLUDE            TYPE ty_cobl_mrm_d.
        TYPES:
          cr               TYPE ty_drseg_cr ,
          unpl_refwr       TYPE refwr,
      END OF   ty_mmcr_drseg_co,
      ty_co                TYPE STANDARD TABLE OF ty_mmcr_drseg_co
                           WITH DEFAULT KEY,
      BEGIN OF ty_mmcr_drseg.
        INCLUDE            TYPE drseg.
        TYPES:
          cr               TYPE ty_drseg_cr,
          co               TYPE ty_co,
          sm               TYPE ty_drseg_sm,
          charact          TYPE ty_charact,        "instances of characteristics
          uebgmat          TYPE matnr,
          uebrblgp         TYPE rblgp,
          selkz_db         TYPE selkz,
          rblgp_old        TYPE rblgp,             "rblgp before aggregation
      END OF   ty_mmcr_drseg.
      DATA:
        x_mmcr_drseg       TYPE mmcr_drseg,
        x_mmcr_drseg_oo    TYPE ty_mmcr_drseg,
        it_mmcr_drseg      TYPE STANDARD TABLE OF ty_mmcr_drseg,
        x_drseg_cr         TYPE drseg_cr,
        x_drseg_sm         TYPE drseg_sm,
        x_drseg_co         TYPE ty_mmcr_drseg_co.
    But here's my question.  To load the new table from the SAP table, I've had to use the code below.  Is there any way to simplify this code?  (I don't think there is because the drseg structure is included in the old and the new, so you can't simply say new-drseg = old-drseg.  But maybe there's another way to do it and I'm not seeing it.  Also, note that I had to loop on each of  the inner three tables because it wouldn't compile when I tried statements of the form "new-table[] = old-table[].)
      LOOP AT e_tdrseg INTO x_mmcr_drseg.
        x_mmcr_drseg_oo-anln1     = x_mmcr_drseg-anln1.
        x_mmcr_drseg_oo-anln2     = x_mmcr_drseg-anln2.
        x_mmcr_drseg_oo-aplzl     = x_mmcr_drseg-aplzl.
        x_mmcr_drseg_oo-arewr     = x_mmcr_drseg-arewr.
        x_mmcr_drseg_oo-areww     = x_mmcr_drseg-areww.
        x_mmcr_drseg_oo-aufnr     = x_mmcr_drseg-aufnr.
        x_mmcr_drseg_oo-aufpl     = x_mmcr_drseg-aufpl.
        x_mmcr_drseg_oo-basme     = x_mmcr_drseg-aufpl.
        x_mmcr_drseg_oo-bedat     = x_mmcr_drseg-bedat.
        x_mmcr_drseg_oo-begru     = x_mmcr_drseg-begru.
        x_mmcr_drseg_oo-bewae     = x_mmcr_drseg-bewae.
        x_mmcr_drseg_oo-ekgrp     = x_mmcr_drseg-ekgrp.
        x_mmcr_drseg_oo-bpmng     = x_mmcr_drseg-bpmng.
        x_mmcr_drseg_oo-bprme     = x_mmcr_drseg-bprme.
        x_mmcr_drseg_oo-bpumn     = x_mmcr_drseg-bprme.
        x_mmcr_drseg_oo-bpumz     = x_mmcr_drseg-bpumz.
        x_mmcr_drseg_oo-bpwem     = x_mmcr_drseg-bpwem.
        x_mmcr_drseg_oo-bprem     = x_mmcr_drseg-bprem.
        x_mmcr_drseg_oo-bsmng     = x_mmcr_drseg-bsmng.
        x_mmcr_drseg_oo-budat     = x_mmcr_drseg-budat.
        x_mmcr_drseg_oo-bukrs     = x_mmcr_drseg-bukrs.
        x_mmcr_drseg_oo-bwtar     = x_mmcr_drseg-bwtar.
        LOOP at x_mmcr_drseg-cr INTO x_drseg_cr.
          APPEND x_drseg_cr TO x_mmcr_drseg_oo-cr.
        ENDLOOP..
        LOOP at x_mmcr_drseg-co INTO x_drseg_co.
          APPEND x_drseg_co TO x_mmcr_drseg_oo-co.
        ENDLOOP..
        LOOP at x_mmcr_drseg-sm INTO x_drseg_sm.
          APPEND x_drseg_sm TO x_mmcr_drseg_oo-sm.
        ENDLOOP..
        x_mmcr_drseg_oo-charact   = x_mmcr_drseg-charact.
        x_mmcr_drseg_oo-uebgmat   = x_mmcr_drseg-uebgmat.
        x_mmcr_drseg_oo-uebrblgp  = x_mmcr_drseg-uebrblgp.
        x_mmcr_drseg_oo-selkz_db  = x_mmcr_drseg-selkz_db.
        x_mmcr_drseg_oo-rblgp_old = x_mmcr_drseg-rblgp_old.
      ENDLOOP.

    Hi
    I don't think, I'm agree with you, u can only replace some statament:
    LOOP AT E_TDRSEG INTO X_MMCR_DRSEG.
      X_MMCR_DRSEG_OO-ANLN1     = X_MMCR_DRSEG-ANLN1.
      X_MMCR_DRSEG_OO-ANLN2     = X_MMCR_DRSEG-ANLN2.
      X_MMCR_DRSEG_OO-APLZL     = X_MMCR_DRSEG-APLZL.
      X_MMCR_DRSEG_OO-AREWR     = X_MMCR_DRSEG-AREWR.
      X_MMCR_DRSEG_OO-AREWW     = X_MMCR_DRSEG-AREWW.
      X_MMCR_DRSEG_OO-AUFNR     = X_MMCR_DRSEG-AUFNR.
      X_MMCR_DRSEG_OO-AUFPL     = X_MMCR_DRSEG-AUFPL.
      X_MMCR_DRSEG_OO-BASME     = X_MMCR_DRSEG-AUFPL.
      X_MMCR_DRSEG_OO-BEDAT     = X_MMCR_DRSEG-BEDAT.
      X_MMCR_DRSEG_OO-BEGRU     = X_MMCR_DRSEG-BEGRU.
      X_MMCR_DRSEG_OO-BEWAE     = X_MMCR_DRSEG-BEWAE.
      X_MMCR_DRSEG_OO-EKGRP     = X_MMCR_DRSEG-EKGRP.
      X_MMCR_DRSEG_OO-BPMNG     = X_MMCR_DRSEG-BPMNG.
      X_MMCR_DRSEG_OO-BPRME     = X_MMCR_DRSEG-BPRME.
      X_MMCR_DRSEG_OO-BPUMN     = X_MMCR_DRSEG-BPRME.
      X_MMCR_DRSEG_OO-BPUMZ     = X_MMCR_DRSEG-BPUMZ.
      X_MMCR_DRSEG_OO-BPWEM     = X_MMCR_DRSEG-BPWEM.
      X_MMCR_DRSEG_OO-BPREM     = X_MMCR_DRSEG-BPREM.
      X_MMCR_DRSEG_OO-BSMNG     = X_MMCR_DRSEG-BSMNG.
      X_MMCR_DRSEG_OO-BUDAT     = X_MMCR_DRSEG-BUDAT.
      X_MMCR_DRSEG_OO-BUKRS     = X_MMCR_DRSEG-BUKRS.
      X_MMCR_DRSEG_OO-BWTAR     = X_MMCR_DRSEG-BWTAR.
      X_MMCR_DRSEG_OO-CR[]      = X_MMCR_DRSEG-CR[].
      X_MMCR_DRSEG_OO-CO[]      = X_MMCR_DRSEG-CO[].
      X_MMCR_DRSEG_OO-SM[]      = X_MMCR_DRSEG-SM[].
      X_MMCR_DRSEG_OO-CHARACT   = X_MMCR_DRSEG-CHARACT.
      X_MMCR_DRSEG_OO-UEBGMAT   = X_MMCR_DRSEG-UEBGMAT.
      X_MMCR_DRSEG_OO-UEBRBLGP  = X_MMCR_DRSEG-UEBRBLGP.
      X_MMCR_DRSEG_OO-SELKZ_DB  = X_MMCR_DRSEG-SELKZ_DB.
      X_MMCR_DRSEG_OO-RBLGP_OLD = X_MMCR_DRSEG-RBLGP_OLD.
    ENDLOOP.
    If you want to use APPEND statament u need to refresh the target table at very loop:
    LOOP AT E_TDRSEG INTO X_MMCR_DRSEG.
      X_MMCR_DRSEG_OO-ANLN1     = X_MMCR_DRSEG-ANLN1.
      X_MMCR_DRSEG_OO-ANLN2     = X_MMCR_DRSEG-ANLN2.
      X_MMCR_DRSEG_OO-APLZL     = X_MMCR_DRSEG-APLZL.
      X_MMCR_DRSEG_OO-AREWR     = X_MMCR_DRSEG-AREWR.
      X_MMCR_DRSEG_OO-AREWW     = X_MMCR_DRSEG-AREWW.
      X_MMCR_DRSEG_OO-AUFNR     = X_MMCR_DRSEG-AUFNR.
      X_MMCR_DRSEG_OO-AUFPL     = X_MMCR_DRSEG-AUFPL.
      X_MMCR_DRSEG_OO-BASME     = X_MMCR_DRSEG-AUFPL.
      X_MMCR_DRSEG_OO-BEDAT     = X_MMCR_DRSEG-BEDAT.
      X_MMCR_DRSEG_OO-BEGRU     = X_MMCR_DRSEG-BEGRU.
      X_MMCR_DRSEG_OO-BEWAE     = X_MMCR_DRSEG-BEWAE.
      X_MMCR_DRSEG_OO-EKGRP     = X_MMCR_DRSEG-EKGRP.
      X_MMCR_DRSEG_OO-BPMNG     = X_MMCR_DRSEG-BPMNG.
      X_MMCR_DRSEG_OO-BPRME     = X_MMCR_DRSEG-BPRME.
      X_MMCR_DRSEG_OO-BPUMN     = X_MMCR_DRSEG-BPRME.
      X_MMCR_DRSEG_OO-BPUMZ     = X_MMCR_DRSEG-BPUMZ.
      X_MMCR_DRSEG_OO-BPWEM     = X_MMCR_DRSEG-BPWEM.
      X_MMCR_DRSEG_OO-BPREM     = X_MMCR_DRSEG-BPREM.
      X_MMCR_DRSEG_OO-BSMNG     = X_MMCR_DRSEG-BSMNG.
      X_MMCR_DRSEG_OO-BUDAT     = X_MMCR_DRSEG-BUDAT.
      X_MMCR_DRSEG_OO-BUKRS     = X_MMCR_DRSEG-BUKRS.
      X_MMCR_DRSEG_OO-BWTAR     = X_MMCR_DRSEG-BWTAR.
      REFRESH: X_MMCR_DRSEG_OO-CR,
               X_MMCR_DRSEG_OO-CO,
               X_MMCR_DRSEG_OO-SM.
      APPEND LINES OF: X_MMCR_DRSEG-CR TO X_MMCR_DRSEG_OO-CR,
                       X_MMCR_DRSEG-CO TO X_MMCR_DRSEG_OO-CO
                       X_MMCR_DRSEG-SM TO X_MMCR_DRSEG_OO-SM.
      X_MMCR_DRSEG_OO-CHARACT   = X_MMCR_DRSEG-CHARACT.
      X_MMCR_DRSEG_OO-UEBGMAT   = X_MMCR_DRSEG-UEBGMAT.
      X_MMCR_DRSEG_OO-UEBRBLGP  = X_MMCR_DRSEG-UEBRBLGP.
      X_MMCR_DRSEG_OO-SELKZ_DB  = X_MMCR_DRSEG-SELKZ_DB.
      X_MMCR_DRSEG_OO-RBLGP_OLD = X_MMCR_DRSEG-RBLGP_OLD.
    ENDLOOP.
    Max

  • Question about cursors in a function and how to return the results

    Hi all,
    Some tech info:
    I'm using Oracle 11G database and APEX 4.0.2.00.06
    I use three cursors in a function. My function is called in an APEX standard report, like this by example:
    SELECT fnc_exp(tab.arg1, tab,arg2) FROM table_exp tab;
    My question is: how can I return the values calculated from my function to a standard APEX report? Before, this function was used like this by Oracle Forms to fetch the cursors in the right table columns:
    open c_a;
    fetch c_a into :loc.arg1;
    close c_a;
    open c_b;
    fetch c_b into :loc.arg2, :loc.arg3, :loc.arg4, :loc.arg5;
    close c_b;
    Thanks for your advices!
    Maybe my solution is not right, if you have better ideas, please suggest :)
    PS: If you need more details, please ask which you need.

    Hi,
    I don't think you can do exactly like that in APEX.
    Go for a pipelined function if you want the value be returned from the function.

  • Time series questions - how to do AGO function for prior year end

    Question on how to perform the following calculation in OBIEE:
    I need to create a time series calculation that will calculate a metric as of Dec prior year. For example, my users will select Mar 2010. I want to show the amount for Mar 10 as well as the amount for Dec 09. If the select Jun 10, I will show them the amount for that month as well as Dec 09.
    Is there a way to do an AGO function that will give me this value? I can't use a filter calculation on my column because filter on the period will exclude these records

    Thanks John. Your suggestions seems promising but I'm having issues when I tried it out. I am receiving the following error message:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 22046] To use AGO function, the query level ('Fiscal Period, Prior Fiscal Year End Date') must be a static level. (HY000)
    What I did was create a new level off my Fiscal Time dimension which is a child of Total. I tried creating my AGO calculation using this level but received that error message in Asnwers. Any ideas on what I may be doing wrong?

  • Hello everyone,I have a question,how to realize trigonometric function:sin

    I need to use sin to calculate the distance between two points on the earth.
    In orcale it has the functions:SIN,ACOS,SQRT, but in TT the same sentence is wrong.
    Now I have a question:how can I realize SIN.
    Thanks

    Hi 948835,
    TimesTen doesnt have a lot of math functions, therefore you can use the following options:
    - calculate math functions (sin, cos and etc.) on application level. Different programming languages contain a very rich functional for math ( look at java.lang.Math for Java for instance).
    - use "Passthrough" TimesTen feature which provides you an opportunity to execute the query in Oracle instead of TimesTen. It works for In-Memory DB Cache only :(
    Best regards,
    Gennady

  • Question about the Ni-DAQ function used in VB

    thanks for the previous answer first!
    I found that my computer has not installed the Measurement Stduio. When i wanna add module with file nidaq.bas, it shows nothing. Therefore, i download this file and nidaqcns.inc file from the web. Then i add them into VB project.
    When i use the function, as i don't how to use them. I just simply copy the "AI_Change_Parameter (deviceNumber, channel, paramID, paramValue)" and see the effect. But it states that "invalid outside procedure". Thereafter, i try just input 1 instead. same statement arouse.
    So, my question is how to use them, because i don't have the example.
    Thank you very much

    It's hard to say for sure without seeing some code, but it sounds like you might be calling the function outside of a subroutine or function. Please verify that the call to AI_Change_Parameter is in a subroutine or function and if you're still getting the error, please post the code that's causing the error. Thanks.
    - Elton

  • App-V 5.0SP2 question with SCCM 2012 CU4 (functionality vs full support with R2)

    I understand that for App-V 5.0 SP2 and SCCM 2012 SP1 integration at least CU4 is required but R2 with CU1 for full functionality.
    I’ve attached an image from some session that someone else gave me. I have questions after looking at the slide since there are no details on what is not fully supported with CU4 pre R2.
    Since we have immediate plans to add CU4 to our SCCM 2012 SP1 environment can anyone please give us a break down of what functionality is not available in App-V 5.0 SP2 before we go all the way up to SCCM 2012 R2?
    On another note does anyone have any clue what TechED session that was from so I can see the replay?
    Thanks very much for any info on this.

    Hello,
    As per the slide - CU1 is required for full support with R2.
    See this article;
    http://support.microsoft.com/kb/2938441
    Application Virtualization
    This cumulative update adds support for Microsoft Application Virtualization (App-V) 5.0 Service Pack 2 (SP2). The following issues are seen only in App-V 5.0 SP2 environments earlier than CU1:
    With App-V 5.0 SP2, when a new version of an App-V package supersedes an earlier version, and when that earlier version is being used, the package is listed as not published. Errors that resemble the following are logged in the AppEnforce.log and the AppDiscovery.log
    files.
    AppEnforce.log
    Publish-AppvClientPackage : A publish operation has been scheduled, pending
    the shutdown of all applications in the package or the connection group.
    Publishing Package is successful but one one of the Virtual Package is currently in use. Close this Virtual Package to get the changes into effect
    Performing detection of app deployment type TestApp - Microsoft Application Virtualization 5(ScopeId_0C7279F0-1490-4A0E-A7A3-32A000CEF76D/DeploymentType_d1adf427-ac14-4ee1-9e51-415af7675383, revision 2) for system.
    AppDiscovery.log
    Required component [{AppVPackageRoot}]\TestApp.exe is not published
    With App-V 5.0 SP2, App-V packages that are being used cannot be uninstalled. Errors that resemble the following are logged in the AppEnforce.log file:
    CVEWorker::UninstallConnectionGroup() failed
    Nicke Källén | The Knack| Twitter:
    @Znackattack

  • Upgrade - Green Question mark in SPAU for Function Group

    Hi,
    I am facing a problem while doing upgrade to ECC 6.0.
    There is a function group  KYPR  which has 2 function modules showing Green Question Mark.                                                                               
    REPORT_DIRECTORY_MAINTAIN     
         REPORT_IMPORT_FOR_TRANSPORT   
    I tried running the background program SAPRUPGM
    as suggested by SAP, but that does not solve the problem.
    Also looked at some of the notes, but not able to find any appropriate solution.
    Any help is appreciated.
    Regards
    Vinod

    did you check the forum, there are many answers ? [http://www.sdn.sap.com/irj/scn/advancedsearch?query=spaugreenquestion+mark#sdn_content_category_value_forums]
    Could you tell us what you tried ? (what about OSS connection test, etc.)

  • 11g client questions about Server Explorer lookup functionality

    At my job we are looking to replace another sql developer tool with ODT but there appears to be some bugs in the system still. Maybe I could get some help with these issues. We are currently using VS2005.
    First of re-opening a connection after it has timed out is painful. The only way I have found to reconnect (besides restarting VS) is to close the connection, open the connection and then go to modify connection and say OK, but that procedure is not 100%.
    Second in package bodies when double clicking on a procedure in the body it may or may not take your cursor to that selected procedure. I have been trying to figure out what the conditions are that will allow this lookup to work correctly I have even re-created existing packages with the ODT package wizard and it will still not focus on the selected procedure.
    Another thing I dont really like is that is the package body is broken you don't know it just by looking at the package tree, you have to explode the package spec to see the body with the red x. It would be nice if the body broke it would break the spec for easy scan for broken packages.
    One more request for a feature and I'm done. I wish there was a Find that would work with the server Explorer where I could say I want all the EMP table references and it would give me all of the views, procedures, packages where that table is used. This is one of the popular functions with our current sql developer tool and would be nice to it in ODT.
    I am really excited about this product and can't wait to see what features are added next.

    Thank you very much for the detailed feedback! See below for my comments:
    user10913552 wrote:
    At my job we are looking to replace another sql developer tool with ODT but there appears to be some bugs in the system still. Maybe I could get some help with these issues. We are currently using VS2005.
    Glad you are looking into ODT. However, keep in mind that it is not a 100% replacement for Oracle SQL Developer which has more features. ODT is geared towards the Visual Studio developer. You should still have a look at Oracle SQL Developer as well, in case it suits you better.
    First of re-opening a connection after it has timed out is painful. The only way I have found to reconnect (besides restarting VS) is to close the connection, open the connection and then go to modify connection and say OK, but that procedure is not 100%.
    In general with any Oracle application, when a connection times out you generally have to close and then reopen the connection to get going again. So what you are seeing is expected. I guess we could try to automate this for you, set via an options page. But, a better question is - how come the connections are timing out so often? Maybe you should discuss with your DBA if the timeouts are set unreasonably. Or even better, if you manage the database, just turn off the connection time out.
    Second in package bodies when double clicking on a procedure in the body it may or may not take your cursor to that selected procedure. I have been trying to figure out what the conditions are that will allow this lookup to work correctly I have even re-created existing packages with the ODT package wizard and it will still not focus on the selected procedure.I have heard this being reported but I haven't been able to reproduce it myself. It always works for me. Can you attach a create script to this thread that could let me reproduce it?
    >
    Another thing I dont really like is that is the package body is broken you don't know it just by looking at the package tree, you have to explode the package spec to see the body with the red x. It would be nice if the body broke it would break the spec for easy scan for broken packages.
    That's an interesting suggestion - a top level icon to indicate that something in the package is broken, the spec or the body. In Oracle a package is really two pieces, the spec and body and we are trying to portray it as one thing.
    One more request for a feature and I'm done. I wish there was a Find that would work with the server Explorer where I could say I want all the EMP table references and it would give me all of the views, procedures, packages where that table is used. This is one of the popular functions with our current sql developer tool and would be nice to it in ODT. This is an excellent suggestion. What tool are you currently using?
    >
    I am really excited about this product and can't wait to see what features are added next.One of the biggest new features is Performance Analyzer. The tricky part of Perf Analyzer is to get enough database activity to generate helpful reccommendations. But once you do, I think it is a great feature.

  • Book layout question due to lack of functionality in InDesign

    I am a doctoral student (cancer cell biology) starting to write my dissertation (in Word 2007) and I'm using InDesign CS3 (5.0.4) for the layout (I refuse to layout figures and tables in Word... tried it... giant pain in the a$$).  My original plan was to create a Book in InDesign and have each chapter be a separate file.  Due to the bibliography software I need to use the Word file has to be a single file (see this thread for details).  InDesign cannot just Place a range of pages (it's seems to be all or nothing) and this creates a problem (see the previous thread).
    The question I have, is it smart to break each chapter out into a separate file?  My thinking was that since I would be bringing in a fair number Photoshop and Illustrator files into each chapter it would be wise to keep the file size down (I'm not doing this on the best of computers, at least by graphic designer standards) and it would make rearranging a little easier (my mentor has a habit of changing his mind and chapter 3 could easily switch places with chapter 7).
    This is my first book so any thoughts or advice you have would be greatly appreciated.
    Regards,
    Adrian.

    Nah, it's just me.  My mentor wants paper output for the markup, the committee will take a PDF or paper and the university has (thankfully) instituted an electronic submission criteria.  The final product has to be a PDF to the school and I'll have some output to paper and bound for my mentor, my family (as a gift) and myself.
    The two students before me did everything in Word and yeah you can make Word do it but I just don't hassle with it.  I make religious use of styles in Word (and only 4 styles at that... talked to a graphic designer who does books for a living "Keep the styles to minimum!!"... Done), so getting it into InDesign is cake.  Also, my mentor has a nasty of habit of constantly changing his mind and doing things like, "Can you move that picture about a centimeter to left, I just want a little space in there".  I have been through this with Word, it will do it but the voices in your head will start suggesting that you kill again (and nobody wants that).  I plan on doing my grants this way, manuscripts this way, everything.  Everybody (NIH, journals, other funding sources) requires a PDF now and some require rather optimized PDFs (people think I'm crazy but I swear there is a difference between the PDFs that InDesign outputs and the ones that my wife's Mac does--just using the built-in PDF renderer or some of the other PDF creators for Windows), so I just went ahead and went through a tutorial on VTC.com and then read a couple of books.  I wouldn't be able to layout a magazine but I can do grants, manuscripts, dissertations.

  • Few questions about Satellite A300D-14P functionality

    I have model Satellite A300D-14P for one month. Warranty 2 yrs. I have few questions, and asking for help, and suggestions what I should do?
    *My camera quality * is VERY poor, Only with very much light on, I can get generally ok picture quality. Indoor, beside turned on both options, night mode or backlight compensation I hardly can see my face, very dark and poor quality. Second problem is blue led light, it is annoying because half of picture is always blue, somehow that light taking half picture which is always blue:((( I used notebook model from L300 series ( cheaper than mine) with same camera and that blue light, it is working perfectly :(
    *Battery life and start up Vista OS*? ??In power save mode hardly 1.5h ??? Just surfing and nothing else....I asked Toshiba support here in Serbia about that and they told me that it is normal, and measuring of battery life (2, ...h) by specifications, is when my display is off and computer don't do anything ??? They also told me that normal start up time for Vista OS is around 1.45min maybe more???
    If I install win XP is it possible to get battery life longer?
    Do I need to go in Toshiba service or what?
    Thank you very much and sorry if I am boring :))))
    Nikola

    Hay Nikola
    You are not boring at all and welcome on this forum.
    I don't know where to start. ;).
    I have Satellite A300-1LI in front of me and I use it about a month now. Start-up time is very interesting theme and with right configuration you can optimise it and make it much shorter as with factory setting. Please read one very interesting thread about it under http://forums.computers.toshiba-europe.com/forums/thread.jspa?messageID=134947
    Do the same with your Satellite and I hope you will be satisfied.
    Battery running time? I must say that information about two hours is realistic and I can confirm it. The same on my Satellite. But to be honest for mobile computing it is OK. I have changed several notebooks and just business notebook Tecra has had linger battery running time. What you can do is to check Toshiba support site and pick up info about more powerful battery. I am not sure but you can use Battery Pack (Li-Ion, 9 Cell, 6000mAh).
    About cam I cannot say much. On my Satellite it works OK and I am satisfied. OK the quality is not the same like on good external webcams but for integrated cam it is OK.
    If you are not satisfied try to talk with nearest service or try to compare it with some other Satellite by your local dealer.
    So Nikola, if you have more questions please post again.

  • Javascript to JSP question...Can javascript function set session attributes

    hello,
    i have a web app that, on one of its pages, displays "tabbed pane" as an image map at the top (a la amazon.com). my problem is this: each "logical" page contains separate forms that all use the same javabean. in other words, imagine that the tabs represent an account maintenance web ui for an on-line record store. the first tab might be labeled "General," the second "Contact info," the third "Shipping Info." Each uses the same account bean and displays portions of its properties relevant to the tab at hand. what i want to do is allow a user to enter the account maintenance ui, update info on the first tab, click on tab two and have the request with the changes sent to a processing jsp. yet, since each "tab" is actually a separate URL to another page, how do i get the updated info on the first tabe without adding some sort of "SAVE" button on each tab. ive considered using javascript, but dont know how to get the request params out of the first tab whn i click on another tab. is it possible to include an "onClick" function in each URL that "grabs" the updated form fields off the preceeding tab? can a javacript function set session attributes in jsp?

    hello there,
    wow, you've created one big mammy-jammy tool.
    first, javascript cannot access, set values to the session, without having to post to another JSP. javascript is great for manipulating objects, layers, form values, etc.
    you have 2 issues [if i understand correctly]:
    1) you need to able to save user info for a specific tab without having to reloading the page.
    ---you can create a form for EACH of your tabs and POST all the information to a hidden IFRAME or LAYER for NN4. that hidden IFRAME / LAYER will load a JSP page which with all the parameters you posted to it. or you can build a FRAMESET and target that document["frame-name"].src with that same JSP.
    2) handling when the SAVE INFO action should happen: hence some javascript event handler: onMouseOver, onClick, etc
    ---i don't know the dynamics of your tabs, but if store which tab was clicked on last, then if the user clicks on some other tab, javascript can submit that FORM to a JSP [see condition above]
    you have an interesting tool. can i see?
    i hope i wasn't too confusing, but your problem is sooo interesting. =)
    -WJP

  • Going back in tutorial renders unanswered question slides void

    Hi, I have looked through the last few months of questions and don't see exactly my issue.
    I have a Captivate 4 project that is linear and has questions (no scores reported to LMS) throughout to reinforce learning.
    When a learner gets to a quiz item in the series and wants to jump back to an earlier content slide (using TOC or back arrow on Nav bar--I don't have back arrow on Question slide itself.) they can't return to the question and take it. The question appears to be locked up and they get the error message below. This is a question they never tried.
    I don't put a back button on the question because I don't like to encourage that, but I do have on the Quiz settings to "Allow backward movement". If that will fix the problem, then I'll add that button. Just wondering if there is another setting I can change.
    The question settings are:

    Yes, I had to do something, so I changed the number of attempts to unlimited. That did fix the problem. Guess if we aren't scoring the items, we need them guess as many times as they like. This automatically resets the question for reentry from anyplace.
    Thanks.

  • Question regarding usage of "count" function in xsl in my bpel process

    Hi,
    Is it ok to use the "count" function in the xsl transformation activity in BPEL PM version is 10.1.2.0.2?
    Thanks a lot for your help.
    Thanks
    Ravi
    Message was edited by:
    user464609

    removed
    Message was edited by:
    Marc Kelderman

  • Trying the question a different way -Ical function question

    I just got the new phone and the calendar function does not seem to match the Iphone 3. I can not find the option for inviting attendees to a scheduled meeting event. This is true of existing calendar events I am trying to change, as well as new ones I am adding.
    Anyone have advice? User error… or is it really missing in the upgrade?

    hmm, I confess, I did this before installing 10.5.2 so i can't say for sure. However, I've dealt with a few people (see e.g. this [thread|http://discussions.apple.com/thread.jspa?messageID=7012957]) who are running 10.5.2 and still have this issue. I don't know what if anything 10.5.2 did about this but I'm quite sure that it didn't change the group structure inherited from Tiger.
    Message was edited by: V.K.

Maybe you are looking for

  • Standard prg name

    hi , can any one tell me the standard program name for generating two invoices at a single payment. thanks karthik

  • How do I save multiple files from database using oracle forms?

    Forms [32 Bit] Version 10.1.2.3.0 (Production) Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production Hello, I have a form containing a block of records with files set up in a tabular layout. Each row has a checkbox to indicate

  • IPod nano not appearing in iTunes

    I have downloaded iTunes which works fine except there is no "Devices" section in the source panel. When I plug the ipod in it is recognised in the computer control panel but still does not appear in iTunes. It does not connect automatically and ther

  • I need a "I have done it" answer to moving iTunes LYRICS

    I bought an external hard drive in order to move iTunes IN FULL to this drive, because my MacBook Pro is filling up. However, in reviewing the information about how to do this, I admit I'm getting scared. Today, I updated my back-up of same to a larg

  • FUNCTION MODULE TO FIND LAST WORKING DY OF THE MONTH

    FM to find the month end working day , if the month end falls on sunday or saturday or any other public holiday, it shud exclude that day and give me the last working day of that month. Example: Octoberr 2004 month end falls on saturday and sunday. h