Click here to Skip to main content
15,917,610 members
Home / Discussions / C#
   

C#

 
GeneralRe: RegularExpressions Pin
Rohde1-Nov-03 21:16
Rohde1-Nov-03 21:16 
Generalsome body help me...........! Pin
Ahmed El Sherbeeny31-Oct-03 22:09
Ahmed El Sherbeeny31-Oct-03 22:09 
GeneralRetrieving an icon from an embedded resx Pin
scott3731-Oct-03 14:48
scott3731-Oct-03 14:48 
GeneralRe: Retrieving an icon from an embedded resx Pin
scott372-Nov-03 14:50
scott372-Nov-03 14:50 
Generalshutdown the computer Pin
bora3ee31-Oct-03 13:08
bora3ee31-Oct-03 13:08 
GeneralImage Pin
Gary Kirkham31-Oct-03 10:28
Gary Kirkham31-Oct-03 10:28 
GeneralRe: Image Pin
Blake Coverett31-Oct-03 11:38
Blake Coverett31-Oct-03 11:38 
GeneralConverting ASCII text to a string Pin
benglish7231-Oct-03 9:18
benglish7231-Oct-03 9:18 
Hey Guys, bit of a C# newby, so if you could point me to a relevant article, or give a few tips would me much appreciated. I've got a file, which I load and decompress to ASCII text in a C++ dll (would have no idea how to do it in C#, unless there's a zip library for C#) and can import that into C# like:
byte * pBuffer=0;
int bytes;
if(DodgyImportFunction(sourceFile,&pBuffer,&bytes))
{
if(bytes>0)
{
//at this point have a pointer to a bytes byte*, but I need it as
//byte[] and C# won't be nice and let me cast it, so I can use it as
//ASCII text.
}
}
Any ideas of a better solution so I can get the decompressed data to be treated as ASCII text in C#?
Thanks, Brian.
GeneralRe: Converting ASCII text to a string Pin
J. Dunlap31-Oct-03 9:45
J. Dunlap31-Oct-03 9:45 
GeneralRe: Converting ASCII text to a string Pin
benglish7231-Oct-03 9:56
benglish7231-Oct-03 9:56 
GeneralSocket programming Pin
Søren Christensen31-Oct-03 8:46
Søren Christensen31-Oct-03 8:46 
GeneralRe: Socket programming Pin
Søren Christensen3-Nov-03 4:26
Søren Christensen3-Nov-03 4:26 
GeneralGDI+ Pin
rob6446431-Oct-03 5:47
rob6446431-Oct-03 5:47 
GeneralRe: GDI+ Pin
J. Dunlap31-Oct-03 9:30
J. Dunlap31-Oct-03 9:30 
Generalsetup and deployment with MDB files Pin
Anonymous31-Oct-03 5:14
Anonymous31-Oct-03 5:14 
GeneralRe: setup and deployment with MDB files Pin
Heath Stewart31-Oct-03 5:28
protectorHeath Stewart31-Oct-03 5:28 
GeneralRe: setup and deployment with MDB files Pin
31-Oct-03 6:31
suss31-Oct-03 6:31 
GeneralRe: setup and deployment with MDB files Pin
Member 44190931-Oct-03 6:52
Member 44190931-Oct-03 6:52 
Generalwindows service and SQL related problem Pin
rishikt31-Oct-03 3:50
rishikt31-Oct-03 3:50 
GeneralRe: windows service and SQL related problem Pin
Heath Stewart31-Oct-03 4:42
protectorHeath Stewart31-Oct-03 4:42 
GeneralRe: windows service and SQL related problem Pin
Terry Denham31-Oct-03 5:25
Terry Denham31-Oct-03 5:25 
GeneralRe: windows service and SQL related problem Pin
Blake Coverett31-Oct-03 7:36
Blake Coverett31-Oct-03 7:36 
Generalmulti thread question Pin
rod termaat31-Oct-03 3:38
rod termaat31-Oct-03 3:38 
GeneralRe: multi thread question Pin
Heath Stewart31-Oct-03 4:35
protectorHeath Stewart31-Oct-03 4:35 
GeneralRe: multi thread question Pin
Blake Coverett31-Oct-03 8:04
Blake Coverett31-Oct-03 8: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.