Click here to Skip to main content
15,888,527 members
Home / Discussions / C#
   

C#

 
GeneralRe: Create Control on RunTime Pin
OriginalGriff17-Jun-09 23:53
mveOriginalGriff17-Jun-09 23:53 
QuestionRegarding DataGridView Pin
Muammar©17-Jun-09 21:34
Muammar©17-Jun-09 21:34 
AnswerRe: Regarding DataGridView Pin
Christian Graus17-Jun-09 21:51
protectorChristian Graus17-Jun-09 21:51 
AnswerRe: Regarding DataGridView Pin
I Believe In GOD17-Jun-09 21:55
I Believe In GOD17-Jun-09 21:55 
AnswerRe: Regarding DataGridView Pin
himanshu256117-Jun-09 21:58
himanshu256117-Jun-09 21:58 
GeneralRe: Regarding DataGridView Pin
Muammar©17-Jun-09 22:36
Muammar©17-Jun-09 22:36 
AnswerRe: Regarding DataGridView Pin
MatthysDT17-Jun-09 22:00
MatthysDT17-Jun-09 22:00 
QuestionTrying to call a c++ function in C# code using PInvoke Pin
siddy1717-Jun-09 21:16
siddy1717-Jun-09 21:16 
Hi All,

I am trying to call a C++ function into C# using PInvoke. The C++ function accepts a filename as a parameter and then writes to that file.
However, the hitch is when a simple filename is passed from C#, at the C++ end it is implicitly appended with Escape characters which is why it cannot find the file.

For Eg: If I pass a file as "ABC.txt" which lies in my bin\debug folder of the C# application, at the C++ end it becomes bin\\debug\\abc.txt which is wht it cannot write to the file.

Did anyone encounter a similar problem and has resolved it?
Kinldy help me out here.
Any help is appreciated.

Thanks in advance
Siddy
AnswerRe: Trying to call a c++ function in C# code using PInvoke Pin
Colin Angus Mackay17-Jun-09 21:39
Colin Angus Mackay17-Jun-09 21:39 
GeneralRe: Trying to call a c++ function in C# code using PInvoke Pin
siddy1717-Jun-09 23:00
siddy1717-Jun-09 23:00 
GeneralRe: Trying to call a c++ function in C# code using PInvoke Pin
dan!sh 17-Jun-09 23:19
professional dan!sh 17-Jun-09 23:19 
QuestionUse interface to force inheritance? Pin
Tobias Norlund17-Jun-09 21:13
Tobias Norlund17-Jun-09 21:13 
AnswerRe: Use interface to force inheritance? Pin
Colin Angus Mackay17-Jun-09 21:35
Colin Angus Mackay17-Jun-09 21:35 
AnswerRe: Use interface to force inheritance? Pin
dan!sh 17-Jun-09 21:43
professional dan!sh 17-Jun-09 21:43 
GeneralRe: Use interface to force inheritance? Pin
Tobias Norlund18-Jun-09 1:40
Tobias Norlund18-Jun-09 1:40 
AnswerRe: Use interface to force inheritance? Pin
Mirko198017-Jun-09 22:01
Mirko198017-Jun-09 22:01 
GeneralRe: Use interface to force inheritance? Pin
Tobias Norlund18-Jun-09 1:54
Tobias Norlund18-Jun-09 1:54 
QuestionMS-Access problem with Vista - C#.net Windows Application Pin
shw 23417-Jun-09 21:10
shw 23417-Jun-09 21:10 
AnswerRe: MS-Access problem with Vista - C#.net Windows Application Pin
EliottA18-Jun-09 3:30
EliottA18-Jun-09 3:30 
GeneralRe: MS-Access problem with Vista - C#.net Windows Application Pin
OriginalGriff18-Jun-09 3:43
mveOriginalGriff18-Jun-09 3:43 
QuestionOpen URL Pin
Nafiseh Salmani17-Jun-09 20:58
Nafiseh Salmani17-Jun-09 20:58 
AnswerRe: Open URL Pin
stancrm17-Jun-09 21:02
stancrm17-Jun-09 21:02 
QuestionDate format Pin
strings17-Jun-09 20:46
strings17-Jun-09 20:46 
AnswerRe: Date format Pin
Ashfield17-Jun-09 20:58
Ashfield17-Jun-09 20:58 
GeneralRe: Date format Pin
strings17-Jun-09 21:17
strings17-Jun-09 21:17 

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.