Click here to Skip to main content
15,914,419 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Mouse-Screen Edge Detection Pin
User 1278211-May-04 14:00
User 1278211-May-04 14:00 
Generallinking error messages Pin
Anonymous11-May-04 7:13
Anonymous11-May-04 7:13 
GeneralRe: linking error messages Pin
David Crow11-May-04 8:32
David Crow11-May-04 8:32 
GeneralRe: linking error messages Pin
Anonymous11-May-04 9:16
Anonymous11-May-04 9:16 
GeneralRe: linking error messages Pin
Anonymous11-May-04 18:32
Anonymous11-May-04 18:32 
GeneralTIF file display Pin
LasVegasGuy11-May-04 6:58
LasVegasGuy11-May-04 6:58 
GeneralRe: TIF file display Pin
Anthony_Yio12-May-04 2:21
Anthony_Yio12-May-04 2:21 
GeneralSystem::String _gc* to char * Pin
deniz79s11-May-04 6:56
deniz79s11-May-04 6:56 
Eek! | :eek: Eek! | :eek: Eek! | :eek: Eek! | :eek: Eek! | :eek: I can't achieve this process in .Net Visual C++.

I use below code and the interpreter doesn't give any error at compile time but an error is occours at run time ("object referance not set to an object instance")

char *dosya;
String *dizi;

dizi=textBox1->Text;
dosya=new char(512);

dosya=reinterpret_cast<char *="">(dizi->ToCharArray());

also I used below code and the compiler gave an error at run time ("index was outside of range" like this I can't remember completly)

dosya=reinterpret_cast<char *="">(dizi->get_Chars(dizi->get_Lenght()));

for summary I can't get the characters from a System::String class to a char pointer. (instead of char to use wchar_t variable didn't solve the problem
GeneralRe: System::String _gc* to char * Pin
HENDRIK R11-May-04 7:22
HENDRIK R11-May-04 7:22 
GeneralConnected Printers. Pin
Prakash Nadar11-May-04 6:23
Prakash Nadar11-May-04 6:23 
GeneralRe: Connected Printers. Pin
David Crow11-May-04 7:02
David Crow11-May-04 7:02 
GeneralRe: Connected Printers. Pin
Prakash Nadar11-May-04 16:10
Prakash Nadar11-May-04 16:10 
GeneralRe: Connected Printers. Pin
David Crow12-May-04 2:05
David Crow12-May-04 2:05 
GeneralRe: Connected Printers. Pin
Prakash Nadar12-May-04 7:08
Prakash Nadar12-May-04 7:08 
GeneralRe: Connected Printers. Pin
David Crow12-May-04 7:16
David Crow12-May-04 7:16 
GeneralRe: Connected Printers. Pin
Prakash Nadar12-May-04 7:25
Prakash Nadar12-May-04 7:25 
GeneralRe: Connected Printers. Pin
John R. Shaw11-May-04 10:22
John R. Shaw11-May-04 10:22 
GeneralRe: Connected Printers. Pin
Prakash Nadar11-May-04 16:11
Prakash Nadar11-May-04 16:11 
GeneralRetrieving Path of the Program Associated with a File Type Pin
Abin11-May-04 6:18
Abin11-May-04 6:18 
GeneralRe: Retrieving Path of the Program Associated with a File Type Pin
Jens Doose11-May-04 6:23
Jens Doose11-May-04 6:23 
GeneralRe: Retrieving Path of the Program Associated with a File Type Pin
David Crow11-May-04 7:10
David Crow11-May-04 7:10 
GeneralRe: Retrieving Path of the Program Associated with a File Type Pin
Rick York11-May-04 8:12
mveRick York11-May-04 8:12 
GeneralRe: Retrieving Path of the Program Associated with a File Type Pin
David Crow11-May-04 8:27
David Crow11-May-04 8:27 
GeneralThank you guys Pin
Abin11-May-04 7:39
Abin11-May-04 7:39 
GeneralA Problem Pin
frankmanzhu11-May-04 5:57
frankmanzhu11-May-04 5:57 

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.