Click here to Skip to main content
15,880,299 members
Home / Discussions / C#
   

C#

 
GeneralRe: I need your reviews. Pin
Eddy Vluggen26-Feb-09 3:36
professionalEddy Vluggen26-Feb-09 3:36 
QuestionResizing window changes User control's top left position Pin
AksharRoop25-Feb-09 23:14
AksharRoop25-Feb-09 23:14 
AnswerRe: Resizing window changes User control's top left position Pin
Shyam K Pananghat25-Feb-09 23:19
Shyam K Pananghat25-Feb-09 23:19 
GeneralRe: Resizing window changes User control's top left position Pin
AksharRoop26-Feb-09 0:05
AksharRoop26-Feb-09 0:05 
AnswerRe: Resizing window changes User control's top left position Pin
#realJSOP25-Feb-09 23:54
mve#realJSOP25-Feb-09 23:54 
QuestionProblem with downloading file from FTP through HTTP-proxy [modified] Pin
STeAlth-S25-Feb-09 23:11
STeAlth-S25-Feb-09 23:11 
AnswerRe: Problem with downloading file from FTP through HTTP-proxy Pin
STeAlth-S4-Mar-09 0:02
STeAlth-S4-Mar-09 0:02 
QuestionString to char* in DLL Pin
leslie wu25-Feb-09 23:11
leslie wu25-Feb-09 23:11 
Dear All,

I have a DLL with method signature like this :

void printname (char* name)

I tried using the following code to to make use of my method:

-----------------------
string s="abc.xml";

char[] b = new char[100];

s.CopyTo(0,b,0,20);

unsafe {

fixed (char* p=b);
printname(p);

}
------------------------

but it seems not working....

can anyone give me some hints ??

Thanks,

Leslie
AnswerRe: String to char* in DLL Pin
Shyam K Pananghat25-Feb-09 23:25
Shyam K Pananghat25-Feb-09 23:25 
AnswerRe: String to char* in DLL [modified] Pin
Jimmanuel26-Feb-09 3:17
Jimmanuel26-Feb-09 3:17 
AnswerRe: String to char* in DLL Pin
PIEBALDconsult26-Feb-09 4:16
mvePIEBALDconsult26-Feb-09 4:16 
GeneralRe: String to char* in DLL Pin
leslie wu26-Feb-09 4:18
leslie wu26-Feb-09 4:18 
Questionpc processes Pin
shefa' isied25-Feb-09 23:07
shefa' isied25-Feb-09 23:07 
AnswerRe: pc processes Pin
Shyam K Pananghat25-Feb-09 23:17
Shyam K Pananghat25-Feb-09 23:17 
QuestionWhy integer occupying 16 bytes instead of 4 bytes? Pin
Sandeep Kalra25-Feb-09 23:07
Sandeep Kalra25-Feb-09 23:07 
AnswerRe: Why integer occupying 16 bytes instead of 4 bytes? Pin
Eddy Vluggen26-Feb-09 3:37
professionalEddy Vluggen26-Feb-09 3:37 
Questionprocess tracing Pin
lost_in_code25-Feb-09 23:06
lost_in_code25-Feb-09 23:06 
QuestionHow to get Printing text Pin
Joe Rozario25-Feb-09 23:00
Joe Rozario25-Feb-09 23:00 
Questiongenerate variables at runtime ? Pin
Mubeen.asim25-Feb-09 22:59
Mubeen.asim25-Feb-09 22:59 
AnswerRe: generate variables at runtime ? [modified] Pin
Shyam K Pananghat25-Feb-09 23:10
Shyam K Pananghat25-Feb-09 23:10 
GeneralRe: generate variables at runtime ? Pin
Mubeen.asim25-Feb-09 23:12
Mubeen.asim25-Feb-09 23:12 
AnswerRe: generate variables at runtime ? Pin
Eddy Vluggen25-Feb-09 23:31
professionalEddy Vluggen25-Feb-09 23:31 
GeneralRe: generate variables at runtime ? Pin
Shyam K Pananghat26-Feb-09 0:18
Shyam K Pananghat26-Feb-09 0:18 
GeneralRe: generate variables at runtime ? Pin
Luc Pattyn26-Feb-09 3:09
sitebuilderLuc Pattyn26-Feb-09 3:09 
GeneralRe: generate variables at runtime ? Pin
Mubeen.asim26-Feb-09 3:12
Mubeen.asim26-Feb-09 3:12 

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.