Error in Constructor

So i mod GTA IV with c#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Windows.Forms;
using System.Drawing;
using System.Diagnostics;
using System.Collections.Generic;
using GTA;
using GTA.Native;
namespace Beggar
public class ambBeggar : Script
bool tb = false;
bool bp = true;
Ped rped;
AnimationSet beggarsitting;
AnimationSet beggarstanding;
Keys begkey;
GTA.Timer gmoney;
public ambBeggar()
gmoney.Interval = 120000;
gmoney.Tick += gmoney_Tick;
begkey = Settings.GetValueKey("Beg", "Beggar Mod", Keys.B);
if(!File.Exists(Settings.Filename))
Settings.SetValue("Beg", "Beggar Mod", Keys.B);
this.Interval = 100000;
this.Tick += new EventHandler(ambBeggar_get);
this.ConsoleCommand += new ConsoleEventHandler(ambBeggar_ConsoleCommand);
public void ambBeggar_get(object sender, EventArgs e)
if(tb == true && !rped.Exists())
rped = World.GetClosestPed(Player.Character.Position, 30);
public void gmoney_Tick(object sender, EventArgs e)
if (rped.Exists())
rped.Task.GoTo(Player.Character.Position.Around(2));
Pickup.CreateMoneyPickup(rped.Position, 1000);
rped.NoLongerNeeded();
public void ambBeggar_ConsoleCommand(object sender, ConsoleEventArgs e)
if(e.Command == "t_beggar" && tb == false)
tb = true;
Function.Call("REQUEST_ANIMS", "amb@beg_sitting");
//Function.Call("REQUEST_ANIMS","amb@beg_standing");
if (Function.Call<bool>("HAVE_ANIMS_LOADED","amb@beg_standing") /*&& Function.Call<bool>("HAVE_ANIMS_LOADED","amb@beg_sitting")*/)
msg("Press" + begkey.ToString() + "To Beg", 5000);
beggarsitting = new AnimationSet("amb@beg_sitting");
//beggarstanding = new AnimationSet("amb@beg_standing");
Player.Character.Animation.Play(beggarsitting, "beggar_sit", 8, AnimationFlags.Unknown05);
while(tb == true)
beg_playing();
if(Game.isKeyPressed(begkey))
Player.Character.Task.ClearAllImmediately();
Player.Character.Task.PlayAnimation(beggarsitting, "beggar_beg", 8);
gmoney.Start();
while (bp == true) Wait(0);
Player.Character.Task.ClearAllImmediately();
Player.Character.Task.PlayAnimation(beggarsitting, "beggar_sit", 8,AnimationFlags.Unknown05);
if(Player.Character.isDead)
cleanup();
if(e.Command == "t_beggar" && tb == true)
cleanup();
public void msg(string sMsg, int time)
Function.Call("PRINT_STRING_WITH_LITERAL_STRING_NOW", new Parameter[] { "STRING", sMsg, time, 1 });
public void beg_playing()
if (GTA.Native.Function.Call<bool>("IS_CHAR_PLAYING_ANIM", Player.Character, "amb@beg_sitting", "beggar_beg") == false)
bp = false;
if (GTA.Native.Function.Call<bool>("IS_CHAR_PLAYING_ANIM", Player.Character, "amb@beg_sitting", "beggar_beg") == true)
bp = true;
public void cleanup()
tb = false;
gmoney.Stop();
Every time i run the game i get "Error in Constructor" and "Object reference not set to an instance of an object"

please verify 
this.Interval = 100000;
Interval, member of the class or no ?
Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP]

Similar Messages

  • Error : The constructor DataHandler(MemoryDataSource) is undefined

    Hi All,
    I have written a code for mailing an Adobe Interactive form, but getting error message at below line :
    messageBodyPart.setDataHandler(new DataHandler(new MemoryDataSource(wdContext.currentContextElement().getPdfSource())));
    Error : The constructor DataHandler(MemoryDataSource) is undefined.
    I have written a code also for MemoryDataSource Class.
    Please suggest.

    Think I fund the answer. When I commented out the class member dbDr and setting it in the constructor as below it is compiling fine.
    I think its because the constructor couldnt work out wihch dbDr to use, the one passed in as a parameter or the class member. Anyway that's might conclusion if anyone else has other or explanations please let me know
    //private String dbDr;
    //dbDr = this.dbDr;

  • Can you tell me what should I modify to fix error with constructor coding

    public class Address{
         private String street;
         private String city;
         private String state;
         private String zipcode;
         public Address(String addressStreet, String addressCity,
              String addressState, String addressZipcode){
              street = addressStreet;
              city = addressCity;
              state = addressState;
              zipcode = addressZipcode;
         } // end constructor
         public String getStreet(){ return street;}
         public String getCity(){ return city;}
         public String getState(){ return state;}
         public String getZipcode(){ return zipcode;}
         public String toString() {
         String addressObject = street+ "," + city + "," + state + "," +zipcode;
         return addressObject;
    Second class AddressBookEntry
    public class AddressBookEntry{
         private String name;
         private Address address;
         public static int entriesCount = 0;
         public AddressBookEntry(String entryName,Address addressObject){
              name = entryName;
              address = addressObject;
         public AddressBookEntry(String entryName, String entryStreet,     String entryCity,
                                       String entryState, String entryZipcode){
              name = entryName;
              address.street = entryStreet;
              address.city = entryCity;
              address.state = entryState;
              address.zipcode= entryZipcode;
              entriesCount++;
         public void setName(String entryName){name = entryName;}
         public void setStreet(String entryStreet){address.street = entryStreet;}
         public void setCity(String entryCity){     address.city = entryCity;}
         public void setState(String entryState){address.state = entryState;}
         public void setZipcode(String entryZipcode){address.zipcode = entryZipcode;}
         public String getAddress(String entryName){return address.toString();     }
         public String getName(){return name;}
         public String toString(){
              String addressString = address.getStreet() + "\n"
                        + address.getCity() + "\n"
                        + address.getState() + "\n"
                        + address.getZipcode() +"\n";
              return addressString;
         public static int getEntriesCount(){ return entriesCount;}
    Driver Class
    import javax.swing.*;
    public class AddressBookApp{
    public static void main (String args[]){
         String choice = "";
         while(!(choice.equalsIgnoreCase("x"))){
              String name = JOptionPane.showInputDialog("Enter name : ");
              String streetAddress = JOptionPane.showInputDialog("Enter street address : ");
              String city = JOptionPane.showInputDialog("Enter city : ");
              String state = JOptionPane.showInputDialog("Enter state : ");
              String zipcode = JOptionPane.showInputDialog("Enter zipcode : ");
              AddressBookEntry bookEntry = AddressBookEntry(name,street,city,
                                                      state,zipcode);
              String message = "Name : " bookEntry.getName() "\n"
                   + "Address : \n"+bookEntry.toString();+ "\n"
                   +"Press Enter to continue or 'x' to exit.";
              choice = JOptionPane.showInputDialog(message);
    System.exit(0);
    Error Message
    AddressBookEntry.java:14: street has private access in Address
              address.street = entryStreet;
    I'm getting errors like this.Can anyone tell what I should do

    Why did you stop using &#91;code]&#91;/code] tags?
    I fixed the error by creating package.But still I get
    error.
    Error Message :
    AddressBookApp.java:13: cannot resolve symbol
    symbol : class AddressBookEntryWhen you created the package, did you distribute compiled class files into them, and then add the directory above the package directory into your classpath?
    It looks like the compiler can't find the classes you're referring to.

  • Error getting Constructor[] from class.getConstructors()

    Hi,
    I am trying to use java.lang.reflect package as under:
    import java.lang.reflect.*;
    import java.lang.reflect.Constructor;
    public class reflects1
    public reflects1(String str) {
         System.out.println("string constructor");
    public static void main(String args[])
    String name = args[0];
    System.out.println("classname is:" + name);
    try {
    Class cls = Class.forName("reflects1");
         Class[] param1 = {String.class};
    Constructor const = cls.getConstructor(param1);
         } catch (Exception ex) {}
    I always get following two compilation errors:
    1) Invalid Expression Statement: Constructor[] const = cls.getConstructor(param1);
    2) ; expected, Constructor[] const = cls.getConstructor(param1);
    Please let me know if you see any problem with this statement.
    Thanks.

    You seem to be mixing getConstructor and getConstructors, which are two separate methods, only the latter returns an array.

  • Error symbol  : constructor WWLTableModel()

    my main program is called SP.java with GUI and i created another class WWLTableModel.java. i would like to call the WWLTableModel class from my main program and i tried using the below codings
        private void createSetComparison (){
            WWLTableModel[] wwlTM = new WWLTableModel [map.size()]; //create a Set of array and store in WWLTableModel
            Set set1 = map.entrySet();
            Iterator iteratorSet1 = set1.iterator();
            int a = 0;
            while (iteratorSet1.hasNext()){
                wwlTM[a]= new WWLTableModel(); //-->error appears here
        }but there is an error on the code lined wwlTM[a]= new WWLTableModel(); after compilation, which says
    symbol : constructor WWLTableModel()
    location: class WWLTableModel
    wwlTM[a]= new WWLTableModel();
    how do i solve this problem?? in other words, how do i call the class WWLTableModel from my main program??

    From the error message, the WWLTableModel class has no available constructor which accepts no arguments. So what does that class look like?

  • Error: 1026: Constructor functions must be instance methods.

    I am follwoing a tutorial on linda.com about creating a website in Flash
    everything was going well until i started trying to copy the action script in the online examples
    now I keep getting this error message and can't figure out how to get rid of it:
    1026: Constructor functions must be instance methods.
    any assistance wouold be much appreciated, thank you
    here is the action script I am using for my buttons:
    stop();
    tv.addEventListener(MouseEvent.CLICK, clickSection);
    function clickSection(evtObj:MouseEvent){
    gotoAndStop("tv");

    I'm sorry, I am still not following what you are saying
    here is what I have in the actions layer, frame 1
    stop();
    tv.addEventListener(MouseEvent.CLICK, clickSection);
    anim.addEventListener(MouseEvent.CLICK, clickSection);
    ads.addEventListener(MouseEvent.CLICK, clickSection);
    photo.addEventListener(MouseEvent.CLICK, clickSection);
    film.addEventListener(MouseEvent.CLICK, clickSection);
    home.addEventListener(MouseEvent.CLICK, clickSection);
    function clickSection(evtObj:MouseEvent){
    trace ("The "+evtObj.target.name+" button was clicked!")
    gotoAndStop(evtObj.target.name);
    I am trying to link markers on the actions time line: tv, anim, ads, photo, film and home
    with layers (web pages) on the time line below...

  • Error with constructor

    can someone please explain why i,m getting error message, i, using jcreator, heres the code
    thank you very much
    import java.awt.*;
    import java.awt.event.*;
    class BigDept extends Frame
    public static void main (String args[])
         public BigDept()
         int debt=445000000;
         debt = debt/1440;
        System.out.println("A minute's worth of debt is $" + debt);
              addWindowListener(new WindowAdapter() {
                   public void windowClosing(WindowEvent e) {
                        dispose();
                        System.exit(0);
              System.out.println("Starting BigDept...");
              BigDept mainFrame = new BigDept();
              mainFrame.setSize(400, 400);
              mainFrame.setTitle("BigDept");
              mainFrame.setVisible(true);
    }[endcode]
    //error messageC:\Documents and Settings\Administrator\Desktop\bigDept\BigDept.java:22: illegal start of expression     public BigDept()                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

    Your code should look like this:
    import java.awt.*;
    import java.awt.event.*;
    public class BigDept extends Frame {
         public BigDept()
              int debt=445000000;     debt = debt/1440;
              System.out.println("A minute's worth of debt is $" + debt);     
              System.out.println("Starting BigDept...");     
              addWindowListener(new WindowAdapter() {
                                  public void windowClosing(WindowEvent e) {
                                                      System.exit(0);}});
         public static void main (String args[])
                   BigDept mainFrame = new BigDept();                         
                   mainFrame.setSize(400, 400);
                   mainFrame.setTitle("BigDept");          
                   mainFrame.setVisible(true);     
    }

  • Error: 1026 "Constructor Functions must be instanst methods".  Why?

    I am being told that this error takes place on Line 3, which is blank. I can not figure out what the problem could possibly be. Any help would be greatly appreciated.
    package {
    import flash.display.*;
    public class toppings extends MovieClip {
      var inventory:Sweettreat;
      function toppings() {
       inventory = new Sweettreat(this);
       inventory.makeSweettreatItems([MCsprinkles,MCchocolate,MCcaramel,MCnuts,MCcherry]);

    The above is the code from the as file.
    Here is the corresponding flash code:
    cone_or_bowl.addEventListener(MouseEvent.MOUSE_DOWN, coneorbowlchoice);
    function coneorbowlchoice(event:MouseEvent):void {
        gotoAndStop(6);
    scoops.addEventListener(MouseEvent.MOUSE_DOWN, scoopschoice);
    function scoopschoice(event:MouseEvent):void {
        gotoAndStop(8);
    flavors.addEventListener(MouseEvent.MOUSE_DOWN, flavorchoice);
    function flavorchoice(event:MouseEvent):void {
        gotoAndStop(10);
    toppings.addEventListener(MouseEvent.MOUSE_DOWN, toppingchoice);
    function toppingchoice(event:MouseEvent):void {
        gotoAndStop(12);

  • JMS Adapter: Error executing MQQueueConnectionFactory constructor

    Hello exerts,
    My Sender JMS Comm. Channel is throwing class not found error for com.ibm.mq.jms.MQQueueConnectionFactory. I set my JMS adapter logging level to DEBUG and this is what I got. It is crashing on Constructor. Doesn't anyone have any idea what might be wrong. We have an App server sitting in from on our PI box and they both have same jms libraries on them.
    Thanks, Mayur
    Caught com.sap.aii.adapter.jms.api.base.ConstructorInvocationException: Error executing constructor invocation:
    {ConstructorInvocation
    {className=com.ibm.mq.jms.MQQueueConnectionFactory,
    invokeParams=[]
    }: SAPClassNotFoundException: com.ibm.mq.jms.MQQueueConnectionFactory
    at com.sap.aii.adapter.jms.core.common.InvokeUtils.invoke(InvokeUtils.java:284)

    Hello Experts, just wanted to post an update of this issues. We were able to fix our issues by wipeing out all existing JMS libraries in our PI 7.1 environement and redeploying a fresh library (com.sap.aii.adapter.lib.sda).
    Currently this library contain following JAR files.
    lib/com.ibm.mq.jar
    lib/com.imb.mqjms.jar
    lib/connector.jar
    lib/dhbcore.jar
    lib/com.sap.aii.adapter.lib_api.jar
    Thanks,
    Mayur

  • Error in compiling RW libs with g++

    Hi All,
    I am trying to port one project from Solaris (CC) to gcc, which uses RWlibs (of Tools.h++ which comes along with the sunstudio package).
    I am working on RHEL 5.4.
    As a first step i am trying my hand with the following simple program:
    #include <iostream>
    #include <rw/cstring.h>
    int main(){
      RWCString a("TEST Program compiled successfully with gcc");
      std::cout << a << std::endl;
      return 0;
    }when i tried to compile the above sample program i got the following:
    $ g++ -Wall -g rwstring.cc -I/app/sunstudio12/prod/include/CC/rw7
    /app/sunstudio12/prod/include/CC/rw7/rw/generic.h:80: error: ISO C++ forbids declaration of ‘genericerror’ with no type
    /app/sunstudio12/prod/include/CC/rw7/rw/rstream.h:46: error: expected initializer before ‘&’ token
    /app/sunstudio12/prod/include/CC/rw7/rw/cstring.h:378: error: ISO C++ forbids declaration of ‘istream’ with no type
    /app/sunstudio12/prod/include/CC/rw7/rw/cstring.h:378: error: expected ‘;’ before ‘&’ token
    /app/sunstudio12/prod/include/CC/rw7/rw/cstring.h:379: error: ISO C++ forbids declaration of ‘istream’ with no type
    /app/sunstudio12/prod/include/CC/rw7/rw/cstring.h:379: error: expected ‘;’ before ‘&’ token
    /app/sunstudio12/prod/include/CC/rw7/rw/cstring.h:381: error: ISO C++ forbids declaration of ‘istream’ with no type
    /app/sunstudio12/prod/include/CC/rw7/rw/cstring.h:381: error: expected ‘;’ before ‘&’ token
    /app/sunstudio12/prod/include/CC/rw7/rw/cstring.h:382: error: ISO C++ forbids declaration of ‘istream’ with no type
    /app/sunstudio12/prod/include/CC/rw7/rw/cstring.h:382: error: expected ‘;’ before ‘&’ token
    /app/sunstudio12/prod/include/CC/rw7/rw/cstring.h:383: error: ISO C++ forbids declaration of ‘istream’ with no type
    /app/sunstudio12/prod/include/CC/rw7/rw/cstring.h:383: error: expected ‘;’ before ‘&’ token
    /app/sunstudio12/prod/include/CC/rw7/rw/cstring.h:480: error: expected constructor, destructor, or type conversion before ‘&’ token
    /app/sunstudio12/prod/include/CC/rw7/rw/cstring.h:481: error: expected constructor, destructor, or type conversion before ‘&’ tokenAny help/suggestions is appreciated.
    Thanks in advance,
    14341

    RW Tools.h++ is a very old product, which has not had significant updates in many years. Most of the functionality in RW Tools.h++ is available in other libraries, although the programming interface is different. (That is, if you have code written for RW Tools.h++, it will need to be re-written.) You can buy the library from Rogue Wave (roguewave.com) if you want to use it with g++ or other compilers.
    Much of the functionality of RW Tools.h++ is in the C++ Standard library. The Boost libraries are a good addition for anything else that you need.
    The SGI STL and the Apache stdcxx libraries are replacements for the C++ standard library that comes with your C++ compiler. If you download one of these libraries, you will have quite an adventure getting it to build and work correctly with the Studio C++ compiler. But we have already done that work for you. The -library=stlport4 option picks up the STLport version of the SGI STL, and it comes with the compiler. The Apache stdcxx library is available with Solaris 11 for use with Studio C++. Install it in the default locations (in /usr/include and /usr/lib), and use the -library=stdcxx4 option for compiling and linking. Refer to the C++ Users Guide for details about using these alternative libraries.
    For g++, using the SGI STL is not a good idea. You can use Apache stdcxx if you want, but the standard library that comes with g++ is a good one, so I would not recommend replacing it unless you have a specific reason.
    Boost works very well with g++, since it is developed with and tested with g++. Be sure to check your g++ version with any notes about compilers in the version of Boost that you get.

  • Gettng Error while executing the procedure(oracle 10.2.0.3.0)

    Hi all,
    I am getting following error While executing the package .
        PLS-00103: Encountered the symbol "Truncate" when expecting one of
             the following:
             * & = - + ; < / > at in is mod remainder not rem return
             returning <an exponent (**)> <> or != or ~= >= <= <> and or
             like LIKE2_ LIKE4_ LIKEC_ between into using || multiset bulk
             member SUBMULTISET_I have written follwing query in the package body.
    EXECUTE IMMEDIATE 'TRUNCATE TABLE FORT ';
    EXECUTE IMMEDIATE '
         INSERT INTO FORT (CID,CODE,DESC,SCODE,SES,T_DT,SDN,LANG)
         SELECT
           SERVICES.CID                                                     CID,
           PROFILE.FUCODE                                               CODE,
           TO_DATE(SUBSTR(SERVICES.STAT_CHNG,-7,6),'YYMMDD')   T_DT,
           PHOR.NUM                                                               SDN,
           C_ALL.cLANGUAGE                                      LANG
         FROM
          SERVICES      .....Please give me the solution for this .
    Thank y ou
    Edited by: user636482 on Apr 10, 2009 1:08 AM

    I am getting following errors if I gave " ' " after not null.
    LINE/COL ERROR
    42/8     PLS-00103: Encountered the symbol "AND" when expecting one of the
             following:
             begin case declare end exception exit for goto if loop mod
             null pragma raise return select update while with
             <an identifier> <a double-quoted delimited-identifier>
             <a bind variable> << close current delete fetch lock insert
             open rollback savepoint set sql execute commit forall merge
             pipe
    42/56    PLS-00103: Encountered the symbol "A" when expecting one of the
             following:
    LINE/COL ERROR
             ) , * & | = - + < / > at in is mod remainder not rem => ..
             <an exponent (**)> <> or != or ~= >= <= <> and or like LIKE2_
             LIKE4_ LIKEC_ between || multiset member SUBMULTISET_
             The symbol ", was inserted before "A" to continue.
    42/74    PLS-00103: Encountered the symbol "D" when expecting one of the
             following:
             * & - + ; / at mod remainder rem return returning
             <an exponent (**)> and or || multiset
             The symbol "* was inserted before "D" to continue.
    LINE/COL ERROR
    45/6     PLS-00103: Encountered the symbol "COMMIT"
    52/3     PLS-00103: Encountered the symbol "PROCEDURE" when expecting one
             of the following:
             end not pragma final instantiable order overriding static
             member constructor map
             The symbol "static" was substituted for "PROCEDURE" to continue.
    85/8     PLS-00103: Encountered the symbol "AND" when expecting one of the
             following:
             begin case declare end exception exit for goto if loop mod
             null pragma raise return select update while with
    LINE/COL ERROR
             <an identifier> <a double-quoted delimited-identifier>
             <a bind variable> << close current delete fetch lock insert
             open rollback savepoint set sql execute commit forall merge
             pipe
    85/56    PLS-00103: Encountered the symbol "A" when expecting one of the
             following:
             ) , * & | = - + < / > at in is mod remainder not rem => ..
             <an exponent (**)> <> or != or ~= >= <= <> and or like LIKE2_
             LIKE4_ LIKEC_ between || multiset member SUBMULTISET_
             The symbol ", was inserted before "A" to continue.
    LINE/COL ERROR
    85/74    PLS-00103: Encountered the symbol "D" when expecting one of the
             following:
             * & - + ; / at mod remainder rem return returning
             <an exponent (**)> and or || multiset
             The symbol "* was inserted before "D" to continue.
    88/8     PLS-00103: Encountered the symbol "COMMIT"
    95/3     PLS-00103: Encountered the symbol "PROCEDURE" when expecting one
             of the following:
             end not pragma final instantiable order overriding static
    LINE/COL ERROR
             member constructor map
             The symbol "static" was substituted for "PROCEDURE" to continue.
    133/3    PLS-00103: Encountered the symbol "PROCEDURE" when expecting one
             of the following:
             end not pragma final instantiable order overriding static
             member constructor map
             The symbol "static" was substituted for "PROCEDURE" to continue.
    169/3    PLS-00103: Encountered the symbol "PROCEDURE" when expecting one
             of the following:with out adding " ' " I am getting the previous error which I mentioned in Previous thread(TRUNCATE)
    Thank you

  • WebdynproJava Components giving error while migrating from NWDS SP03 toSP09

    Hi,
    The original DC's were developed in lower NWDS patch level, currently i have upgraded the patch level of NWDS to 09 and importing the Wed Dynpro components from NWDI; but some of the DC's are proper but some are giving error.
    I tried Project build, DC build and Repairing the DC's but nothing worked.

    Hi Siarhei,
    Error:
    The constructor WSTypedModel(String, String, QName, String, Map, String, IWSTypedModelInfo, Map<String,QName>) is undefined
    Warnings:
    Versions of 'com.sap.dictionary.runtime' are different.
    Versions of 'com.sap.dictionary.services' are different.
    Versions of 'com.sap.tc_.wd_.rtgen' are different.
    Forgot to mention i am working on CE7.1
    Regards
    Jagan

  • Error while compling the custom agent

    I am trying to develop custom agent for ifs using jdeveloper. I have attached following .jar file with project.
    repos.jar,vbjorb.jar,release.jar,xmlparser2.jar, util.jar, tools.jar, adk_1081.jar, lclasess1.jar
    I am getting following error while compiling.
    Error: (50) constructor IfsAgent() not found in class oracle.ifs.agents.common.IfsAgent.
    Error: (86) method required, but value found.
    Can anybody help me to fix this error?
    Thanks
    Sanjay

    Looks like the call to your agent is missing some parameters.
    Here is the constructor for IfsAgent:
    IfsAgent(java.lang.String name, java.lang.String[] args,
    java.lang.String parameterTableSection, oracle.ifs.agents.manager.ServerManager manager)
    This is the description from the iFS Online Resources whitepaper section on creating a simple agent.
    The constructor for an Agent always contains these 4 arguments. The arguments are stored in the ServerManager definition file and are
    passed to the Agent class when it is instantiated at runtime.
    name is the name of this Agent.
    args are any custom arguments you want
    to pass to your Agent.
    sectionName identifies the section
    specfic to this Agent in the common
    ParameterTable. In practice, it is
    the name of this Agent.
    manager is the name of the ServerManager
    that hosts this Agent at runtime.
    I hope this helps.
    -D

  • Build error on using  environment variable for  CS5 on Mac

    I have created a sample project using dollyx on Mac for CS5 . I have used an environment variable and defined it in Source tree of XCode preferences.
    I am using snow leapard  and my XCode version is 3.2.2 .
    I have defined variable as IDSDK7  for /idsdk7 (which is my SDK directory). I am creating project outside SDK . While creating project with DollyX  , I am giving  SDK's path as $(IDSDK7) which is absolute path and not relative with respect to the project .
    I am getting many build errors  -----
    /idsdk7/external/afl/includes/AErrors.h:31:0 /idsdk7/external/afl/includes/AErrors.h:31:19: error: Files.h: No such file or directory
    /idsdk7/source/public/includes/K2Debugging.h:53:0 /idsdk7/source/public/includes/K2Debugging.h:53:3: error: #error DEBUG and NDEBUG are out of sync!
    /idsdk7/source/public/includes/UnicodeSavvyString.h:35:0 /idsdk7/source/public/includes/UnicodeSavvyString.h:35:26: error: adobe/move.hpp: No such file or directory
    /idsdk7/source/public/includes/PMString.h:34:0 /idsdk7/source/public/includes/PMString.h:34:30: error: adobe/typeinfo.hpp: No such file or directory
    /idsdk7/source/public/includes/UnicodeSavvyString.h:211:0 /idsdk7/source/public/includes/UnicodeSavvyString.h:211: error: expected `)' before '<' token
    /idsdk7/source/public/includes/PMString.h:120:0 /idsdk7/source/public/includes/PMString.h:120: error: expected `)' before '<' token
    /idsdk7/source/public/includes/PMString.h:1196:0 /idsdk7/source/public/includes/PMString.h:1196: error: expected constructor, destructor, or type conversion before '(' token
    /idsdk7/source/public/includes/WideString.h:322:0 /idsdk7/source/public/includes/WideString.h:322: error: expected `)' before '<' token
    /idsdk7/source/public/includes/WideString.h:751:0 /idsdk7/source/public/includes/WideString.h:751: error: expected constructor, destructor, or type conversion before '(' token
    /idsdk7/source/public/includes/IDFile.h:385:0 /idsdk7/source/public/includes/IDFile.h:385: error: expected constructor, destructor, or type conversion before '(' token
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:488:0 /idsdk7/source/public/interfaces/architecture/IDataBase.h:488: warning: 'IDataBase::<anonymous struct>' declared with greater visibility than the type of its field 'IDataBase::<anonymous struct>::mainFile'
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:488:0 /idsdk7/source/public/interfaces/architecture/IDataBase.h:488: warning: 'IDataBase::<anonymous struct>' declared with greater visibility than the type of its field 'IDataBase::<anonymous struct>::miniSaveFile'
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:779:0 /idsdk7/source/public/interfaces/architecture/IDataBase.h:779: error: expected constructor, destructor, or type conversion before '(' token
    /idsdk7/source/public/includes/InterfacePtr.h:506:0 /idsdk7/source/public/includes/InterfacePtr.h:506: error: expected constructor, destructor, or type conversion before '(' token
    /idsdk7/source/public/includes/K2Vector.h:241:0 /idsdk7/source/public/includes/K2Vector.h:241: error: expected constructor, destructor, or type conversion before '(' token
    /idsdk7/source/public/includes/MSystemUtils.h:382:0 /idsdk7/source/public/includes/MSystemUtils.h:382: warning: 'InvertRgn' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ QuickdrawAPI.h:1831)
    /idsdk7/source/public/includes/MSystemUtils.h:382:0 /idsdk7/source/public/includes/MSystemUtils.h:382: warning: 'InvertRgn' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ QuickdrawAPI.h:1831)
    /idsdk7/source/public/includes/MSystemUtils.h:618:0 /idsdk7/source/public/includes/MSystemUtils.h:618: warning: 'SysBeep' is deprecated (declared at /System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Soun d.h:1383)
    /idsdk7/source/public/includes/MSystemUtils.h:618:0 /idsdk7/source/public/includes/MSystemUtils.h:618: warning: 'SysBeep' is deprecated (declared at /System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Soun d.h:1383)
    /CS5Test/Prj/../Source/CTActionComponent.cpp:0:0 /CS5Test/Prj/../Source/CTActionComponent.cpp: At global scope:
    /CS5Test/Prj/../Source/CTActionComponent.cpp:43:0 /CS5Test/Prj/../Source/CTActionComponent.cpp:43: warning: 'CTActionComponent' declared with greater visibility than the type of its field 'CTActionComponent::<anonymous>'
    /CS5Test/Prj/../Source/CTActionComponent.cpp:43:0 /CS5Test/Prj/../Source/CTActionComponent.cpp:43: warning: 'CTActionComponent' declared with greater visibility than its base 'CActionComponent'
    CompileC build/CS5Test.build/Default/Debug.build/Objects-normal/i386/CTNoStrip.o ../Source/CTNoStrip.cpp normal i386 c++ com.apple.compilers.gcc.4_2
    cd /CS5Test/Prj
    setenv LANG en_US.US-ASCII
    /Developer/usr/bin/gcc-4.2 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -Werror -DMACINTOSH -DMACOSX_SDKVERSION= -fvisibility-inlines-hidden -gdwarf-2 -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/CS5Test.hmap -F/CS5Test/Prj/../debug/sdk -F/idsdk7/build/mac/debug/packagefolder/contents/macos -F/idsdk7/build/mac/debug/packagefolder/contents/Frameworks -I/CS5Test/Prj/../debug/sdk/include -I/idsdk7/external/afl/includes -I/idsdk7/source/precomp/msvc -I/idsdk7/source/public/interfaces/xmedia -I/idsdk7/source/public/interfaces/preflight -I/idsdk7/source/public/interfaces/ui -I/idsdk7/source/public/interfaces/tables -I/idsdk7/source/public/interfaces/text -I/idsdk7/source/public/interfaces/graphics -I/idsdk7/source/public/libs/widgetbin/includes -I/idsdk7/source/public/interfaces/workgroup -I/idsdk7/source/public/interfaces/interactive -I/idsdk7/source/public/interfaces/interactive/ui -I/idsdk7/source/public/interfaces/colormgmt -I/idsdk7/source/public/interfaces/utils -I/idsdk7/source/public/interfaces/incopy -I/idsdk7/source/public/interfaces/layout -I/idsdk7/source/public/interfaces/architecture -I/idsdk7/source/public/interfaces/cjk -I/idsdk7/source/precomp/common -I/idsdk7/source/public/includes -I/idsdk7/source/public/libs/publiclib/plugins -I/idsdk7/source/public/libs/publiclib/files -I/idsdk7/source/public/libs/publiclib/objectmodel -I/idsdk7/external/asl/boost_libraries -I/idsdk7/source/sdksamples/common -I/idsdk7/external/afl/includes -I../Source -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/DerivedSources/i386 -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/DerivedSources -include /idsdk7/source/precomp/gcc/PluginPrefix.pch -c /CS5Test/Prj/../Source/CTNoStrip.cpp -o /CS5Test/Prj/build/CS5Test.build/Default/Debug.build/Objects-normal/i386/CTNoStrip.o
    In file included from /idsdk7/external/afl/includes/AFile.h:30,
                     from /idsdk7/source/public/includes/IDFile.h:34,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/external/afl/includes/AErrors.h:31:19: error: Files.h: No such file or directory
    In file included from /idsdk7/source/public/includes/PMString.h:28,
                     from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/K2Debugging.h:53:3: error: #error DEBUG and NDEBUG are out of sync!
    In file included from /idsdk7/source/public/includes/PMString.h:31,
                     from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/UnicodeSavvyString.h:35:26: error: adobe/move.hpp: No such file or directory
    In file included from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/PMString.h:34:30: error: adobe/typeinfo.hpp: No such file or directory
    In file included from /idsdk7/source/public/includes/PMString.h:31,
                     from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/UnicodeSavvyString.h:211: error: expected `)' before '<' token
    In file included from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/PMString.h:120: error: expected `)' before '<' token
    /idsdk7/source/public/includes/PMString.h:1196: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/public/includes/IDFile.h:37,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/WideString.h:322: error: expected `)' before '<' token
    /idsdk7/source/public/includes/WideString.h:751: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/IDFile.h:385: error: expected constructor, destructor, or type conversion before '(' token
    cc1plus: warnings being treated as errors
    In file included from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:488: warning: 'IDataBase::<anonymous struct>' declared with greater visibility than the type of its field 'IDataBase::<anonymous struct>::mainFile'
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:488: warning: 'IDataBase::<anonymous struct>' declared with greater visibility than the type of its field 'IDataBase::<anonymous struct>::miniSaveFile'
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:779: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/InterfacePtr.h:506: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/precomp/common/ShukHeaders.cp:51,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/K2Vector.h:241: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/public/includes/SystemUtils.h:33,
                     from /idsdk7/source/public/includes/PMPoint.h:29,
                     from /idsdk7/source/public/includes/PMMatrix.h:33,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:53,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/MSystemUtils.h: In function 'void InvertSysRgn(OpaqueGrafPtr*, const __HIShape*)':
    /idsdk7/source/public/includes/MSystemUtils.h:382: warning: 'InvertRgn' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ QuickdrawAPI.h:1831)
    /idsdk7/source/public/includes/MSystemUtils.h:382: warning: 'InvertRgn' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ QuickdrawAPI.h:1831)
    /idsdk7/source/public/includes/MSystemUtils.h: In function 'void SystemBeep()':
    /idsdk7/source/public/includes/MSystemUtils.h:618: warning: 'SysBeep' is deprecated (declared at /System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Soun d.h:1383)
    /idsdk7/source/public/includes/MSystemUtils.h:618: warning: 'SysBeep' is deprecated (declared at /System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Soun d.h:1383)
    CompileC build/CS5Test.build/Default/Debug.build/Objects-normal/i386/CTID.o ../Source/CTID.cpp normal i386 c++ com.apple.compilers.gcc.4_2
    cd /CS5Test/Prj
    setenv LANG en_US.US-ASCII
    /Developer/usr/bin/gcc-4.2 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -Werror -DMACINTOSH -DMACOSX_SDKVERSION= -fvisibility-inlines-hidden -gdwarf-2 -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/CS5Test.hmap -F/CS5Test/Prj/../debug/sdk -F/idsdk7/build/mac/debug/packagefolder/contents/macos -F/idsdk7/build/mac/debug/packagefolder/contents/Frameworks -I/CS5Test/Prj/../debug/sdk/include -I/idsdk7/external/afl/includes -I/idsdk7/source/precomp/msvc -I/idsdk7/source/public/interfaces/xmedia -I/idsdk7/source/public/interfaces/preflight -I/idsdk7/source/public/interfaces/ui -I/idsdk7/source/public/interfaces/tables -I/idsdk7/source/public/interfaces/text -I/idsdk7/source/public/interfaces/graphics -I/idsdk7/source/public/libs/widgetbin/includes -I/idsdk7/source/public/interfaces/workgroup -I/idsdk7/source/public/interfaces/interactive -I/idsdk7/source/public/interfaces/interactive/ui -I/idsdk7/source/public/interfaces/colormgmt -I/idsdk7/source/public/interfaces/utils -I/idsdk7/source/public/interfaces/incopy -I/idsdk7/source/public/interfaces/layout -I/idsdk7/source/public/interfaces/architecture -I/idsdk7/source/public/interfaces/cjk -I/idsdk7/source/precomp/common -I/idsdk7/source/public/includes -I/idsdk7/source/public/libs/publiclib/plugins -I/idsdk7/source/public/libs/publiclib/files -I/idsdk7/source/public/libs/publiclib/objectmodel -I/idsdk7/external/asl/boost_libraries -I/idsdk7/source/sdksamples/common -I/idsdk7/external/afl/includes -I../Source -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/DerivedSources/i386 -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/DerivedSources -include /idsdk7/source/precomp/gcc/PluginPrefix.pch -c /CS5Test/Prj/../Source/CTID.cpp -o /CS5Test/Prj/build/CS5Test.build/Default/Debug.build/Objects-normal/i386/CTID.o
    In file included from /idsdk7/external/afl/includes/AFile.h:30,
                     from /idsdk7/source/public/includes/IDFile.h:34,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/external/afl/includes/AErrors.h:31:19: error: Files.h: No such file or directory
    In file included from /idsdk7/source/public/includes/PMString.h:28,
                     from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/K2Debugging.h:53:3: error: #error DEBUG and NDEBUG are out of sync!
    In file included from /idsdk7/source/public/includes/PMString.h:31,
                     from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/UnicodeSavvyString.h:35:26: error: adobe/move.hpp: No such file or directory
    In file included from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/PMString.h:34:30: error: adobe/typeinfo.hpp: No such file or directory
    In file included from /idsdk7/source/public/includes/PMString.h:31,
                     from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/UnicodeSavvyString.h:211: error: expected `)' before '<' token
    In file included from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/PMString.h:120: error: expected `)' before '<' token
    /idsdk7/source/public/includes/PMString.h:1196: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/public/includes/IDFile.h:37,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/WideString.h:322: error: expected `)' before '<' token
    /idsdk7/source/public/includes/WideString.h:751: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/IDFile.h:385: error: expected constructor, destructor, or type conversion before '(' token
    cc1plus: warnings being treated as errors
    In file included from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:488: warning: 'IDataBase::<anonymous struct>' declared with greater visibility than the type of its field 'IDataBase::<anonymous struct>::mainFile'
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:488: warning: 'IDataBase::<anonymous struct>' declared with greater visibility than the type of its field 'IDataBase::<anonymous struct>::miniSaveFile'
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:779: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/InterfacePtr.h:506: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/precomp/common/ShukHeaders.cp:51,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/K2Vector.h:241: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/public/includes/SystemUtils.h:33,
                     from /idsdk7/source/public/includes/PMPoint.h:29,
                     from /idsdk7/source/public/includes/PMMatrix.h:33,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:53,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/MSystemUtils.h: In function 'void InvertSysRgn(OpaqueGrafPtr*, const __HIShape*)':
    /idsdk7/source/public/includes/MSystemUtils.h:382: warning: 'InvertRgn' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ QuickdrawAPI.h:1831)
    /idsdk7/source/public/includes/MSystemUtils.h:382: warning: 'InvertRgn' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ QuickdrawAPI.h:1831)
    /idsdk7/source/public/includes/MSystemUtils.h: In function 'void SystemBeep()':
    /idsdk7/source/public/includes/MSystemUtils.h:618: warning: 'SysBeep' is deprecated (declared at /System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Soun d.h:1383)
    /idsdk7/source/public/includes/MSystemUtils.h:618: warning: 'SysBeep' is deprecated (declared at /System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Soun d.h:1383)
    CompileC build/CS5Test.build/Default/Debug.build/Objects-normal/i386/SDKPlugInEntrypoint.o /idsdk7/source/sdksamples/common/SDKPlugInEntrypoint.cpp normal i386 c++ com.apple.compilers.gcc.4_2
    cd /CS5Test/Prj
    setenv LANG en_US.US-ASCII
    /Developer/usr/bin/gcc-4.2 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -Werror -DMACINTOSH -DMACOSX_SDKVERSION= -fvisibility-inlines-hidden -gdwarf-2 -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/CS5Test.hmap -F/CS5Test/Prj/../debug/sdk -F/idsdk7/build/mac/debug/packagefolder/contents/macos -F/idsdk7/build/mac/debug/packagefolder/contents/Frameworks -I/CS5Test/Prj/../debug/sdk/include -I/idsdk7/external/afl/includes -I/idsdk7/source/precomp/msvc -I/idsdk7/source/public/interfaces/xmedia -I/idsdk7/source/public/interfaces/preflight -I/idsdk7/source/public/interfaces/ui -I/idsdk7/source/public/interfaces/tables -I/idsdk7/source/public/interfaces/text -I/idsdk7/source/public/interfaces/graphics -I/idsdk7/source/public/libs/widgetbin/includes -I/idsdk7/source/public/interfaces/workgroup -I/idsdk7/source/public/interfaces/interactive -I/idsdk7/source/public/interfaces/interactive/ui -I/idsdk7/source/public/interfaces/colormgmt -I/idsdk7/source/public/interfaces/utils -I/idsdk7/source/public/interfaces/incopy -I/idsdk7/source/public/interfaces/layout -I/idsdk7/source/public/interfaces/architecture -I/idsdk7/source/public/interfaces/cjk -I/idsdk7/source/precomp/common -I/idsdk7/source/public/includes -I/idsdk7/source/public/libs/publiclib/plugins -I/idsdk7/source/public/libs/publiclib/files -I/idsdk7/source/public/libs/publiclib/objectmodel -I/idsdk7/external/asl/boost_libraries -I/idsdk7/source/sdksamples/common -I/idsdk7/external/afl/includes -I../Source -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/DerivedSources/i386 -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/DerivedSources -include /idsdk7/source/precomp/gcc/PluginPrefix.pch -c /CS5Test/Prj//idsdk7/source/sdksamples/common/SDKPlugInEntrypoint.cpp -o /CS5Test/Prj/build/CS5Test.build/Default/Debug.build/Objects-normal/i386/SDKPlugInEntrypo int.o
    i686-apple-darwin10-gcc-4.2.1: /CS5Test/Prj//idsdk7/source/sdksamples/common/SDKPlugInEntrypoint.cpp: No such file or directory
    i686-apple-darwin10-gcc-4.2.1: warning: '-x c++' after last input file has no effect
    i686-apple-darwin10-gcc-4.2.1: no input files
    Command /Developer/usr/bin/gcc-4.2 failed with exit code 1
    Without using environment variable everything works fine . (i.e when I give SDK's dir path like ../../  i.e relative to my project)

    There is workaround : http://stackoverflow.com/questions/12629395/weblogic-using-environment-variable-double-quotes-in-arguments-in-server
    Just posting here for reference. Let's see if we get a different answer from anyone else.

  • My constructor method is bogged!

    Hi There,
    I've got some problems with constructor methods in my program, of course the constructors look fine to me, but then faulty code usually looks good to any programmer after enough hours! Here is some of my code, firstly the following snippet shows the objects being instantiated.
    public static ButtonData BtData1;
    public static ButtonData BtData2;
    public static ButtonData BtData3;
    public static ButtonData BtData4;
    public static ButtonData BtData5;
    public static void main(String[] args)
        try{
          inStream = new FileInputStream("ObjStore");
          objStreamIn = new ObjectInputStream(inStream);
          if(objStreamIn.available() == 0)      
            objStreamIn.close();                
            inStream.close();                   
            BtData1 = new ButtonData("Link1",null);
            BtData2 = new ButtonData("Link2",null);
            BtData3 = new ButtonData("Link3",null);
            BtData4 = new ButtonData("Link4","Zero");
            BtData5 = new ButtonData("Link5","Zero");
          else
        }catch(IOException e){}
        GUI xyz = new GUI();            
    }Alot of the above code is related to serialization -- mainly checking to see whether or not objects already exist on file, and if they do not, instantiating them. Notice that the above constructors have different parameters or arguments (I can't remember which word describes it best!) -- it doesn't seem to matter whether I use two strings such as ("Link4","Zero") or ("Link1",null) -- both create errors. The class that is instantiated looks like this:
    import java.io.*;
    public class ButtonData implements Serializable
      String Name;             
      String Path;             
      ButtonData(String Name,String Path)
        this.Name = Name;
        this.Path = Path;
      protected String getName()
        return Name;
      protected String getPath()
        return Path;
      protected void setName()
        Name = Begin.LinkName.getText();
      protected void setPath()
        Path = Begin.ExecT.getText();
    }As far as I can tell the constructor above follows all the relevant syntax rules, as does the first snippet of code that I provided -- where the objects are instantiated. I will probably feel like a real meat head if I have done something dump and obvious, however I have double checked the code and it looks fine to me. When trying to compile the code I get the following error messages (using JBuilder7) -- these error messages highlight the relevant sections of the first code snippet I provided:
    "Begin.java": Error #: 300 : constructor ButtonData(java.lang.String, null) not found in class quicklauncher2.ButtonData at line 61, column 23
    "Begin.java": Error #: 300 : constructor ButtonData(java.lang.String, null) not found in class quicklauncher2.ButtonData at line 62, column 23
    "Begin.java": Error #: 300 : constructor ButtonData(java.lang.String, null) not found in class quicklauncher2.ButtonData at line 63, column 23
    "Begin.java": Error #: 300 : constructor ButtonData(java.lang.String, java.lang.String) not found in class quicklauncher2.ButtonData at line 64, column 23
    "Begin.java": Error #: 300 : constructor ButtonData(java.lang.String, java.lang.String) not found in class quicklauncher2.ButtonData at line 65, column 23If anybody can shed some light on what is going on here it will be greatly appreciated.
    Thanks

    Thanks everybody for your kind constributions, unfortunately I have tried all suggestion provided and have come up with naught. As both classes are in the same package, the question of scope is resolved, and making the ButtonData objects constructor public has no effect on the error messages displayed. I have also modified the ButtonData class so that accessor and mutator methods are public and variables are private, unfortunately this also has had no effect on the immediate error messages. If anybody has further suggestions they will be greatly appreciated. I thought perhaps that the issue with the constructor may be related to the implementation of the serializalbe interface ----->
    beyond that idea I am seriously stuck!

Maybe you are looking for