Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
M

mbender

@mbender
About
Posts
7
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • C #define to C# constant converstion tool
    M mbender

    Thanks..I will look into this

    C# question csharp visual-studio tools help

  • C #define to C# constant converstion tool
    M mbender

    Thanks PIEBALDconsult...Couple questions 1. Is this entered at the command-line or via a batch file? 2. The "C:\mingw\bin\cpp" reference. Where is this from? Thanks again!

    C# question csharp visual-studio tools help

  • C #define to C# constant converstion tool
    M mbender

    Interesting idea...I have a question as to what and how you pass data from the C pre-processor to the CSC? Thanks everyone for you thoughts!

    C# question csharp visual-studio tools help

  • C #define to C# constant converstion tool
    M mbender

    I am looking at a series of header files with thousands of #define statements in them. I have been tasked with writing a utility that utilizes these defines in C#. I know that I can manually convert these, but unfortunately they are living files and I would have a maintenance nightmare. My question is does anyone have or used any utilities that can be run has a pre-build process from inside VS that converts header file #define to C# constant? Any help on this is greatly appreciated! ~Mike

    C# question csharp visual-studio tools help

  • How to speed up my XP notebook
    M mbender

    There are some good tips at http://tweakxp.com/performance_tweaks.aspx

    The Lounge com performance tutorial question

  • console app wrapper help [modified]
    M mbender

    Sorry got the thread issue resolved. What I cannot get is a class that acts like the redirect library referenced at the beginning.

    C# help csharp c++ com

  • console app wrapper help [modified]
    M mbender

    I am currently tasked with providing a friendlier user interface here at work that will provided new features, but also will interact with several console apps. I need to be able to read/write to these applications. The key is being able to read and write multiple times to the same process. I understand that I could use batch files for this but this will not provide the real-time feedback and interaction that I need to pull this off cleanly. I am a former VB6 developer that has been using C# for a short time now. I have written similar applications to this one in VB6 using a DLL written by Franky Braem (http://www.codeproject.com/atl/redirect.asp). This worked great and is what I need to recreate in C#. I have a code that is capable of reading and writing to the console using the System.Diagnostic namespace redirecting stdin, stdout and stderr (single thread). My issue with this code is that I have to close the StreamWriter of the process in order to read the stdout. Due to this when I attempt to send a subsequent string to the console I get an error that the TextWriter has been closed. Can I reopen this? I cannot locate anything on doing this. I played with a second example written by Scott Hanselman (http://www.hanselman.com/blog/SoManyMistakesForMeToMakeSoLittleTimecapturingStandardErrorAndStandardOutput.aspx) that is multithreaded. This exhibits the same behavior described above. In reality I would really like a C# version of Franky Braem's redirect DLL in C#. Any help here will be greatly appreciated! Thanks -- modified at 15:18 Friday 14th September, 2007 * Made clarifications

    C# help csharp c++ com
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups