I have a timer in my program that needs to the highest resolution possible. I'm using System.Timers.Timer. However, even though you're capable of setting time interval in milliseconds it sets it to tens-of-milliseconds.
For example, I set it to 5 milliseconds and it's actually 10. I set it to...
No, I didn't really care if the data was physically mapped in the same place for both processes. I just wanted it to be the same for both processes.
I'm new to windows development, shared memory was in my mind the only solution to do this.
Initially, I didn't want to use IPC because of my...
Remoting lets you access a registered objects methods, which intern lets you reference the objects data. So, it's like a shared object between 2 processes.
I mentioned "shared memory" initially because thats the only way I knew how (from working w/ C in QNX). It looks like by using...
If all your threads are spawned from the same process, you could have your single instance class be a static member that parent process. Then all the other threads can access and manipulate the static data also.
Thanks both. I think I found an alternate solution. In my service I'm going to register my object with RegisterWellKnownServiceType(). The object I well inherit from MarshalByRefObject. In the service I will also create an instance of this object. Then the client will get the same instance of...
I've been looking all over the net to see if there is a way to have shared memory. So, to different exe's have access to the same data. I haven't been able to find anything.
What I want to use it for is I have a Windows service (with no GUI) that basically builds a in-memory DB. I want to write...
What are these SQL Client tools? Did they come with Visual Studio .NET or did you have to purchase them seperately?
I actually see the 'Generate Script' option when I right-click the DB but it's always greyed out.
I'm sorry, I failed to give this piece of info. I don't have all those SQL Server tools anymore. Those tools came with VB 6 for free. But they didn't work with SQL Server 2000. So, I'm just using the tools built into Visual Studio .NET. I don't have Enterprise Manager.
I'm working with Visual Studio .NET. I've used the IDE to create my database tables and stored procedures. I want to generate a script that has all SQL statements to create all the tables and stored procedures. In SQL Server 7, all I had to do was right-click 'generate scripts'. But when using...
I have a very simple SP procedure that will return the ID of a row if it exists and if it doesn't will insert it then try to select it again. I call this stored procedure from a C# program. The problem is if I have to INSERT then SELECT it doesn't return any rows, (but still inserts) but if I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.