Click here to Skip to main content
15,881,588 members
Home / Discussions / C#
   

C#

 
GeneralRe: Using strings to name an object Pin
Christian Graus8-Sep-05 13:16
protectorChristian Graus8-Sep-05 13:16 
GeneralRe: Using strings to name an object Pin
Expert Coming8-Sep-05 13:19
Expert Coming8-Sep-05 13:19 
GeneralRe: Using strings to name an object Pin
Christian Graus8-Sep-05 13:20
protectorChristian Graus8-Sep-05 13:20 
GeneralRe: Using strings to name an object Pin
Expert Coming8-Sep-05 13:21
Expert Coming8-Sep-05 13:21 
GeneralRe: Using strings to name an object Pin
Christian Graus8-Sep-05 13:23
protectorChristian Graus8-Sep-05 13:23 
GeneralRe: Using strings to name an object Pin
Expert Coming8-Sep-05 13:26
Expert Coming8-Sep-05 13:26 
GeneralRe: Using strings to name an object Pin
Christian Graus8-Sep-05 13:34
protectorChristian Graus8-Sep-05 13:34 
QuestionModify a c# string passed in c++.net function Pin
firefoxrabbit8-Sep-05 9:29
firefoxrabbit8-Sep-05 9:29 
I have the following c++ declaration

static FT_STATUS FT_ListDevicesEx(String *DevicesList);
{
DevicesList = "Hello";
}

Inside this function I modify the DeviceList string, but when I return to my c# code the string is not changed.

in c# i use the following code to pass the string.

string a = "12345";
FTDI.FT_ListDevicesEx(a);

When I arrive in ListDevicesEx the DevicesList string is 12345, then is modified in Hello, but at return in c# a = 12345 again!

What is the solution ?

Best regards.

AnswerRe: Modify a c# string passed in c++.net function Pin
John Fisher8-Sep-05 9:50
John Fisher8-Sep-05 9:50 
GeneralRe: Modify a c# string passed in c++.net function Pin
surfman198-Sep-05 10:11
surfman198-Sep-05 10:11 
Questionregex problem Pin
surfman198-Sep-05 8:53
surfman198-Sep-05 8:53 
AnswerRe: regex problem Pin
User 66588-Sep-05 9:13
User 66588-Sep-05 9:13 
GeneralRe: regex problem Pin
User 66588-Sep-05 9:20
User 66588-Sep-05 9:20 
GeneralRe: regex problem Pin
surfman198-Sep-05 9:35
surfman198-Sep-05 9:35 
GeneralRe: regex problem Pin
User 66588-Sep-05 9:51
User 66588-Sep-05 9:51 
GeneralRe: regex problem Pin
surfman198-Sep-05 10:01
surfman198-Sep-05 10:01 
GeneralRe: regex problem Pin
User 66588-Sep-05 10:11
User 66588-Sep-05 10:11 
GeneralRe: regex problem Pin
surfman198-Sep-05 10:21
surfman198-Sep-05 10:21 
GeneralRe: regex problem Pin
User 66588-Sep-05 10:24
User 66588-Sep-05 10:24 
GeneralRe: regex problem Pin
User 66588-Sep-05 10:33
User 66588-Sep-05 10:33 
GeneralRe: regex problem Pin
surfman198-Sep-05 11:27
surfman198-Sep-05 11:27 
GeneralRe: regex problem Pin
User 66588-Sep-05 11:37
User 66588-Sep-05 11:37 
Question.cpp and .h files Pin
DaveC4269138-Sep-05 8:53
DaveC4269138-Sep-05 8:53 
AnswerRe: .cpp and .h files Pin
Alex Korchemniy8-Sep-05 9:09
Alex Korchemniy8-Sep-05 9:09 
GeneralRe: .cpp and .h files Pin
DaveC4269138-Sep-05 10:04
DaveC4269138-Sep-05 10:04 

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.