I have one COM component which is instantiated inside a COM service (this .exe is running).
I have ten clients. Each client is getting an interface (IXyz) pointer from ROT and calling a method IXyz::abc() at the same time.
From my traces I see that IXyz::abc() is gettting called 10 times at the same time, but in 10 different threads.
...
My Employer gave me a MSDN License, not that I asked for it. I have been programming in the Java world all these years and on C++ in Linux.
I am wondering what all I can do with this License, considering that I don't work on Dot Net ?? :-(
...
I have an STA COM component which is put into a COM+ application. The client creates several instances of the class in that component and calls their methods in parallel. The class is registered properly - the "ThreadingModel" for the corresponding class id is "Apartment".
I see several calls of the same method of the same class being e...
Hello,
We are developing file system filters and we need to automate the testing on all platforms we are targeting (Windows, OS X, Linux). What tools would you recommend that will check if a particular mounted file system behaves properly.
Here the word "properly" probably needs some clarification:
Since we are developing filters (not ...
In the world of Java, BEA (now Oracle) has created LiquidVM which doesn't require an OS. Likewise, there are a variety of open source projects including SANOS, JNODE OS, Project Guest VM, JavaOS, etc.
Is there an equivalent being created for Ruby?
...
It is a WCF tool and why it is located within Windows SDK and not inside the .NET Framework?
...
I have a custom entry on the Internet Explorer's context menu. I would like to do something with the selected item, for example, run a program that receives that selection as ARGV[1].
For example, if I right click on a file named whatever.zip that is located on my desktop, the following thing should run :
my_binary path\to\desktop\w...
Using either the registry or the file system. The reason for the restriction is that I am doing this as an MSI conditional statement.
Cheers!
...
Hi!
I use ReadDirectoryChangesW to watch a specified directory and update indexing structures whenever a change is detected. I use the following code (roughly)
var
InfoPointer : PFileNotifyInformation;
NextOffset : DWORD;
...
while (not Terminated) do begin
if ReadDirectoryChangesW (FDirHandle, FBuffer, FBufferLength, True,
...
I work in a team of developers, one of us works specifically under Windows, and I work primarily in Mac OS X. We're wanting to develop C-based applications either in C++ or Objective-C however I'm not really knowledgeable in how to go about a cross-platform development project.
Is it viable to work in C++ using Mac OS X? Obviously the...
Hello,
I need to get the encryption status for a given wireless adapter (WEP, WPA or WPA2). I know about ndisuio and OID_802_11_ENCRYPTION_STATUS, but this method is not supported on all adapters. Is there a better method?
Thanks.
...
I'm writing a batch file that needs to delete all the files in a certain dir and all of it's subdirectories except those of a specific type.
How can I do this?
...
I'm programming network headers and a lot of protocols use 4 bits fields. Is there a convenient type I can use to represent this information?
The smallest type I've found is a BYTE. I must then use a lot of binary operations to reference only a few bits inside that variable.
...
I have an application that is launched from within a service using a local administrator account. This application is accessible by a web browser and the host PC can be shut down through this interface.
If a user is logged into the host PC and I browse to it and shut it down, the application exits and shuts down the PC as I would expect...
Is there any tool, other than KCacheGrind, being able to view callgrind results? Preferably for Windows platform?
...
How can I force the window that opens when I run a website from Visual Studio to be maximized? Everytime I run my site VS automatically resizes the window to something that seems arbitrary.
...
I have a limited c++ background and I would like to edit the registry. For example, I want to grab the value of HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoDriveTypeAutoRun and check to see if 0x20 is in it, and then if it is, subtract 0x20 from it's value and write it back (and kill and restart explor...
I'd like to do something like "dsquery * | grep asdf" on a Windows machine that I can't install anything on. Any ideas?
Thank you.
...
REASON:
I'm working on an emergency alert application that needs to display information on a desktop. When the client receives an alert, it pops up a window. If a screensaver is active or the monitor is in standby the alert will not be visible. I'm wondering if it's possible to wake the computer up via some sort of programatic mouse m...
Hi
I'd like to wrap a bunch of files (an .exe a .xml, some images) in 1 executable package. When the user launches this executable package the .exe included in this executable package should run. Is this possible in the first place on the windows platform?
What I'm not looking for is a self extracting zip or an installer because both o...