Click here to Skip to main content
15,895,836 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: How to marshal char** in struct? Pin
Andy Moore17-Jan-06 11:25
Andy Moore17-Jan-06 11:25 
Try this:

while( pString != null )
{
int byteCount;
strings[i] = Marshal.PtrToStringUni( pString );
i++;
byteCount = System.Text.Encoding.UnicodeEncoding.GetByteCount(strings[i]));
pString = Marshal.ReadIntPtr( pArray, byteCount );
}

I hope this helps.

Andy

Human beings were not meant to sit in little cubicles staring at computer screens all day, filling out useless forms and listening to eight different bosses drone on about about mission statements. -- Peter Gibbons
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 
AnswerRe: Problem with datagrid Pin
AB777116-Jan-06 1:01
AB777116-Jan-06 1:01 

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.