Click here to Skip to main content
15,923,845 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
Questionargs in the "new" main() Pin
leonelsr31-Mar-06 11:48
leonelsr31-Mar-06 11:48 
AnswerRe: args in the "new" main() Pin
2bee 31-Mar-06 23:00
2bee 31-Mar-06 23:00 
Questionlooping through strings C++ .NET Pin
richiebaby31-Mar-06 4:05
richiebaby31-Mar-06 4:05 
AnswerRe: looping through strings C++ .NET Pin
Saksida Bojan31-Mar-06 5:34
Saksida Bojan31-Mar-06 5:34 
GeneralRe: looping through strings C++ .NET Pin
richiebaby31-Mar-06 5:51
richiebaby31-Mar-06 5:51 
GeneralRe: looping through strings C++ .NET Pin
Saksida Bojan31-Mar-06 6:51
Saksida Bojan31-Mar-06 6:51 
GeneralRe: looping through strings C++ .NET - Figured it out Pin
richiebaby31-Mar-06 6:54
richiebaby31-Mar-06 6:54 
QuestionVery strange error Pin
Joel Holdsworth30-Mar-06 11:58
Joel Holdsworth30-Mar-06 11:58 
I have this very wierd error message in Visual C++ Express 2005:

1>.\UIEvents.cpp(252) : error C2860: 'void' cannot be an argument type, except for '(void)'
1>        This diagnostic occurred while importing type 'VLCWPF::SkinInterface::PlaylistItem ' from assembly 'VLCWPF, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
Here's the offending code:
InputItem *inputitem = item->get_InputItem();
What's most wierd to me is that I can't find anywhere where this mysterious void could be coming from. The class InputItem is very simple, so I can't see why it would have problems:
public class InputItem
{
    public InputItem(string name, string uri, string[] inputOptions, int id, InputInterface.InputType inputType)
    {
        this.name = name;
        this.uri = uri;
        this.inputOptions = inputOptions;
        this.id = id;
        this.inputType = inputType;
    }

    public InputItem(string name, string uri) :
        this(name, uri, null, 0, InputInterface.InputType.Unknown)
    {

    }

    public string Name
    {
        get { return name; }
        set { name = value; }
    }

    public string Uri
    {
        get { return uri; }
        set { uri = value; }
    }

    protected string name;
    protected string uri;
    protected string[] inputOptions;
    protected int id;
    protected InputInterface.InputType inputType;
}
Can anyone make any suggestions? I can't figure out for the life of me what could cause this.


Joel Holdsworth
AnswerRe: Very strange error Pin
George L. Jackson30-Mar-06 17:10
George L. Jackson30-Mar-06 17:10 
GeneralRe: Very strange error Pin
Saksida Bojan30-Mar-06 18:11
Saksida Bojan30-Mar-06 18:11 
GeneralRe: Very strange error Pin
George L. Jackson31-Mar-06 1:01
George L. Jackson31-Mar-06 1:01 
AnswerRe: Very strange error Pin
John L. DeVito30-Mar-06 23:11
professionalJohn L. DeVito30-Mar-06 23:11 
QuestionTransfer Data from SQL Database to DataTable Pin
kevin12730-Mar-06 4:45
kevin12730-Mar-06 4:45 
GeneralRe: Transfer Data from SQL Database to DataTable Pin
George L. Jackson30-Mar-06 16:49
George L. Jackson30-Mar-06 16:49 
GeneralRe: Transfer Data from SQL Database to DataTable Pin
kevin12730-Mar-06 18:18
kevin12730-Mar-06 18:18 
QuestionCopying array values into a managed structure Pin
Sangeetha.R30-Mar-06 0:14
Sangeetha.R30-Mar-06 0:14 
AnswerRe: Copying array values into a managed structure Pin
2bee 30-Mar-06 1:45
2bee 30-Mar-06 1:45 
GeneralRe: Copying array values into a managed structure Pin
Sangeetha.R30-Mar-06 18:18
Sangeetha.R30-Mar-06 18:18 
AnswerRe: Copying array values into a managed structure Pin
2bee 30-Mar-06 19:31
2bee 30-Mar-06 19:31 
QuestionChecking For Null while rasing the events Pin
Sangeetha.R30-Mar-06 0:03
Sangeetha.R30-Mar-06 0:03 
AnswerRe: Checking For Null while rasing the events Pin
Milton Karimbekallil30-Mar-06 4:08
Milton Karimbekallil30-Mar-06 4:08 
GeneralRe: Checking For Null while rasing the events Pin
Sangeetha.R30-Mar-06 21:18
Sangeetha.R30-Mar-06 21:18 
GeneralRe: Checking For Null while rasing the events Pin
Milton Karimbekallil31-Mar-06 1:54
Milton Karimbekallil31-Mar-06 1:54 
AnswerRe: Checking For Null while rasing the events Pin
2bee 31-Mar-06 3:17
2bee 31-Mar-06 3:17 
GeneralRe: Checking For Null while rasing the events Pin
Sangeetha.R2-Apr-06 18:44
Sangeetha.R2-Apr-06 18:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.