Click here to Skip to main content
15,906,569 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to retrive the value? Pin
Luckie12-May-08 9:26
Luckie12-May-08 9:26 
GeneralRe: How to retrive the value? Pin
KaptinKrunch12-May-08 10:31
KaptinKrunch12-May-08 10:31 
GeneralRe: How to retrive the value? Pin
led mike12-May-08 10:32
led mike12-May-08 10:32 
GeneralRe: How to retrive the value? Pin
Luckie12-May-08 10:47
Luckie12-May-08 10:47 
GeneralRe: How to retrive the value? Pin
led mike13-May-08 5:50
led mike13-May-08 5:50 
GeneralRe: How to retrive the value? Pin
Luckie13-May-08 6:52
Luckie13-May-08 6:52 
Questioninserting Single quote error Pin
NewToAspDotNet12-May-08 8:34
NewToAspDotNet12-May-08 8:34 
AnswerRe: inserting Single quote error Pin
Giorgi Dalakishvili12-May-08 8:51
mentorGiorgi Dalakishvili12-May-08 8:51 
AnswerRe: inserting Single quote error Pin
Blue_Boy12-May-08 9:07
Blue_Boy12-May-08 9:07 
AnswerRe: inserting Single quote error Pin
Ennis Ray Lynch, Jr.12-May-08 9:11
Ennis Ray Lynch, Jr.12-May-08 9:11 
GeneralRe: inserting Single quote error Pin
Jasmine250112-May-08 9:21
Jasmine250112-May-08 9:21 
QuestionShareing shopping Cart in asp.net and C# Pin
mdpavel12-May-08 7:44
mdpavel12-May-08 7:44 
AnswerRe: Shareing shopping Cart in asp.net and C# Pin
Zoltan Balazs12-May-08 7:55
Zoltan Balazs12-May-08 7:55 
AnswerRe: Shareing shopping Cart in asp.net and C# Pin
Jasmine250112-May-08 9:13
Jasmine250112-May-08 9:13 
QuestionRTB Printing Position Pin
kgoodrich12-May-08 6:54
kgoodrich12-May-08 6:54 
AnswerRe: RTB Printing Position Pin
kgoodrich4-Jun-08 7:03
kgoodrich4-Jun-08 7:03 
QuestionToolstrips losing 3d look when locking machine Pin
RobMaddison12-May-08 6:44
RobMaddison12-May-08 6:44 
AnswerRe: Toolstrips losing 3d look when locking machine Pin
Dave Sexton12-May-08 11:52
Dave Sexton12-May-08 11:52 
GeneralRe: Toolstrips losing 3d look when locking machine Pin
RobMaddison12-May-08 22:53
RobMaddison12-May-08 22:53 
GeneralRe: Toolstrips losing 3d look when locking machine Pin
Dave Sexton12-May-08 23:05
Dave Sexton12-May-08 23:05 
GeneralRe: Toolstrips losing 3d look when locking machine Pin
RobMaddison13-May-08 0:41
RobMaddison13-May-08 0:41 
Questionpinovoke program runs but has no output Pin
sharp_k12-May-08 6:17
sharp_k12-May-08 6:17 
I followed a simple tutorial from microsoft to use a simple function puts in msrcrtdll.dll. I created a console application (C#) and copied the code as it is given. The program runs fine but dees not print as it is supposed to do. I am using VS2008. Please help. Here is the code

<br />
// PInvokeTest.cs<br />
using System;<br />
using System.Runtime.InteropServices;<br />
<br />
class PlatformInvokeTest<br />
{<br />
    [DllImport("msvcrt.dll")]<br />
    public static extern int puts(string c);<br />
    [DllImport("msvcrt.dll")]<br />
    internal static extern int _flushall();<br />
<br />
    public static void Main() <br />
    {<br />
        puts("Test");<br />
        _flushall();<br />
    }<br />
}<br />
<br />


http://msdn.microsoft.com/en-us/library/aa288468(VS.71).aspx#pinvoke_example1[^]
AnswerRe: pinovoke program runs but has no output [modified] Pin
martin_hughes12-May-08 7:19
martin_hughes12-May-08 7:19 
GeneralRe: pinovoke program runs but has no output Pin
sharp_k12-May-08 7:33
sharp_k12-May-08 7:33 
GeneralRe: pinovoke program runs but has no output Pin
martin_hughes12-May-08 8:40
martin_hughes12-May-08 8:40 

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.