References and links

I want to learn and understand about c and data structures and i am very new to it, can someone refer me to some good reference websites or books or articles from which i can undestand the object oriented concepts better and c along with it.Please also let me know how i can practice by downloading the c compiler on my pc installed with windows 8.

This forum is about C, C++, and Fortran programming in general, and about using the Oracle Solaris Studio suite of program development tools on Solaris and Linux in particular. This is not a good place to ask about Windows.
A better place for general questions about C programming and where to get compilers would be newsgroup comp.lang.c or comp.lang.c.moderated. (The latter group filters out spam and conversations are more polite.) If you don't have a newsreader or access to netnews, you can search for the group name at groups.google.com and read and post messages that way.
For recommendations of textbooks, a good source is
http://accu.org
On the left panel of the home page, click on "book reviews".
If you are interested in object-oriented programming, C is not the best programming language for it. C has no direct support for object-oriented constructs. A better choice is C++, which is approximately a superset of C. C++ directly supports a variety of programming methods, including object-oriented programming.
A good place to find out about C++ is
http://isocpp.org
See especially the "Get Started!" tab at the top.

Similar Messages

  • In-Place Element Structures, References and Pointers, Compiler Optimization, and General Stupidity

    [The title of this forum is "Labview Ideas". Although this is NOT a direct suggestion for a change or addition to Labview, it seems appropriate to me to post it in this forum.]
    In-Place Element Structures, References and Pointers, Compiler Optimization, and General Stupidity
    I'd like to see NI actually start a round-table discussion about VI references, Data Value references, local variables, compiler optimizations, etc. I'm a C programmer; I'm used to pointers. They are simple, functional, and well defined. If you know the data type of an object and have a pointer to it, you have the object. I am used to compilers that optimize without the user having to go to weird lengths to arrange it. 
    The 'reference' you get when you right click and "Create Reference" on a control or indicator seems to be merely a shorthand read/write version of the Value property that can't be wired into a flow-of-control (like the error wire) and so causes synchronization issues and race conditions. I try not to use local variables.
    I use references a lot like C pointers; I pass items to SubVIs using references. But the use of references (as compared to C pointers) is really limited, and the implementation is insconsistent, not factorial in capabilites, and buggy. For instance, why can you pass an array by reference and NOT be able to determine the size of the array EXCEPT by dereferencing it and using the "Size Array" VI? I can even get references for all array elements; but I don't know how many there are...! Since arrays are represented internally in Labview as handles, and consist of basically a C-style pointer to the data, and array sizing information, why is the array handle opaque? Why doesn't the reference include operators to look at the referenced handle without instantiating a copy of the array? Why isn't there a "Size Array From Reference" VI in the library that doesn't instantiate a copy of the array locally, but just looks at the array handle?
    Data Value references seem to have been invented solely for the "In-Place Element Structure". Having to write the code to obtain the Data Value Reference before using the In-Place Element Structure simply points out how different a Labview reference is from a C pointer. The Labview help page for Data Value References simply says "Creates a reference to data that you can use to transfer and access the data in a serialized way.".  I've had programmers ask me if this means that the data must be accessed sequentially (serially)...!!!  What exactly does that mean? For those of use who can read between the lines, it means that Labview obtains a semaphore protecting the data references so that only one thread can modify it at a time. Is that the only reason for Data Value References? To provide something that implements the semaphore???
    The In-Place Element Structure talks about minimizing copying of data and compiler optimization. Those kind of optimizations are built in to the compiler in virtually every other language... with no special 'construct' needing to be placed around the code to identify that it can be performed without a local copy. Are you telling me that the Labview compiler is so stupid that it can't identify certain code threads as needing to be single-threaded when optimizing? That the USER has to wrap the code in semaphores before the compiler can figure out it should optimize??? That the compiler cannot implement single threading of parts of the user's code to improve execution efficiency?
    Instead of depending on the user base to send in suggestions one-at-a-time it would be nice if NI would actually host discussions aimed at coming up with a coherent and comprehensive way to handle pointers/references/optimization etc. One of the reasons Labview is so scattered is because individual ideas are evaluated and included without any group discussion about the total environment. How about a MODERATED group, available by invitation only (based on NI interactions with users in person, via support, and on the web) to try and get discussions about Labview evolution going?
    Based solely on the number of Labview bugs I've encountered and reported, I'd guess this has never been done, with the user community, or within NI itself.....

    Here are some articles that can help provide some insights into LabVIEW programming and the LabVIEW compiler. They are both interesting and recommended reading for all intermediate-to-advanced LabVIEW programmers.
    NI LabVIEW Compiler: Under the Hood
    VI Memory Usage
    The second article is a little out-of-date, as it doesn't discuss some of the newer technologies available such as the In-Place Element Structure you were referring to. However, many of the general concepts still apply. Some general notes from your post:
    1. I think part of your confusion is that you are trying to use control references and local variables like you would use variables in a C program. This is not a good analogy. Control references are references to user interface controls, and should almost always be used to control the behavior and appearance of those controls, not to store or transmit data like a pointer. LabVIEW is a dataflow language. Data is intended to be stored or transmitted through wires in most cases, not in references. It is admittedly difficult to make this transition for some text-based programmers. Programming efficiently in LabVIEW sometimes requires a different mindset.
    2. The LabVIEW compiler, while by no means perfect, is a complicated, feature-rich set of machinery that includes a large and growing set of optimizations. Many of these are described in the first link I posted. This includes optimizations you'd find in many programming environments, such as dead code elimination, inlining, and constant folding. One optimization in particular is called inplaceness, which is where LabVIEW determines when buffers can be reused. Contrary to your statement, the In-Place Element Structure is not always required for this optimization to take place. There are many circumstances (dating back years before the IPE structure) where LabVIEW can determine inplaceness and reuse buffers. The IPE structure simply helps users enforce inplaceness in some situations where it's not clear enough on the diagram for the LabVIEW compiler to make that determination.
    The more you learn about programming in LabVIEW, the more you realize that inplaceness itself is the closest analogy to pointers in C, not control references or data references or other such things. Those features have their place, but core, fundamental LabVIEW programming does not require them.
    Jarrod S.
    National Instruments

  • Production Order without Material Number and linked to a PM Order...

    Hi All,
    Is it possible to create a Production Order without Material Number (because it is a "just one time" production), and link it to a PM Order (enterred by a sister Plant) in order to finally report the cost to that PM Order?
    And if YES, how to do it???
    Explanation of the problem (business scenario):
    We have 2 Plants. Let say Plant "A" and Plant "B".
    Plant B is producing spare parts for Plant A.
    There are usual spare parts, which have a Material Number.
    But there are also spare parts which will be produced only once, and which don't have a Material Number. (= because it is a very punctual production).
    Plant A needs a punctual spare part.
    It creates a PM Order for Plant B.
    Plant B needs to create a Production Order for that spare part (without Material Number).
    Then, when confirmed and delivered, the cost of that production needs to be reported (assigned) to the PM Order.
    Thanks in advance for your help on the subject.
    Regards,
    Rudy.

    Thank you for the information.
    After some modifications on the Prod.Order Type and the creation of a Reference Operation Set, it seems to work.
    Still have a cost problem, but on the way to be solved.
    Thanks a lot,
    Rudy.

  • Upload file and link to sales order in SAP via rfc (C#)

    Hello all,
    In my company we have the possibility to attach files to sales orders, e.g. pdf files with the printing details.
    These files are added by the GUI user, this works fine.
    Now we have an extra order creation stream in which a pdf file has to be added to the SO without user interaction.
    In a previous question I had a little question about the linking, that has been solved, I will post the test program later.
    I now can link front end files (pdf's in this case) to the sales orders and it works fine.
    Now we are developing a frontend in C# (build by a third party) which creates a sales order via a RFC. We also want that RFC to include the PDF file and link it to the created order.
    In the interface of the RFC I included a table with 255 char lines. That is the same as in the example program. the problem is that our partner is yet unable to fill the interface in exact the same way as the example program does, so the linked pdf file is corrupted.
    Does anyone have hints how C# should fill the interface table, or how I can change the interface?
    code snippid table declaration for pdf table:
    IT_PDF     LIKE     ZETEX_TAB_PDF
    and
    structure ZETEX_TAB_PDF consists of
    LINE     CHAR255
    the sample program (see other topic on where I got it)
    REPORT  zzfb_brc LINE-SIZE 260.
    * Report  Z_RMTIWARI_ATTACH_DOC_TO_BO
    * Written By : Ram Manohar Tiwari
    * Function   : We need to maintain links between Business Object and
    *              the attachment.Attachment document is basiclally a
    *              business object of type 'MESSAGE'.In order to maintain
    *              links, first the attachment will be crated as Business
    *              Object of type 'MESSAGE' using Message.Create method.
    *              Need to check if we can also use FM
    *              'SO_DOC_INSERT_WITH_ORIG_API1' or SO_OBJECT_INSERT rather
    *              than using Message.Create method.
    * I took this program and removed all the parts for adding URL's and
    * notes.
    * Include for BO macros
    INCLUDE : <cntn01>.
    * Load class.
    CLASS cl_binary_relation DEFINITION LOAD.
    CLASS cl_obl_object      DEFINITION LOAD.
    PARAMETERS:
    *  Object_a
       p_botype LIKE obl_s_pbor-typeid DEFAULT 'BUS2032',    "SO
       p_bo_id  LIKE obl_s_pbor-instid DEFAULT '0000757830', "example number
    *  Object_b
       p_docty  LIKE obl_s_pbor-typeid DEFAULT 'MESSAGE' NO-DISPLAY,
       p_msgtyp LIKE sofm-doctp        DEFAULT 'EXT'     NO-DISPLAY,
    *  Relationship
       p_reltyp  LIKE mdoblrel-reltype DEFAULT 'ATTA'.
    TYPES: BEGIN OF ty_message_key,
            foltp     TYPE so_fol_tp,
            folyr     TYPE so_fol_yr,
            folno     TYPE so_fol_no,
            doctp     TYPE so_doc_tp,
            docyr     TYPE so_doc_yr,
            docno     TYPE so_doc_no,
            fortp     TYPE so_for_tp,
            foryr     TYPE so_for_yr,
            forno     TYPE so_for_no,
           END OF ty_message_key.
    DATA : lv_message_key TYPE ty_message_key.
    DATA : lo_message TYPE swc_object.
    DATA : lt_doc_content TYPE STANDARD TABLE OF soli-line,
           ls_doc_content TYPE soli-line.
    * Create an initial instance of BO 'MESSAGE' - to call the
    * instance-independent method 'Create'.
    swc_create_object lo_message 'MESSAGE' lv_message_key.
    * Upload the pdf file, for now from the frontend, in the future from
    * the server.
    DATA:
    *  dsn(40) TYPE C VALUE '/usr/sap/trans/convert/1.pdf', "server location
    l_lines TYPE i. "filelenght
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename   = 'c:tsimple.pdf'
        filetype   = 'BIN'
      IMPORTING
        filelength = l_lines
      TABLES
        data_tab   = lt_doc_content.
    * no exceptions, the file is there in this example
    clear l_lines.
    loop at lt_doc_content into ls_doc_content.
    l_lines = l_lines + 255.
    endloop.
    compute l_lines =   l_lines
                      + STRLEN( ls_doc_content ).
    ** the coding for the server input, for later
    *OPEN DATASET dsn FOR INPUT IN BINARY MODE.
    *IF sy-subrc <> 0.
    *  EXIT.
    *ENDIF.
    *READ DATASET dsn INTO ls_doc_content.
    *WHILE sy-subrc EQ 0.
    *  APPEND ls_doc_content TO lt_doc_content.
    *  READ DATASET dsn INTO ls_doc_content.
    *ENDWHILE.
    *CLEAR ls_doc_content.
    *CLOSE DATASET dsn.
    * define container to pass the parameter values to the method call
    * in next step.
    swc_container lt_message_container.
    * Populate container with parameters for method
    swc_set_element lt_message_container 'DOCUMENTTITLE' 'Some title'.
    swc_set_element lt_message_container 'DOCUMENTLANGU' 'E'.
    swc_set_element lt_message_container 'NO_DIALOG'     'X'.
    swc_set_element lt_message_container 'DOCUMENTNAME' p_docty.
    swc_set_element lt_message_container 'DOCUMENTTYPE' 'PDF'.
    swc_set_element lt_message_container 'DocumentSize'    l_lines.
    swc_set_element lt_message_container 'DocumentContent' lt_doc_content.
    swc_call_method lo_message 'CREATE' lt_message_container.
    * Refresh to get the reference of create 'MESSAGE' object for attachment
    swc_refresh_object lo_message.
    * Get Key of new object
    swc_get_object_key lo_message lv_message_key.
    * Now we have attachment as a business object instance. We can now
    * attach it to our main business object instance.
    * Create main BO object_a
    DATA: lo_is_object_a TYPE sibflporb.
    lo_is_object_a-instid = p_bo_id.
    lo_is_object_a-typeid = p_botype.
    lo_is_object_a-catid  = 'BO'.
    * Create attachment BO object_b
    DATA: lo_is_object_b TYPE sibflporb.
    lo_is_object_b-instid = lv_message_key.
    lo_is_object_b-typeid = p_docty.
    lo_is_object_b-catid  = 'BO'.
    *TRY.
    CALL METHOD cl_binary_relation=>create_link
      EXPORTING
        is_object_a = lo_is_object_a
        is_object_b = lo_is_object_b
        ip_reltype  = p_reltyp.
    * Check if everything OK...who cares!!
    COMMIT WORK.

    I woudl suggest you check ORDERS05 IDOC type (ORDCHG message type).
    FM - idoc_input_ordchg

  • Acrobat X, Word 2011, and Links in Table of Contents

    I have a 300+ page document in Word 2011, with a Table of Contents that has been automatically generated by Word, based off headings.
    When I "print" the document using "Save as Adobe PDF" from the Print dialouge, the PDF comes up, but the links in the ToC no longer work.
    I've looked online for a solution, but I am noticing two things:
    1) The option to turn the ToC links into Hyperlinks is not present on the Mac version of Word (2011).
    2) I opened the file in Word 2010 on a PC, and enabled the above feature, and then brought it back to my Mac and Word 2011 - the links now seem active in Word.  However, when I convert it to PDF, the links still do not work in the PDF.
    Is there an automated way to make the links convert, or to add them to the PDF?  With 300+ pages, a Table of Contents with working links is almost essential for navigation.
    Thank you!

    That's a defect (bug) in Adobe(Mac) that has been going on for 15 years and Adobe refuse to admit it and fix it. In Reference to Links.
    The only work around is to use iWork's Pages.
    The links should be active. Then Create the PDF from there The links should be live.
    I've heard you can do the same thing with Preview, But haven't tried. I know Pages will.
    Its no wonder that Apple won't allow Flash on the iPad. Besides not fixing Flash issues on the Mac paltform, They have a history of refusing to fix problems with Acrobat on The Mac Platform.

  • TCS2 - Cross References between linked Frame files not working

    Hi,
    All the cross-references in my linked in FrameMaker 9 files work when output in PDF, however, when outputting WebHelp from RoboHelp 8, FrameMaker cross references that reference another FrameMaker file (i.e. not Current) do not work. The format is correct, they appear blue and underlined like every other link/cross-reference, but when moused over in the browser, there's no link to click.  The HTML created by RoboHelp does not point to a file.  For example, here's the HTML for one link not working as shown from within RoboHelp:
    <p class="FM_Bulleted"><span style="font-family: 'Times New Roman'; font-size: 7.0pt;">&#160;&#160;&#160;</span>•<span
         style="font-family: 'Times New Roman'; font-size: 7.0pt;">&#160;&#160;&#160;</span><a><span
         class="FM_Link">Create Supported App from
    Install</span></a><span class="FM_Bold">.</span>
    RoboHelp appears to partially convert the link as <span class="FM_Link"> appears in the HTML  but I think there should be more information in the <a> definition, such as in the HTML created for a link that references a topic created from the same FrameMaker file.
    <p class="FM_Bulleted"><span style="font-family: 'Times New Roman'; font-size: 7.0pt;">&#160;&#160;&#160;</span>•<span
         style="font-family: 'Times New Roman'; font-size: 7.0pt;">&#160;&#160;&#160;</span><a
         href="#XREF_17096_Creating_an">Creating an App</a></p>
    I've ensured all the cross-references in each framemaker file in the book have the same format and are mapped to <$paratext> in the project settings. I've also tried importing the FrameMaker book instead of linking it and the same problem persists.
    Any ideas on how to make RoboHelp create the link correctly?   Any help you can offer would be greatly appreciated.
    Thank you,
    Jacquie Finney

    Most of the major cross reference issues have been resolved in TCS 2 with further improvements in TCS 3.
    Please ensure that you have all the patches of TCS 2 installed on your system.
    If the issue is still there, there could be an altogether different reason for cross reference not working or the issue might have been fixed in TCS 3.
    The reason or workaround can be analysed once the sample files with the issues are provided.
    It will be great if you could share a small sample FM document containing the cross reference and target having the issue. If the cross reference is across documents, then a FrameMaker book along with its FM files can be shared in a zip format.
    You can mail the documents to me at magrawalATadobeDOTcom
    Mayank

  • Question about Resetting Widgets and Linking

    Hi everyone!
    This is actually my first day on this forum so please forgive me that I haven't participated in discussions. But I have a few questions and any insight into these would be extremely helpful!
    My first question is: Is there a way to reset the entire iBook to its original state, where no answers are marked in to quiz questions and other used widgets are reset to their original views? Or would the entire book just need to be deleted and redownloaded again? The reason why I wanted to know is because our particular project would be used in a classroom setting and multiple children might use the same book and participate in the same widget activities. Being able to reset the activities to their default would allow the new user to not already see the previous user's responses.
    My second question is: Has anyone found a work-a-round to getting the links to work better? For example, creating a references page, and having items in the iBook link to the references page, and having the references page link back to the original page? I found a way to create a references page, and get the pages to link back and forth to each other but only if I placed a gallery or interactive activity on both pages. Is there a way to link one page to another without an interactivity?
    Thanks so much for looking at my questions! Any help regarding either of them would be great.

    1.) There is a [Clear Answer] button at the bottom of each review widget. Design and execute a process between sessions to use it, or delete that book and push a new one.
    2.) This gets asked a lot
    The answer is always the same. There is no reverse path outside of creating another pair of interactive bookmark/hyperlinks to create one. A→B & B→A

  • Compiling and linking C library in C++

    I am using a C library (Solstice FTAM v9.0) in my C++ program. One of the library header files has a declrartion
    short class;
    in one of the structures.
    The C++ compiler (Sun C++ 5.4 on Solaris 8) gives error. What we should do to compile and link this library in C++.

    You can use pointer to this structure without including the header that contains its definition, if it is possible, of course.
    Also, it should be possible to #define class to smth else just before including this header and then #undef'ing it. If this C library comes in binary form, it shouldn't cause any problems since memory layout won't be affected; if it comes in source code form, you can always compile it with -Dclass=smth_else on the command line and reference this foul structure field from your C++ code accordingly.

  • Link 1 and Link 2 in Collaboration Launch Pad

    Hello,
    I'm trying to configure Link 1 and Link 2 options in the CLP. These two links appear activating the EnableLink1 / 2 in Tool Area properties.
    So far I haven't find a way to set the properties for the links.
    Is there any documentation about this?
    Rgds,
    Fernando

    Hi,
    To do any modification on the portal tool area
    Navigate to
    <SAP_J2EE_Engine_installation_dir>\cluster\server\services\servlet_jsp\work
    \jspTemp\irj\root\WEB-INF\deployment\pcd.
    Copy com.sap.portal.navigation.toolarea.par.bak to your desktop and rename it to .par
    Modify the code and redeploy it again 
    also check Collaboration Administration-> Collaboration Launch Pad Administration -> Link Command
    locate link1 or link2
    Edit
    change its reference
    Thanks

  • Order with Serialized PTO Item with IB reference and Serial Number

    I want to get to Orders with Serialized PTO Item with IB reference and their Serial Numbers.
    I would like to know how I can link sales orders to IB. I wrote the foll. sql query but I am not sure if this is accurate. I am fairly new to this.. so any help is appreciated.
    SELECT DISTINCT oeh.order_number,
    --oel.line_id, oel.ordered_quantity, mtl.inventory_item_id,
    mtl.segment1 part, mtl.item_type,
    cii.serial_number
    FROM apps.oe_order_lines_all oel,
    apps.oe_order_headers_all oeh,
    apps.csi_item_instances cii,
    apps.mtl_system_items_b mtl
    WHERE oel.inventory_item_id = cii.inventory_item_id
    AND cii.inventory_item_id = mtl.inventory_item_id
    AND mtl.item_type = 'PTI'
    AND oel.header_id = oeh.header_id
    AND oel.org_id = oeh.org_id
    AND oeh.sold_to_org_id = cii.owner_party_account_id
    AND cii.serial_number IS NOT NULL

    You want instances that are at the customer site right (last transaction is shipping) or all the instances that have been shipped before no matter what the current status is. Instance could have been returned and shipped again and so on or just returned and disposed.The second question will yield more instances compared to the first one.
    Thanks
    Nagamohan

  • Runtime error after successful compile and link with cl.exe

    Finally, got the configuration for cl.exe and link.exe right and got a successful compile and link to produce a dll. Then ran the main method of my Java class. The main method calls the constructor, and loading the class runs the static block which loads the native dll. I get one of those error files of the type hs_err_pid4064.log. The file is as follows:
    # An unexpected error has been detected by Java Runtime Environment:
    # Internal Error (0xe06d7363), pid=4064, tid=3576
    # Java VM: Java HotSpot(TM) Client VM (10.0-b22 mixed mode, sharing windows-x86)
    # Problematic frame:
    # C [kernel32.dll+0x12aeb]
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    --------------- T H R E A D ---------------
    Current thread (0x00395800): JavaThread "main" [_thread_in_native, id=3576, stack(0x003b0000,0x00400000)]
    siginfo: ExceptionCode=0xe06d7363, ExceptionInformation=0x19930520 0x003fdf14 0x02de7b04
    Registers:
    EAX=0x003fde4c, EBX=0x00000000, ECX=0x00000000, EDX=0x02f80600
    ESP=0x003fde48, EBP=0x003fde9c, ESI=0x003fdedc, EDI=0x003fdedc
    EIP=0x7c812aeb, EFLAGS=0x00000206
    Top of Stack: (sp=0x003fde48)
    0x003fde48: 02de1de0 e06d7363 00000001 00000000
    0x003fde58: 7c812aeb 00000003 19930520 003fdf14
    0x003fde68: 02de7b04 02e80087 003fdf14 003fdf28
    0x003fde78: 02e99500 00000039 003fde70 00000039
    0x003fde88: 003fdec8 02e81a50 02eabf00 003fdf14
    0x003fde98: 003fdf28 003fdedc 02dce583 e06d7363
    0x003fdea8: 00000001 00000003 003fded0 02a72388
    0x003fdeb8: 00000000 e06d7363 00000001 00000000
    Instructions: (pc=0x7c812aeb)
    0x7c812adb: 8d 7d c4 f3 a5 5f 8d 45 b0 50 ff 15 10 15 80 7c
    0x7c812aeb: 5e c9 c2 10 00 85 ff 0f 8e 36 93 ff ff 8b 55 fc
    Stack: [0x003b0000,0x00400000], sp=0x003fde48, free space=311k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [kernel32.dll+0x12aeb]
    C [summarizer37.dll+0x1e583]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::StubRoutines (1)
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x02a66000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3108, stack(0x02d10000,0x02d60000)]
    0x02a58000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2488, stack(0x02cc0000,0x02d10000)]
    0x02a56c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=2508, stack(0x02c70000,0x02cc0000)]
    0x02a56000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3720, stack(0x02c20000,0x02c70000)]
    0x02a51800 JavaThread "Finalizer" daemon [_thread_blocked, id=2968, stack(0x02bd0000,0x02c20000)]
    0x02a4d400 JavaThread "Reference Handler" daemon [_thread_blocked, id=600, stack(0x02b80000,0x02bd0000)]
    =>0x00395800 JavaThread "main" [_thread_in_native, id=3576, stack(0x003b0000,0x00400000)]
    Other Threads:
    0x02a4c000 VMThread [stack: 0x02b30000,0x02b80000] [id=2528]
    0x02a67000 WatcherThread [stack: 0x02d60000,0x02db0000] [id=1604]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 960K, used 195K [0x22960000, 0x22a60000, 0x22e40000)
    eden space 896K, 21% used [0x22960000, 0x22990c38, 0x22a40000)
    from space 64K, 0% used [0x22a40000, 0x22a40000, 0x22a50000)
    to space 64K, 0% used [0x22a50000, 0x22a50000, 0x22a60000)
    tenured generation total 4096K, used 0K [0x22e40000, 0x23240000, 0x26960000)
    the space 4096K, 0% used [0x22e40000, 0x22e40000, 0x22e40200, 0x23240000)
    compacting perm gen total 12288K, used 22K [0x26960000, 0x27560000, 0x2a960000)
    the space 12288K, 0% used [0x26960000, 0x269658c8, 0x26965a00, 0x27560000)
    ro space 8192K, 66% used [0x2a960000, 0x2aeb0e10, 0x2aeb1000, 0x2b160000)
    rw space 12288K, 52% used [0x2b160000, 0x2b7b04c8, 0x2b7b0600, 0x2bd60000)
    Dynamic libraries:
    0x00400000 - 0x00423000      C:\Program Files\Java\jdk1.6.0_06\bin\javaw.exe
    0x7c900000 - 0x7c9af000      C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c8f6000      C:\WINDOWS\system32\kernel32.dll
    0x77dd0000 - 0x77e6b000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77e70000 - 0x77f02000      C:\WINDOWS\system32\RPCRT4.dll
    0x77fe0000 - 0x77ff1000      C:\WINDOWS\system32\Secur32.dll
    0x7e410000 - 0x7e4a1000      C:\WINDOWS\system32\USER32.dll
    0x77f10000 - 0x77f59000      C:\WINDOWS\system32\GDI32.dll
    0x7c340000 - 0x7c396000      C:\Program Files\Java\jdk1.6.0_06\jre\bin\msvcr71.dll
    0x6d870000 - 0x6dac0000      C:\Program Files\Java\jdk1.6.0_06\jre\bin\client\jvm.dll
    0x76b40000 - 0x76b6d000      C:\WINDOWS\system32\WINMM.dll
    0x6d320000 - 0x6d328000      C:\Program Files\Java\jdk1.6.0_06\jre\bin\hpi.dll
    0x76bf0000 - 0x76bfb000      C:\WINDOWS\system32\PSAPI.DLL
    0x6d820000 - 0x6d82c000      C:\Program Files\Java\jdk1.6.0_06\jre\bin\verify.dll
    0x6d3c0000 - 0x6d3df000      C:\Program Files\Java\jdk1.6.0_06\jre\bin\java.dll
    0x6d860000 - 0x6d86f000      C:\Program Files\Java\jdk1.6.0_06\jre\bin\zip.dll
    0x10000000 - 0x10006000      D:\Servers\SummarizerServer\native\jsummarizer.dll
    0x02db0000 - 0x02df2000      D:\Servers\SummarizerServer\native\summarizer37.dll
    0x02e00000 - 0x02f6d000      D:\Servers\SummarizerServer\native\platform37.dll
    0x4a800000 - 0x4a893000      D:\Servers\SummarizerServer\native\icuuc30.dll
    0x4ad00000 - 0x4b52d000      D:\Servers\SummarizerServer\native\icudt30.dll
    0x5b860000 - 0x5b8b5000      C:\WINDOWS\system32\NETAPI32.dll
    0x77c10000 - 0x77c68000      C:\WINDOWS\system32\msvcrt.dll
    VM Arguments:
    jvm_args: -Djava.library.path=native
    java_command: com.sra.pipeline.servers.summarizer.JSummarizer
    Launcher Type: SUN_STANDARD
    Environment Variables:
    JAVA_HOME=C:\Program Files\Java\jdk1.6.0_06
    CLASSPATH=.;C:\Program Files\Java\jre1.6.0_06\lib\ext\QTJava.zip
    PATH=D:\Servers\SummarizerServer\native;C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT
    USERNAME=Jim Jones
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 7, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows XP Build 2600 Service Pack 3
    CPU:total 1 (1 cores per cpu, 1 threads per core) family 15 model 2 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2
    Memory: 4k page, physical 1048032k(245796k free), swap 2521804k(1060880k free)
    vm_info: Java HotSpot(TM) Client VM (10.0-b22) for windows-x86 JRE (1.6.0_06-b02), built on Mar 25 2008 01:22:05 by "java_re" with MS VC++ 7.1
    time: Mon Sep 01 15:22:10 2008
    elapsed time: 0 seconds
    The dll I'm wrapping is C++ VC++ compiled.
    Would like to know what I do to trouble-shoot this error and hope to fix it?
    Jim

    Using Java print statement was able to show that the my JNI dll was being loaded and that the problem was in the first call to one of my JNI functions. Then by using "DebugBreak()" in that function and gradually moving it down line by line through the function was able to isolate the line causing the problem. Unfortunately it is the line where I call a function from the dll I'm wrapping. See newer thread.

  • Local references and EJBs in separate jars

    Hi
    I have trouble in getting local references when the EJBs are built in separate jar files. I am using the <ejb-link> in the <local-ejb-ref>. But I could not get reference to the EJB's local reference.
    Please let me know if there is any documentation that tells about getting local references and having the EJBs in separate jar files.
    Thanks

    Greetings,
    Hi
    I have trouble in getting local references when the
    EJBs are built in separate jar files. I am using theThere are a number of reasons why this may be happening and without more specific information it is difficult to say which you are encountering... In any case, the fact that your beans are in separate jars is not, by itself, the issue. It is worth noting, however, that Local references may only be used when both components (referencer and referencee) are co-located within the same VM instance and perhaps this little fact may shed some light on your problem??
    <ejb-link> in the <local-ejb-ref>. But I could not get<ejb-link> should point to the actual JNDI binding name, sans root nomenclature (java:comp/env/), but with full sub-context (ejb/myapp/.../MyLocalBean), of the referenced bean.
    reference to the EJB's local reference.Perhaps it goes without saying (but just to be sure :)... of course, your referenced bean must actually have Local interfaces associated with it.
    Please let me know if there is any documentation
    that tells about getting local references and having
    the EJBs in separate jar files.Both the J2EE tutorial and the EJB 2.0 spec. have the relevant information. :) However, I've already listed the requirements above: supplied local interfaces, co-located components, and correct link reference.
    I hope this helps.
    ThanksRegards,
    Tony "Vee Schade" Cook

  • @see and @link issues with generics

    Hi,
    Is there any documentation on how to write @see and @link tags that refer to generic classes or methods?
    Here's an example:
    public interface MyInterface<T>
        public void doSomething(T param);
    }Now, when I write an implementation of this interface, e.g.:
    public MyImplementation implements MyInterface<String>
       * Some comment.
       * @param param antoher comment
       * @see MyInterface#doSomething(T)
       public void doSomething(String param)
           // ... whatever ...
    }The javadoc tool gives me a warning:
    MyImplementation.java:xx: warning - Tag @see: can't find doSomething(T) in MyInterface
    How should I write the reference so that it doesn't generate a warning?

    FYI, I actually found a way:
       * Some comment.
       * @param param anoher comment
       * @see MyInterface#doSomething
      */In this case, I guess it works because there's only one method with that name in the interface, but I still don't know for the general case.

  • Has anybody tested the import and linking enhancements in RH 9 HTML?

    All,
    I am testing a trial version of RH 9. All looks good except I’m not understanding some of the import and linking enhancements. Has anyone tried the new relative path benefit by moving a project or source document? I’ve done both and I get the same results as in RH 8—if the project moves, the links work fine, and when the source document moves, you have to use the “restore to link” feature in order to update the link document. Am I missing something?
    Here’s the “what’s new in RH 9” lingo:
    RoboHelp 9 saves the relative path, instead of the absolute path, of linked documents. As a result, the links work even when the RoboHelp project and the linked Microsoft Word or FrameMaker documents are moved.
    Note: Earlier versions of RoboHelp projects that contain absolute paths of linked documents open normally in RoboHelp 9. While saving these projects, RoboHelp 9 saves the relative path
    Thanks!

    Looking again at your first post in the thread, it does state on saving RoboHelp 9 changes the path to being relative. If Linking by Copy then it is an enhancement as it avoids the link having to be recreated if you move the project.
    For Create by Reference I would say an absolute path is preferable as it then doesn't matter if the project moves and you are saying that does work. If it is the document that moves, somehow RoboHelp has to be told where.
    Sounds like what is wrong is the help not qualifying when the relative link is used. You could add a comment to the help to get that fixed.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Automating Cropping and Link Creation

    Hi guys,
    Every morning, I create a PDF from an Excel spreasheet. I crop each page a certain amount - every day it's the same measuerements for the same pages.
    After cropping the pages, I scroll up to my contents page. I then highlight each entry in the contents page, and choose to create a link, scroll to the page referenced, and then hit Create Link.
    As you can imagine, this very monotonous, and I was hoping someone could tell me how to automate the 2 process mentioned above?
    The amount by which each page is cropped does not change from day to day. As well as this, the contents page does not grow, and the poisiton of objects within the document does not change either, so I'm always setting the same content references to link to the same position within the document.
    Any help on this is very much appreciated
    Thankyou

    Crop is pretty straight forward using a Batch Sequence - there is already a Crop function listed there which you can use to define the page size and crop multiple PDF at once.
    The hyperlinking is much more complicated and requires some rather complicated logic. Basically this too could be done with a custom Batch Sequence and a JavaScript. The process would iterate over the text of the page and based on regular expression pattern matching identify numbers representing page numbers. These numbers would also have to match other criteria such as page location i.e. page coordinates. Once the page text has been filtered this way creating bookmarks or hypertext automatically would be possible using standard JavaScript methods.

Maybe you are looking for

  • MSI 6600 diamond PCI-E/ 3DMARK05 = 739/ PSU Problem?

    This is my first post, so forgive me if it's not OK. I have an MSI NX6600 VTD128E diamond. I am getting the Nvidia Sentinal warning approx. 75% of the time. I just installed an Enermax EG465P-VE FMA. I'm not sure if the specs will show up in my profi

  • How can I install CS6 without a disk drive?

    Hi there! I recently purchased the Creative Suite 6 Design and Web Premium addition. The sales person at the store assured me that despite not having a CD drive in my Macbook Pro there would be a way to install/download the suite with the product inf

  • Efficient command line validation.

    Efficient command line validation and method invoking . I'm mulling over an efficient way to validate command line parameters passed into a program and then call methods attributed to those parameters. I can of course use Many if else A switch But I'

  • Wireless keyboard pairing

    Wireless keyboard won't pair w iMac

  • Teredo Tunneling Adapter Driver code 10

    I have tried a number of the steps from previous postings but nothing is working. Still can't print. My desktop is HP Pavilion 500 and the printer is HP Officejet Pro 8600. The desktop runs on Windows 7, 64 bit. The problem just started yesterday. Tr