Results 1 to 4 of 4

Thread: The IceCS generate.exe bug in Generate.cs from line 24 to 32

  1. #1
    damingyipai is offline Registered User
    Join Date
    Jan 2004
    Posts
    59

    The IceCS generate.exe bug in Generate.cs from line 24 to 32

    the parameters is four, but the source forgot this,
    it remember 3 only, you just change line 24 - 32:

    if(args.Length < 3)
    {
    Console.Error.WriteLine("usage: {0} solution_dir project_dir project_name [args]", progName);
    Environment.Exit(1);
    }
    string solDir = args[0];
    string projDir = args[1];
    string projName = args[2];

    to follow:

    if(args.Length < 4)
    {
    Console.Error.WriteLine("usage: {0} solution_dir project_dir project_name [args]", progName);
    Environment.Exit(1);
    }
    string solDir = args[1];
    string projDir = args[2];
    string projName = args[3];

  2. #2
    damingyipai is offline Registered User
    Join Date
    Jan 2004
    Posts
    59
    my envirment is win2000 and vs.net 2003.

  3. #3
    damingyipai is offline Registered User
    Join Date
    Jan 2004
    Posts
    59
    ohh! maybe this is not the reason of the bug, but i can't build IceCS 1.5.1
    on vs.net 2003, because generate.exe result error.

    can you help me ?

  4. #4
    michi's Avatar
    michi is offline Registered User
    Name: Michi Henning
    Organization: Triodia Technologies
    Project: I have a passing interest in Ice :-)
    Join Date
    Feb 2003
    Location
    Brisbane, Australia
    Posts
    1,055
    Sorry, to help you, I will need to know exactly how you invoke generate.exe(that is, what pre-build step you are using), and exactly what error message you are getting (if any). Also, it would be useful to insert some trace as the first line of generate.cs to echo the arguments that are passed to the executable.

    Cheers,

    Michi.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. slice2cpp generate bad string literals
    By jbrouault in forum Bug Reports
    Replies: 4
    Last Post: 12-30-2011, 10:35 AM
  2. Replies: 6
    Last Post: 04-29-2009, 04:32 AM
  3. Replies: 3
    Last Post: 10-18-2006, 10:24 AM
  4. Replies: 3
    Last Post: 03-01-2005, 09:18 PM
  5. Question about the IceCS generate.exe
    By damingyipai in forum Help Center
    Replies: 3
    Last Post: 08-12-2004, 09:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •