i use the one timer in program i set 100ms intravel for that timer.every 100ms i need to increment the values and plot in chart.now my problem is the timer is got slowed when iam using the chart in my application without chart the working of timer is fine.
this is my code
public partial class Form1 : Form
double a,b = 0;
private void Form1_Load(object sender, EventArgs e)
private void timer1_Tick(object sender, EventArgs e)
a = a + 1;
b = b + 3;
I cannot decipher what that question is intended to answer.
Far as I can tell Clang has nothing to do with C#.
You can certainly use Clang just as you can any other compiler in a Visual Studio (not C#) solution/project to do custom stuff, for example creating a dll from C++ code.
But in that case the specifics of that are in the csproj file. I suppose that the project file could be mapping the C++ code files so you could look in that project and see those files. But Clang also does C and I am not sure Visual Studio is going to take to that. Might though.
Other than that I couldn't tell you how to find (list) all methods in a C# code base. I suspect there is probably a VS addin for that that. If so there might be a C++ one also and if your code base is in the project and is C++ then that would do it. If it exists.
But not sure what the point of that is. Conversely if what you want is the exposed API of the dll that is constructed by the build then there are tools that do that. Those don't care how you built it originally. So that would give you a starting point to find those in the code.
in fact i need just a library or tool that find function calls and their parameter. the code will be as text input. and the project will be in c# or java. so I did not know yet how to do that I need just to understand if there is anything already done like that before
He's trying to read C++ source code in C# and extract all the function signatures: Parser or regular expression?[^]
He thinks Clang will do it - it might - but he has no idea how to use it, or any real idea of how much work is involved in reading C++ source code ...
Sent from my Amstrad PC 1640 Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
Thought I'd try writing a console app and run it elevated to update a json file in the Application Folder that has extreme security on the file. So far so good, but I'm trying to pass the json as it's written in the file over to the console app and it losses it's format and becomes invalid json.
At first it's a class object called rootObject. Then I serialize the class into a string that can be written directly as a file. So I'm missing something here. I figured it would be like sending json from a .Net controller to a client but I never really studied how it works. I googled it for awhile but it's all web stuff.
If it ain't broke don't fix it
Discover my world at jkirkerx.com
It seems liek you are trying to pass the json string on the command line when launching the console app, correct?
I'll assume that's a yes. The problem is quote marks on the command line are used to enclose arguments with spaces in them and that screws up your command line parsing.
For a requirement like this, I would not use the command line at all to pass a json file, or even use Base64 encoding to pass it either. Depending on requirements, I would start the command line app as a permanently running process for the lifetime of the app and have pass json and other commands and responses over a shared memory mapped file or named pipe.