Click here to Skip to main content
15,886,578 members
Home / Discussions / C#
   

C#

 
GeneralRe: PropertyGrid TypeConverter Pin
joe carbone16-Jan-06 4:37
joe carbone16-Jan-06 4:37 
QuestionGDI+ Pin
usmanali12316-Jan-06 3:56
usmanali12316-Jan-06 3:56 
AnswerRe: GDI+ Pin
Andy Moore16-Jan-06 4:21
Andy Moore16-Jan-06 4:21 
AnswerRe: GDI+ Pin
Robert Rohde16-Jan-06 4:21
Robert Rohde16-Jan-06 4:21 
QuestionHow to marshal char** in struct? Pin
jurot16-Jan-06 3:49
jurot16-Jan-06 3:49 
AnswerRe: How to marshal char** in struct? Pin
Andy Moore16-Jan-06 4:57
Andy Moore16-Jan-06 4:57 
GeneralRe: How to marshal char** in struct? Pin
jurot16-Jan-06 23:15
jurot16-Jan-06 23:15 
GeneralRe: How to marshal char** in struct? Pin
jurot17-Jan-06 1:06
jurot17-Jan-06 1:06 
Hi once more,

I found out, that it works fine only if I have MY_STRUCT.arrNames 1 string!

When I have more than one, all strings in the result array are the same.

I guess the cycle

while( pString != null )
{
strings[i] = Marshal.PtrToStringUni(pString);
i++;
pString = Marshal.ReadIntPtr(pArray);
}

in Marshal.PtrToStringUni(pString) is reading still the same value MY_STRUCT.arrNames[0].


jurot
GeneralRe: How to marshal char** in struct? Pin
Andy Moore17-Jan-06 11:25
Andy Moore17-Jan-06 11:25 
QuestionDataGrid formatting Pin
jeanchalumeau16-Jan-06 3:21
jeanchalumeau16-Jan-06 3:21 
AnswerRe: DataGrid formatting Pin
Robert Rohde16-Jan-06 4:18
Robert Rohde16-Jan-06 4:18 
GeneralRe: DataGrid formatting Pin
jeanchalumeau17-Jan-06 3:37
jeanchalumeau17-Jan-06 3:37 
QuestionChange file extensions Pin
GermanDM16-Jan-06 3:05
GermanDM16-Jan-06 3:05 
AnswerRe: Change file extensions Pin
Robert Rohde16-Jan-06 4:17
Robert Rohde16-Jan-06 4:17 
JokeRe: Change file extensions Pin
GermanDM16-Jan-06 19:36
GermanDM16-Jan-06 19:36 
GeneralRe: Change file extensions Pin
Robert Rohde16-Jan-06 19:49
Robert Rohde16-Jan-06 19:49 
GeneralRe: Change file extensions Pin
GermanDM16-Jan-06 19:55
GermanDM16-Jan-06 19:55 
QuestionVirtual Printer Driver! Pin
Andy H16-Jan-06 2:53
Andy H16-Jan-06 2:53 
AnswerRe: Virtual Printer Driver! Pin
John Fisher16-Jan-06 6:19
John Fisher16-Jan-06 6:19 
QuestionC# and WinFX Pin
Martin2316-Jan-06 1:52
Martin2316-Jan-06 1:52 
QuestionT-SQL vs. C# stored procedures Pin
Rob Philpott16-Jan-06 1:32
Rob Philpott16-Jan-06 1:32 
AnswerRe: T-SQL vs. C# stored procedures Pin
Colin Angus Mackay16-Jan-06 4:36
Colin Angus Mackay16-Jan-06 4:36 
QuestionListView control Pin
PrakashBhaskar16-Jan-06 1:29
PrakashBhaskar16-Jan-06 1:29 
QuestionRe: ListView control Pin
Chibi Maruko S20-Feb-06 0:16
Chibi Maruko S20-Feb-06 0:16 
Question[Message Deleted] Pin
papa198016-Jan-06 0:56
papa198016-Jan-06 0:56 

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.