Watching variables in forte

Hi there,
I am trying to see the value of variables of a program I wrote without having to step through it manually. I use the forte IDE.
I just want to have the program run and see a list of all the variables in scope at that moment as I click through my program.
Is this possible?
Any help you could give me on this subject would be most appreciated.
Thanks in advance,
Nick Fellows
[email protected]

Hi,
I came up with a solution. Its primitive but it works.
Just create a button and put an action listener on it and a line of code like boolean b = true;. Then stick a breakpoint on it and run the program. whenever you want to see what the variables look like at a given point, push the button and it will populate the debugger window data.
Hope that helps someone else out there.
Nick

Similar Messages

  • Proteced variable in FORTE 3.0

    Hello,
    How can I define a protected variable in the frame Variables declaration in forte 3.0. all the variables are private, and I can't change it.
    thanks

    an easy solution to this problem is to open the file on another text editor such as notpad or write or if linux than emacs or others.
    chang it there and than go back to work with forte. same problem with Netbeans

  • Setting A Watch On Variables

    I'm probably doing something really stupid here.
    I'm trying to debug my app and I can't get the Flex debugger
    to watch variables.
    I have written pretty much the simplest app I can think of to
    see what I am doing wrong :
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" applicationComplete="main()">
    <mx:Script>
    <![CDATA[
    private function main():void {
    var astring:String = "Hello";
    ]]>
    </mx:Script>
    </mx:Application>
    And I have set a watch on astring. It adds it to the
    expression list but always displays 'astring = ... ' in the
    debugger never updating the value. It does the same thing if I try
    and use the debugger with my main app as well with any variable I
    care to try.
    I would be very grateful if someone could tell me what I am
    doing wrong.
    Thanks a lot.
    Chris

    Sorry to have bothered everyone - having a dim afternoon -
    didnt set a breakpoint - will crawl into a corner and be very
    ashamed.

  • Modbus ip shared variable network failure

    I am using lab view 8.6 DSC module to communicate to a watlow system which contains five watlow 96 controllers and an EM gateway.  I have created shared variables for the process temperatures and setpoints for each of the five controllers using watlow modbus register Numbers with a 400001 offset.  I have also created shared variables for Updating,CommFail,UpdateNow,and UpdateRate which where predefined. I have error when starting the VI if the SV  has been  dragged and dropped into the block diagram. The message is  Error -1967353902 (The Modbus I/O server failed to receive any response from the Modbus slave device.) occurred at SV in vi. If I bind a variable in the VI to this same SV the error does not occur but the variable cycles between Good, Network Failure, No known value, and device failure as stated in the variable manager watched variables.  The Updating, CommFail and UpdateRate all have a consistent Good in the quality column of the variable manager.  UpdateNow has X in value, type, timestamp, and quality columns.  CommFail and Updating does cycle between true and false randomly.  I have tried a third party software called SpecView 32 demo to see if the commincation with the modbus system is not working and I can create five watlow controlers on my screen and direct them to the ip address along with a unit address and the system works without faults.  This leads me to believe the commincation bewteen the SV Engine and the IP address is not correct.  HELP Please. 
    Robert Jensen
    UND EERC

    If your application can deal with it I would recommend staying clear of the 'Networked Published' option.
    When I started my Modbus development on cRIO....I left it enabled, and with ~100 shared variables on a 9074, the CPU was railing, and I saw a buffering behavior on the shared variables (which was not desirable in my application).
    In my application I am using the old modbus library (as apposed to the new API) for cRIO to slave comms, the cRIO being the master.
    I am also using the IOserver making the cRIO a slave to an external SCADA - and it passes essentially the same data arrays as I use on the modbus library for my local HMI [Not an NI product].....Which is two full Modbus frame writes (@ 120 words each, and about 60 words more for ~300 words outbound from the cRIO).
    The IOserver slave was a recent addition and did not add much to the CPU load - although only 16 bytes is high speed, the balance of the total word package is at either 1 second or 3 seconds.
    So, in my experince, the 'Networked Published' option adds significant CPU loading (on entery level cRIOs) YMMV.
    I am huge fan of the shared variable engine (some at NI were pusing the CVT, and TCE etc...). However most of my shared variables are not the Networked Published variety (excepting local module channels) those have remained networked published for DSM (Distributed System Manager) use.

  • Properties & Variables not showing in debugger

    I have flash mx and the debugger will not show any data for
    the Properties, Variables, Locals, or Watch tabs. I've selected
    everything on the object panel above it and nothing shows (yes, I
    know what scope is). I've set break point at various places in the
    action script. I've single clicked, double clicked, drag-n-dropped,
    highlighted, tried scripts in the samples folder, upgraded to MX
    7.2, downgraded back to MX 7.01, reinstalled and still no progress.
    I simply cannot view the variables or properties.. not even on
    _level0 or _global. I also cannot set watch variables.
    I tried debugging a new document with 1 frame, 1 default
    layer, and an empty stage with this action script on the first
    frame.
    var test_str = String("test 1");
    var test_str2 = "test 2";
    trace(test_str);
    trace(test_str2);
    for (i = 0; i < 10; i++) {
    trace(i);
    I'm just getting extremely frustrated with this as I cannot
    use the debugger to figure out a code problem. I've used many
    debuggers before with a number of languages: C/C++, VB, Java from
    Sun and MS, Javascript, Perl so I am NOT a newbie at this.
    What am I doing wrong? Is there a known bug or am I not
    setting some obscure parameter?

    is the 'Call Stack' area covering up your properties +
    variables(if it is drag this area down - move your pointer just
    above the words 'call stack' until it turns into a double arrow and
    drag down)
    Man. That was it. UGH.
    I'm not a GUI type of developer so I assumed the call stack
    was the variable panel. UGH. Now I feel stupid. However, in my
    defense, there's no obvious visual resizing handle on the panel
    edge. You can only tell if you mouse over and see the cursor
    change.

  • Flash debugger needs an expression-watch window

    Hi.
    I would like to propose in next update of (CS4 or CS5 - if it hasn't yet implemented) to add an expression-watch window.
    I want to use Debugger to find a bug, inside a movieclip, that has dynamic created other movieclips and I want to check some variables. Utilizing the debbuger as is now, for this case, is almost useless - I use trace() instead.
    I.e.
    var ny = mmask.y-DCs[Cur].y;
    I want to see the value of DCs[Cur].y.
    In order to see this, in current debugger, I have to:
    1. Check "Cur" variable. I.e. Cur == 5.
    2. Open Object "this" and find the DCs
    3. Open Object DCs[5], and search for y.
    It's total timewaste... ...a "trace(DCs[Cur].y);" command is faster - and repeatable in any re-run!...
    I never used the Flash CS3/CS4 debugger, because of the lack of such a feature. I don't know if it exist - if it is, please inform me on how to do it.
    Add a "watch" variables window, that will allow expression that will refresh them.
    It would be excellent - for debugging - instead of using "trace()" to dynamically check code and expressions, to add the "trace" string, into a window of the debbuger, and it to be validate automatically in each refresh (every step/forced refresh).
    Thus instead of using trace() here and there in my code, with identifiers in the string, to know where the trace is refering, I would use the trace strings in that expression-watch window - organized in tabs (groups).
    It would be great, if we could use and multiple tabs - to set groups of watch-expressions. (I.e. in C++, MSVC 6, had 5 tabs for such reason - and you could add more (and name them)). It also would be great, if those tabs and their watch-expression, could be saved into the file, during saving - thus then to restore them as is, during .fla loading.
    I am hoping in CS5 to have add that feature.
    That would be a great power for Flash Debugger (replacing trace() with Debugger UI tracing window -> expressions-watch window!), and it would be a really good reason to use it - and/or buy Flash (instead of free applications) for that professional reason.
    Btw, also please add the feature to saving the Actionscript Tabs into the .fla file!... It's annoying thing, everytime i am reloading a .fla file, to have to re -set the Actionscripts tabs, in order to continue my work!...
    Ps. If this message, is not going to be seen from developers of Flash, please tell me where to add the aboves suggestions for future updates of Adobe Flash - or add them, yourselves!

    These are user to user forums, and Adobe employee visits are few and far between. Submit your ideas via the link below...
    Adobe - Wishlist & Bug Report
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • Please help me get started... JSP

    Hey, I'm brand new to web development. But I'd like to get into the field. For various reasons, I would like to start with JSP dev. I'm a C++ programmer, so concepts of OOP are not foreign to me. However, I don't have any idea as to where to start.
    I have installed Forte 4.0 software, Apache-Tomcat software, Sun JDK1.3, and JRun 3.0. Now I'm stuck. Although I have set the CLASSPATH, JAVA_HOME, and TOMCAT_HOME roots, I cannot write, compile, debug, or execute JavaServer Pages.
    Thank you for your time in assisting me.
    Moshe

    Hi,
    For debugging
    =============
    It seems that JSP runtime errors are impossible to debug. The exception
    thrown is always in some compiled servlet code. For example
    java.sql.SQLException, java.lang.ArrayIndexOutOfBoundsException,
    java.lang.NullPointerException and java.lang.ClassCastException. Is it
    possible to debug runtime errors, other than printing multiple checkpoint
    statements, which is not an efficient method?
    SOLUTION:
    There are no hard and fast rules to do that. It is very dependent on
    your JSP engine. In general, you need to find where your .java files
    are. You need to tell your JSP engine to leave them around. By default
    most engines delete them after creating the .class file. It may get
    tricky, though. Some engines put your HTML text into some kind of data
    structure (an object dump, basically) so it is not stored in your .class
    file. This makes your class files much smaller, and the HTML is not
    stored on the VM's stack. This makes it very difficult to debug.
    One suggestion is to use Forte for Java to do debugging of JSP codes. It can be
    downloaded and purchased from http://www.sun.com/forte. The following is
    a short tutorial to demonstrate how to debug a JSP file, set breakpoints,
    and watch variable content values during runtime.
    1) Set the compiler property for your JSP.
    - Go to the Explorer window.
    - Select your JSP file.
    - Set the Servlet Compiler property to Internal Compilation.
    (Hint: Use the context-sensitive Properties window.)
    - Set the Debugger property to Servlet/JSPDebugging.
    2) Now you will debug the JSP file by setting breakpoints, watching
    variables, and switching between the JSP and corresponding servlet.
    Set the breakpoint in your JSP file.
    - Go to the Source Editor window.
    - Select a few lines to watch
    - Using the context-sensitive menu (right click), select Add/Remove
    Breakpoint. This line will turn red to indicate that there is a
    breakpoint for this line.
    3) View the breakpoints in the corresponding servlet for your JSP file.
    - Go the Explorer window.
    - Select your JSP file.
    - Using the context-sensitive menu, select View Servlet.
    You will see the corresponding servlet in the Source Editor window.
    At the bottom of the Sourde Editor window, you should see two tabs,
    one for JSP and another for the corresponding servlet.
    - Select the servlet's tab.
    - Using the context-sensitive menu, select Clone view.
    You should see a separate window with the servlet code and
    breakpoints. These breakpoints automatically came from the JSP
    file.
    - Place the JSP file and corresponding servlet window side by side so
    that you can simaltaneously view the execution of JSP as well as
    the servlet.
    4) Select some variables to watch during the execution.
    - Go the window containing the servlet's source code.
    - Using the context-sensitive menu, select Add Watch.
    - In the resulting dialog box, enter a variable name for the Watch
    Name.
    - Click on the OK button.
    - To view the watch variables, go to the Main menu and select View ->
    Debugger. At the bottom of the Debugger window you should see a
    tab named Watches.
    - Select the Watches tab.
    You should see the added variables.
    5) To start the debugging session, go the Main menu and select Debug ->
    Start Debugging.
    The execution will stop at the first breakpoint in the JSP file.
    If you see the servlet code, there are also execution will stop at
    the first breakpoint.
    - To continue the execution, go the JSP source code in the Source
    Editor window and press Control-F5 to restart the debugger.
    Execution will stop at the next breakpoint. In the servlet code,
    execution will also stop at the next breakpoint.
    - Go to the Debugger window and select the Watches tab to view the
    contents of the variables.
    6) If you set any breakpoints in the servlet code, those breakpoints
    will automatically appear in the JSP file.
    This way, you can set breakpoints in either JSP file or corresponding
    servlet.
    7) While executing the JSP, observe the contents of the variables in the
    Debugger window.
    8) Once execution has reached its end, close the debugger by going to
    the Main menu and selecting Debug -> Finish Debugging.
    For more tutorials and demo, please visit:
    http://www.sun.com/forte/ffj/demo/online_demo.html
    http://access1.sun.com/SRDs/srd_repository/F4JCE_SRD.ps
    For information and online support, please visit:
    http://forte.sun.com/cgi-bin/WebX
    http://www.sun.com/forte/ffj
    I hope this will help you.
    Thanks
    Bakrudeen

  • Is this a bug: ModelLocator.ArrayCollection.length

    ModelLocator.ArrayCollection.length that equals to 4 starting
    from index 0 (zero)
    I see:
    going into the objects using for each item i see correctly:
    item:[object Object]
    item:[object Object]
    item:[object Object]
    item:[object Object]
    going into the objects using for loop with
    ModelLocator.ArrayCollection.length, it is not counting the full
    length:
    0 --this is page:springgraph16.UIComponent0.template1 with
    index:0 and pageid:1
    1 --this is page:springgraph16.UIComponent0.template2 with
    index:1 and pageid:2
    2 --this is page:springgraph16.UIComponent0.template3 with
    index:2 and pageid:3
    If I index into ModelLocator.ArrayCollection[3] in the for
    loop I get errors.
    example:
    checked the length with:
    trace("---lenbefore:" + __modelLocator.siteRef.length); //
    displays a trace, ---lenbefore:3
    __modelLocator.siteRef.addItem(templatesAllData);
    trace("---lenafter:" + __modelLocator.siteRef.length) //
    displays a trace, ---lenafter:4
    THIS WORKS AND DISPLAYS 4 ITEMS:
    for each (var item:* in __modelLocator.siteRef){
    trace("item:" + item);
    trace result is:
    item:[object Object]
    item:[object Object]
    item:[object Object]
    item:[object Object]
    THIS DOES NOT WORK:
    for(s =0 ; s < __modelLocator.siteRef.length; s++){
    trace(s +" --this is page:" +
    __modelLocator.siteRef[s]['template']);
    trace("CHECK:" +__modelLocator.siteRef[3]['template']); //
    this thoughts up an error below:
    ERROR: RangeError: Index '3' specified is out of bounds.
    which is why these do not work in the for loop:
    for(s =0 ; s <= __modelLocator.siteRef.length; s++)
    for(s =0 ; s < __modelLocator.siteRef.length+1;
    s++)

    If you use the debugger and step through the ArrayCollection
    as it does each loop - what does the watch variables panel show?
    This shouldn't make a difference, but out of curiosity -
    after the AC has all it's day, if you make a copy of it and then
    loop over it... what happens...? E.g.:
    __modelLocator.siteRef.addItem(templatesAllData);
    var newAC : ArrayCollection =
    ObjectUtil.copy(__modelLocator.siteRef);
    for(s =0 ; s < newAC.length; s++)
    Or another idea... instead of accessing the AC via index
    (e.g. siteRef[s]), what if in the loop you do a getItemAt(s)?

  • [Solved] Foreach loop that loops over all files in a folder does not consider first file found

    Hello,
    I have a foreach loop in SSIS (as part of Visual Studio 10 and with SQL Server 2012).
    It loops over all files in a folder (ForEach File Enumerator).
    I set the folder: OK
    Traverse Sub folders: OK
    I have set up a Variable in Variable Mappings called FileName so it shows User::FileName: OK
    Index of variable is 0: OK
    It almost works ok. Except that the first file it finds is never considered.
    I set a breakpoint then and the first file it finds, is shown in black in the watch variable window. All subsequent files found are shown in red font. When I change the names of the files so another file is the first file found then it skips the other one
    which now is the first file.
    What is going on here? Why does SSIS skip the first file it finds in a foreach file loop?
    Any suggestions highly appreciated.
    Thank you
    Andi
    Andreas

    "red font - interesting, any example to show us (image)
    It would be interesting to share with us whether you use any file masks or expressions.
    Arthur
    MyBlog
    Twitter
    It appears a variable value turns red when it changes between breakpoints. It started black for the first value (the first file, obtained BEFORE the execution reached the breakpoint), and then turned red. I was able to reproduce this behavior on a test environment.
    However, it did not skip any files.
    OP, please set up the test shown in the image below. Create a breakpoint in the sequence container for the "OnPreExecute" event.

  • ERMS: Issue with setting up charset

    Hi Experts,
    We are using CRM 6.0 ERMS to send out emails to customers. Based on the Setting in transaction SCOT all the out going emails are sent with UTF-8 charset (Code Page: 4110). Today Japanu2019s internet mail standard is ISO-2022-JP, and most of mail applications have an option to encode outgoing message to JIS. However, all outgoing message from ERMS are UTF-8 (Unicode) without capability to encode other character code. This will result in Japanese mail message broken in most of webmail clients in Japan such as MSN Hotmail.
    Has anyone faced this issue before. Can we achieve the funtionality wherein Japanese Code page gets selected based on the customers BP language?
    Regards,
    Namita

    The language for the outgoing ERMS email is determined first by content analysis by TREX (some customers may choose not to set up TREX).   If this determination fails the language of the BP is taken into account . If the BP determination fails, the system language of the WF-BATCH user is taken .
       From the logic above if the Content Analysis succeeds the Japanese language is set for the email.
       We can check the Clasification/Trex setup to make sure that for an email received in Japanese for example the language is recognized.
    As an example you can test/debug by following the steps below
    1   Send an email in Japanese that will trigger auto acknowledge (need to create a mailform with Japanese text to use in auto acknowledge) .
    2   In swi1 look for the background task id corresponding to the ERMS mail
    3   Set a breakpoint in class CL_CRM_ERMS_ADD2FB_CA method
         IF_CRM_ERMS_SERVICE~EXECUTE line 77
        IF error_code <> 0.
        CONCATENATE 'TREX error:'(001) error_text '[' 'error code = ' msg
        ']' INTO msg.
        RAISE EXCEPTION TYPE cx_crm_erms_service_failed
    If error returned is not 0 means that either there is a problem with TREX or it just could not decide based on the content. However normally it should recognize the language. (Watch variable xml_chunk - at the end
    of the XML there is a language tag that should have some value 'DE'
    'EN' etc)
    4  Run program CRM_ERMS_LOGGING. For workitem id enter the id of the
    background task from step 2
    5. The program stops at the breakpoint mentioned above.
    6. Also note that if the language is detected correctly you need also the mail form that is used to be translated in that language ( Japanese ).
    The language of the email overwrites the SXCPSEND entry (language to codepage mapping)
    To sumarize:
    1. Check if clasification/bp detects the language
    2. Mailform is translated in Japanese
    3. Mapping for codepage is maintained in SapConnect (SXCPSEND language to codepage mapping)
      I hope these steps will help the investigation.

  • How do you debug JavaFX Script

    I'm very frusturated with JavaFX debugging "feature". (I'm using Netbeans 6.7.1 on Linux x86 platform.)
    It doesn't let me to watch objects, how can one debug code without watching objects?
    Great effort JavaFX team, that really made developing JavaFX torture!
    It doesn't even let me to see text value of a TextBox. What a crap!
    ...And it's on 1.2.1 version, though what it should be is 0.2 Beta. There is nothing complete about JavaFX; the set of UI components is ridiculously small-sized. There is no grid, no tree, not even a bloody combobox. Swing wrapping does shit!
    Did anybody make it to watch variables despite javafx?

    I don't use NetBeans. Nor Eclipse... Just a plain text editor (SciTE...) and... lot of println! You can use loggers too. Or secondary visual nodes.
    OK, it is more suited for the small test applications than I wrote than for a full fledged multipackage applications, but at least it is IDE agnostic! ;-)
    There is nothing complete about JavaFX; the set of UI components is ridiculously small-sized.GUI is important, but only part of JavaFX. Obviously they concentrated first on the building blocks, like shapes and layout (and animation, effects, etc.).
    We expect more components in next version. Some are already developed by 3rd party developers (see CRUDfx, Peter Pilgrim's grid, also saw a combo box, a menu set, a calendar, among others).

  • Flex debugger problem?

    Guys.. i have some problem with flex debugger...
    well...
    i´m trying to debug my application.. bug something doesnt seens right...
    on flex build 3... i´m chossing to debug my main aplication...
    everything goes well... my application runs on INTERNET EXPLORER.. so i go to the flex builder ... and click on FLEX DEBUGGING...
    in the DEBUG PANNEL.. appers to me that i´m connected...
    but.. in the variables... breakpoints and expressions.. nothing appears!
    see the image:
    someone can help me?
    cya

    The debugging view allows you to set breakpoints, watch variables, etc.
    You need to set the breakpoints in functions where you want the code to stop.
    And watch variables may have no value unless you are currently stopped by a breakpoint, and they may have no value if the variable has no valid value at that point in the code, as variables go in and out of existance and scope.
    If this post answers your question of helps, please mark it as such.

  • TestStand Non blocking deported interface (C#)

    Hi,
    I wish to have a graphic interface (C#) allowing to manage TestStand (Read/Write of the variables FileGlobals, Wait/Set Notifications, ...). This interface must be active during the TestStand activity (graphic indicators of the state of the tests, allows the activation of sub-sequences, etc.), and it has to allow to use the TestStand interface (Do a break, step by step debug, watch variables, state of threads, etc....).
    I start from the NI TestStand exemple "\TestStand 4.2.1\Examples\Demo\DotNet" and do some modification :
     - call the constructor of the Dialog Windows with a SequeceCall New Thread
     - Add Notification managment (unsing TSSyncLib, change the Dialog constructor and send my FileGlobals.Notifier variable create during the Notification Create step).
     - Add a Button. When pressed, a FileGlobals variable Number is read, +1, then write, and display in a label. And another button Set a Notification.
     - Add a breackpoint in the step next to the SequanceCall of the Dialog Windows
    My problem is, as long as I do not close the windows, TestStand remains " running " and do not stop on my breakpoint, and do not respond when doing "Break All", edit Watch Variables, ...
    If i change this.mDialog.ShowDialog() by this.mDialog.Show(), TestStand responds but the Dialog Windows report error with FileGlobals Read/Write and Notification.
    Is my need workable ?
    In attachment, the .seq file (TS4.2) with the generated dll, and the DotNet project.
    Thanks for help ;o)
    Solved!
    Go to Solution.
    Attachments:
    ExempleTestStandDotNet.zip ‏855 KB

    Great, it works !
    I add "this.mSequenceContext.Thread.ExternallySuspended = true;" and I found the features of TestStand during the Dialog Windows.
    That said, from the description of what you want to do, I thought you were going to start with one of the UI examples. If you really want to write a custom user interface, that might be a better way to go.
    My need is to keep the full TestStand UI (list of variable, threads, Debug, ...) and to have an interface to interact on the execution of TestStand, but also manage other programs. When reading documentation, UI seems to be good for replacing the TestStand Interface by a custom interface, not for having two interfaces. And i don't want to spend time on coding (even if that seems no so difficult) something already existing and working well.
    Thank you very much for your (very fast) help. ) 

  • Adding Vendors in 7.4

    When I add a vendor to the vendors page, it adds them twice. Is this a bug or working as designed?
    This topic first appeared in the Spiceworks Community

    Using Debugging Script in general
    with the new ABAP debugger
    When the debugger is started go to the tab
    ‘Script’.
    By pressing the large ‘Load Script’ button,
    a sub-screen comes up. Here  you choose option
    database and the Script Name you want to use.
    Enter and the scipt name will be visible under
    Name in the section Script in the field Name.
    Then press the ‘Start Script’ button and
    script is started.
    FOX Debugging Script RSPLFC_DEBUGGING_SCRIPT_FOX
    Starting the debugging script
    RSPLFC_DEBUGGING_SCRIPT_FOX with 7.4 SP6 and 7.3/7.31 SP11
    This FOX debugging script can be watch
    variable values, active data  in the
    buffer and reference data.
    On can step through loops and watch how the
    data changes. It is described in detail in the blog from Hans-Georg Beuter
    Load and Start Script RSPLFC_DEBUGGING_SCRIPT_FOX
    in new Debugger. By either seetting Break-point in script or in class
    CL_RSPLFC_FORMULA->EXECUTE
    Then Set Break-Point, Start Debugging

  • RE :Wrappering a DLL

    Hi There,
    Couple of things worth mentioning here.
    1. Let your DLL do its own memory management. Avoid
    allocating memory in DLL and freeing it up(!!!) in
    your
    Forte client, and vice-versa.
    2. Handle all your DLL exceptions within the DLL and
    let it not get passed to the Forte client.
    3. Have the DLL expose fewer (top level ) functions
    to the outer world and do all of its pyrotechnics
    internally. Keep the parameter passing machanism to
    these functions as simple as possible.
    Hope this helps!
    Ajith Kallambella M.
    Fort&eacute; Systems Engineer,
    International Business Corporation.
    Hello,
    I am currently in the process of wrappering a DLL inForte. I was wondering
    if there are any pitfalls or hazards that I should beaware of?
    Also, to wrapper a DLL do I need to create a Cfunction that calls the DLL
    and then wrapper the C function or can I just wrapperthe DLL. I am a
    little flaky on how it is done, and the documentationis a little unclear.
    Any help would be appreciated,
    John Twomey - CSC-
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Hello John,
    there are several things to look for
    1. u can just wrapper the DLL and call it directly from FORTE.
    2. Make sure that if u are creating a dynamic DLL to include the path
    of the .obj file generated by the C/C++ compiler of the library u are
    wrappering in the externalobject files section of the .pex file
    3. Make sure that if u are creating a static DLL to include the path of
    the .lib file generated by the C/C++ compiler of the library u are
    wrappering in the staticlibs section of the .pex file
    4. whether u use #2 or #3, it will be the .obj or the .lib file
    generated by the C/C++ compiler that goes in the
    forte/userapp/<path set in the .pex file> subdirectory, so when u run
    fcompile it will create the FORTE DLL correctly.
    5. if u run fcompile from the DOS box, run vcvars32.bat first to set up
    the environment variables otherwise FORTE won't recognize the path to ur
    compiler/linker (assuming u are using VC++ compiler)
    6. make sure that path of all other libraries/dlls u are linking to is
    also set in u environment variables when u do the fcompile.
    7. don't forget to configure the library and make a distribution
    8. when u create the DLL, make sure that any other libraries/dlls it
    calls are visible in the path of the environment of the machine u are
    running otherwise u'll get errors saying it can't find the FORTE .dll
    file even though it is clearly there.
    9. if u are using C++ code, then don't forget to include the functions
    u are exporting between (extern "C") brackets
    Hope this helps, if u need anything else, please let me know.
    Issa.
    Get Your Private, Free Email at http://www.hotmail.com
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

Maybe you are looking for

  • Jfilechooser - problem with windows mapped dirs

    My Documents, Desktop and other windows mapped directories or network drives cause performance problems for the java file chooser class. I think because the file chooser has to resolve ambiguous paths for each file. i.e. 1. Desktop\My Documents\myfil

  • Transaction in stored procedure

    I have a stored procedure like this: procedure test() as begin insert into table1..... insert into table2...... insert into table3.... exception when others then roolback; end; I have 3 question: 1) it is correct my code? I want that in case of error

  • After I input my serial number I get a try again and message saying..

    We are unable to start your subscription to Adobe Photoshop CS5.1 Extended Subscription Edition.

  • Granddaughter's Apple ID seems to be "locked" into app updates.

    My granddaughter's Apple ID seems to be "locked" into the login for my app updates. I don't know her password and she is interstate. In settings I have re-logged myself in repeatedly, but when I go to do my app updating (or installing new) it brings

  • Kuler panel availability in CS5.5 French editions?

    Hi there, Do you know if Kuler panel will be available within Photoshop CS5.5, French editions?  For now, panel is not delivered (see Kuler Panel page from Photoshop CS5 online help), and that's really annoying. Thanks for you feedback, el' ~