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

Managed C++/CLI

 
GeneralRe: LNK2005 Redefinition Error on using CLI --already defined LNK2005 error Pin
jobin00700731-May-09 11:00
jobin00700731-May-09 11:00 
GeneralRe: LNK2005 Redefinition Error on using CLI --already defined LNK2005 error Pin
Mark Salsbery31-May-09 11:08
Mark Salsbery31-May-09 11:08 
GeneralRe: LNK2005 Redefinition Error on using CLI --already defined LNK2005 error Pin
jobin00700731-May-09 12:07
jobin00700731-May-09 12:07 
GeneralRe: LNK2005 Redefinition Error on using CLI --already defined LNK2005 error Pin
Mark Salsbery1-Jun-09 7:09
Mark Salsbery1-Jun-09 7:09 
AnswerAttempt to load an unverifiable executable with fixups (IAT with more than 2 sections or a TLS section.) (Exception from HRESULT: 0x80131019) Help! Pin
jobin0070071-Jun-09 12:37
jobin0070071-Jun-09 12:37 
GeneralRe: Attempt to load an unverifiable executable with fixups (IAT with more than 2 sections or a TLS section.) (Exception from HRESULT: 0x80131019) Help! Pin
Mark Salsbery1-Jun-09 12:42
Mark Salsbery1-Jun-09 12:42 
GeneralRe: Attempt to load an unverifiable executable with fixups (IAT with more than 2 sections or a TLS section.) (Exception from HRESULT: 0x80131019) Help! Pin
jobin0070071-Jun-09 13:15
jobin0070071-Jun-09 13:15 
AnswerUnable to access variables. Pin
jobin0070071-Jun-09 13:18
jobin0070071-Jun-09 13:18 
Unable to access variable. Suppose I wanted to access a integer array a[12] stored in my Unmanaged class.
I can only declare pointers inside the ref class. So how do I access the integer array from C#. C# only allows pointers as unsafe. I need to check if each a[i] has a value <0. It seems very hard to do this? Any help?

*******************Managed.cpp*********************************
namespace Managed
{
public ref class ManagedCLR
{
public:
ManagedCLR (void)
{
pObj = new UNMANAGEDNAMESPACE.Data();
}
~ManagedCLR(void)
{
delete pObj;
}
void EntryPoint(void)
{
//pass through to the unmanaged object
pObj->EntryPointUnmanged(); //Here the managed program accesses my unmanaged program.

}
private:
UNMANAGEDNAMESPACE.Data *pObj; //Here my Unmanaged Class is referenced through a pointer.
};
GeneralRe: Unable to access variables. Pin
jobin0070071-Jun-09 13:21
jobin0070071-Jun-09 13:21 
GeneralRe: Unable to access variables. Pin
jobin0070071-Jun-09 13:27
jobin0070071-Jun-09 13:27 
GeneralRe: Unable to access variables. Pin
jobin0070071-Jun-09 13:54
jobin0070071-Jun-09 13:54 
GeneralRe: Unable to access variables. Pin
Mark Salsbery1-Jun-09 17:25
Mark Salsbery1-Jun-09 17:25 
NewsNo Intellisense support in VC10 for C++/CLI!!! Pin
small_mountain28-May-09 7:05
small_mountain28-May-09 7:05 
GeneralRe: No Intellisense support in VC10 for C++/CLI!!! Pin
teejayem28-May-09 7:27
teejayem28-May-09 7:27 
GeneralRe: No Intellisense support in VC10 for C++/CLI!!! [modified] Pin
Mark Salsbery28-May-09 7:31
Mark Salsbery28-May-09 7:31 
GeneralRe: No Intellisense support in VC10 for C++/CLI!!! Pin
led mike28-May-09 11:29
led mike28-May-09 11:29 
GeneralRe: No Intellisense support in VC10 for C++/CLI!!! Pin
Mark Salsbery28-May-09 11:32
Mark Salsbery28-May-09 11:32 
GeneralRe: No Intellisense support in VC10 for C++/CLI!!! Pin
led mike4-Jun-09 4:52
led mike4-Jun-09 4:52 
GeneralRe: No Intellisense support in VC10 for C++/CLI!!! Pin
Mark Salsbery4-Jun-09 5:02
Mark Salsbery4-Jun-09 5:02 
GeneralRe: No Intellisense support in VC10 for C++/CLI!!! Pin
small_mountain1-Jun-09 1:39
small_mountain1-Jun-09 1:39 
GeneralRe: No Intellisense support in VC10 for C++/CLI!!! Pin
N a v a n e e t h1-Jun-09 3:14
N a v a n e e t h1-Jun-09 3:14 
GeneralRe: No Intellisense support in VC10 for C++/CLI!!! Pin
Stuart Dootson2-Jun-09 0:26
professionalStuart Dootson2-Jun-09 0:26 
Questionconver "System::String ^" to std::String Pin
AntoniP28-May-09 1:18
AntoniP28-May-09 1:18 
AnswerRe: conver "System::String ^" to std::String Pin
N a v a n e e t h28-May-09 2:39
N a v a n e e t h28-May-09 2:39 
GeneralRe: conver "System::String ^" to std::String Pin
Mark Salsbery28-May-09 7:38
Mark Salsbery28-May-09 7:38 

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.