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

Managed C++/CLI

 
GeneralRe: Cannot marshal class array in function [modified] Pin
Mark Salsbery21-Mar-08 14:01
Mark Salsbery21-Mar-08 14:01 
GeneralConverting an unmanaged EXE to DLL in C++ Pin
Manny Roxas21-Mar-08 5:39
Manny Roxas21-Mar-08 5:39 
GeneralRe: Converting an unmanaged EXE to DLL in C++ Pin
led mike21-Mar-08 5:45
led mike21-Mar-08 5:45 
GeneralManaged exceptions.. Pin
ptr2void20-Mar-08 21:06
ptr2void20-Mar-08 21:06 
GeneralRe: Managed exceptions.. Pin
Mark Salsbery21-Mar-08 6:44
Mark Salsbery21-Mar-08 6:44 
GeneralEmbedded Resources in C++/CLI Pin
Oddball19-Mar-08 12:22
Oddball19-Mar-08 12:22 
GeneralRe: Embedded Resources in C++/CLI Pin
led mike20-Mar-08 4:33
led mike20-Mar-08 4:33 
GeneralRe: Embedded Resources in C++/CLI Pin
Oddball21-Mar-08 10:45
Oddball21-Mar-08 10:45 
Hey, thanks for the reply. I finally managed to figure out my issue, but I sure do appreciate the help. For my own learning, though, MSDN says that Assembly.GetManifestResourceStream should not be called from managed code. Why did you direct me towards that method?

In case anyone as confused as I was finds this with Google or something, my problem was that I wasn't supplying the ResourceManager constructor with the proper arguments. If your project namespace is "Project," and your included .resx file is named "Stuff.resx," then you need to create the ResourceManager like this:

ResourceManager^ resources = gcnew ResourceManager("Project.Stuff", Reflection::Assembly::GetExecutingAssembly());


It was the "Project.Stuff" bit that got me. I wasn't getting the point from the exception thrown when I tried to use "Stuff"

Thanks again.
GeneralRe: Embedded Resources in C++/CLI Pin
Mark Salsbery21-Mar-08 11:01
Mark Salsbery21-Mar-08 11:01 
GeneralRe: Embedded Resources in C++/CLI Pin
Oddball24-Mar-08 4:11
Oddball24-Mar-08 4:11 
GeneralRe: Embedded Resources in C++/CLI Pin
[d3m0n]1-Dec-08 5:33
[d3m0n]1-Dec-08 5:33 
GeneralRe: Embedded Resources in C++/CLI Pin
Oddball1-Dec-08 5:43
Oddball1-Dec-08 5:43 
GeneralReading a File Pin
newkid19-Mar-08 10:53
newkid19-Mar-08 10:53 
GeneralRe: Reading a File Pin
Mark Salsbery19-Mar-08 12:00
Mark Salsbery19-Mar-08 12:00 
GeneralType Cast from cli::array<unsigned char=""> to unsigned char*</unsigned> Pin
ChemmieBro19-Mar-08 2:33
ChemmieBro19-Mar-08 2:33 
GeneralRe: Type Cast from cli::array to unsigned char* Pin
led mike19-Mar-08 4:46
led mike19-Mar-08 4:46 
GeneralRe: Type Cast from cli::array to unsigned char* Pin
Mark Salsbery19-Mar-08 8:44
Mark Salsbery19-Mar-08 8:44 
GeneralContains methode in Visual c++ NET 2005 Pin
mikobi18-Mar-08 22:20
mikobi18-Mar-08 22:20 
GeneralRe: Contains methode in Visual c++ NET 2005 Pin
led mike19-Mar-08 4:45
led mike19-Mar-08 4:45 
GeneralRe: Contains methode in Visual c++ NET 2005 Pin
mikobi19-Mar-08 18:47
mikobi19-Mar-08 18:47 
GeneralRe: Contains methode in Visual c++ NET 2005 Pin
mikobi19-Mar-08 18:49
mikobi19-Mar-08 18:49 
GeneralRe: Contains methode in Visual c++ NET 2005 Pin
Mark Salsbery20-Mar-08 5:28
Mark Salsbery20-Mar-08 5:28 
GeneralRe: Contains methode in Visual c++ NET 2005 Pin
mikobi21-Mar-08 23:47
mikobi21-Mar-08 23:47 
GeneralRe: Contains methode in Visual c++ NET 2005 Pin
Mark Salsbery22-Mar-08 6:23
Mark Salsbery22-Mar-08 6:23 
GeneralRe: Contains methode in Visual c++ NET 2005 Pin
mikobi23-Mar-08 21:41
mikobi23-Mar-08 21:41 

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.