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

Managed C++/CLI

 
Generalunmanaged class declaring managed member function as friend Pin
godzooky29-Mar-04 4:15
godzooky29-Mar-04 4:15 
GeneralRe: unmanaged class declaring managed member function as friend Pin
Andy Wieberneit30-Mar-04 0:21
Andy Wieberneit30-Mar-04 0:21 
GeneralName Mangling Pin
Member 62566625-Mar-04 5:41
Member 62566625-Mar-04 5:41 
GeneralRe: Name Mangling Pin
Nemanja Trifunovic25-Mar-04 5:49
Nemanja Trifunovic25-Mar-04 5:49 
GeneralRe: Name Mangling Pin
Member 62566625-Mar-04 5:54
Member 62566625-Mar-04 5:54 
GeneralRe: Name Mangling Pin
Rick York25-Mar-04 6:09
mveRick York25-Mar-04 6:09 
GeneralRe: Name Mangling Pin
Member 62566625-Mar-04 7:43
Member 62566625-Mar-04 7:43 
GeneralRe: Name Mangling Pin
Member 62566625-Mar-04 10:20
Member 62566625-Mar-04 10:20 
myapp1::Form1::ioBOX.Appendtext("x");

Gives this error:

error C2228: left of '.Appendtext' must have class/struct/union type
type is ''
----------------------------------------------------------------------
Any ideas?
----------------------------------------------------------------------
#pragma once


extern "C" int magiccalc(void);

namespace myapp1
{
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;

public __gc class Form1 : public System::Windows::Forms::Form
{
public:
Form1(void)
{
InitializeComponent();
magiccalc();
}

protected:
void Dispose(Boolean disposing)
{
if (disposing && components)
{
components->Dispose();
}
__super::Dispose(disposing);
}
private: System::Windows::Forms::TextBox * ioBOX;

private:

void InitializeComponent(void)
{
this->ioBOX = new System::Windows::Forms::TextBox();
... ...yadda yadda

}
public:
static void TOioBox(int outnum)
{
ERROR----> myapp1::Form1::ioBOX.Appendtext("x");
}



};
}

extern "C"
{
void showme(int wrapnum) // My wrapper for C
{
myapp1::Form1::TOioBox(3);
}
}
GeneralRe: Name Mangling Pin
Rahul20067611-Apr-04 4:04
Rahul20067611-Apr-04 4:04 
GeneralProblems with lib file and linking Pin
ravjak24-Mar-04 9:20
ravjak24-Mar-04 9:20 
GeneralRe: Problems with lib file and linking Pin
ian mariano24-Mar-04 17:19
ian mariano24-Mar-04 17:19 
GeneralRe: Problems with lib file and linking Pin
ravjak25-Mar-04 5:17
ravjak25-Mar-04 5:17 
GeneralRe: Problems with lib file and linking Pin
ravjak25-Mar-04 5:22
ravjak25-Mar-04 5:22 
GeneralRe: Problems with lib file and linking Pin
ravjak28-Mar-04 2:42
ravjak28-Mar-04 2:42 
GeneralMixing C++ and C Pin
Member 62566623-Mar-04 8:01
Member 62566623-Mar-04 8:01 
GeneralRe: Mixing C++ and C Pin
ian mariano23-Mar-04 10:17
ian mariano23-Mar-04 10:17 
GeneralRe: Mixing C++ and C Pin
Member 62566623-Mar-04 10:28
Member 62566623-Mar-04 10:28 
GeneralRe: Mixing C++ and C Pin
ian mariano24-Mar-04 2:01
ian mariano24-Mar-04 2:01 
GeneralRe: Mixing C++ and C Pin
Member 62566625-Mar-04 5:15
Member 62566625-Mar-04 5:15 
GeneralRe: Mixing C++ and C Pin
ian mariano25-Mar-04 9:59
ian mariano25-Mar-04 9:59 
GeneralRe: Mixing C++ and C Pin
Member 62566625-Mar-04 10:22
Member 62566625-Mar-04 10:22 
Generalfind current path (C++ DLL called from C# file) Pin
jazzle23-Mar-04 6:02
jazzle23-Mar-04 6:02 
GeneralRe: find current path (C++ DLL called from C# file) Pin
ian mariano23-Mar-04 10:24
ian mariano23-Mar-04 10:24 
GeneralRe: find current path (C++ DLL called from C# file) Pin
jazzle24-Mar-04 4:48
jazzle24-Mar-04 4:48 
Generalnewbie timer question Pin
zena9923-Mar-04 4:20
zena9923-Mar-04 4:20 

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.