Let's say I have a drive such as "C:\", and I want to find out if it's shared and what it's share name (e.g. "C$") is.
To find out if it's shared, I can use NetShareCheck.
How do I then map the drive to its share name? I thought that NetShareGetInfo would do it, but it looks like that takes the share name, not the local drive name, as ...
I'm pretty sure one would do this using the os.plock(op) function, but I have no idea how. Also, if there's a better way, I'd be grateful to find out. Code snippets are very welcome. Thanks!
...
How would I even go about forking a child process using Haskell in the first place?
Also, if pipes are an obvious solution to the data sharing question - is there any other way to do it besides using pipes? I'm familiar with the use of shared memory segments in C (the shmget, *shmat, shmdt and shmctl functions). Could Haskell be able to...
This problem crops up every now and then at work. Our build machine can have it's files accessed via a normal windows file share. If someone browses a folder remotely on the machine, and leaves the window open overnight, then the build fails (as it has done now). The explorer window left opened points at one of the sub folders in the sou...
I would like to setup a portal for my development team to share the ideas, reports, documents, images, etc. Something similar to MS SharePoint but free/open source.
Can you please share what do you guys use for the same?
...
Hi,
I am currently trying to access a network share from my machine programaticaly using vc++ 6.0. I am using WNetAddConnection2 to connect to a share using my credentials.
I am facing the following problem:
Consider the case when there are 2 users trying to access the same remote share from same machine one after the other. Now once ...
Is it possible to post a description/comment variable to the facebook sharer url? It's only possible for url and title as far as I can figure out.
...
I want to add "share this on Facebook" to a page. I've got this working just fine using this URL format:
http://www.facebook.com/sharer.php?u=my.url.here
but the problem is, that's designed specifically to be a popup window, so
the page looks weird at full browser size
the buttons are a long way from the fields
after submission, the ...
I'm creating an application that has both an ASP.net version, and a WPF version. I'm sharing the business logic and entities between them so the only thing I should have to maintain 2 of will be the UI.
For the most part this is pretty straight forward. there are some instances where the methodology has to change, just based on the nat...
I need a script to run on Vista Ultimate to share an external drive and assign full control to Everyone. I've got a batch file to create the share using net share, but there doesn't seem to be a way to change the permissions. I reckon this must be possible in PowerShell, but I have no idea where to start.
...
Using java, minus the exception handling, it is as simple as
FileOutputStream ostream = new FileOutputStream("\\\\host\\share");
PrintStream printStream = new PrintStream(ostream);
printStream.print("HELLO PRINTER");
printStream.close();
ostream.close();
...
Let's say that I have an application running on Windows XP that is "launched" from a mapped network drive. When a page fault is triggered by the execution of this application and a code page needs to be read from disk, assuming it's not in the pagefile, will Windows go out to the mapped network share to read the necessary code page in f...
Is it possible to link to someone's outlook calendar (assuming you have priveleges to view it through outlook itself) from a web page?
I am working on an intranet site and would like to provide a link to someone's calendar similar to:
outlook:\\Public Folders\All Public Folders\Shared Calendar
However, this is not a public calen...
Is it possible to set up a folder on a remote Mac disk (in this case a Time Capsule) as a "network share"? I don't see anything in the Airport Utility to do this. The root directory seems to be a share, but I need a sub-directory to also be a share.
The background to this is that I have a Sonos audio system that can use local network ...
I have written a C++ class that I need to share an instance of between at least two windows processes. What are the various ways to do this?
Initially I looked into #pragma data_seg only to be disappointed when I realised that it will not work on classes or with anything that allocates on the heap.
The instance of the class must be acc...
I have an Oracle 8.1.7 Server running on Windows 2000 Advanced Server in a Virtual Machine. We are currently using MS Virtual Server to host this. (The allocated hardware is powerful enough - we have 3.5GB RAM assigned, and a single 2GHz processor core, more than most servers in 1999)
One of the limitations of Virtual Server i sthe ma...
Hi, I'm running an application from a network share, this application then try to verify if the path "C:\temp" exist and return true or false.
If the code is runned localy, there's no problem. If it's runned from a network share, I get the result false, even if the folder exist localy.
The code is C# on framework 2.0
Thank you
...
I really hate asking about anything retarded as Facebook Connect on SO, but their own development forums are horrendous.
We're implementing a Facebook share button using this:
<fb:share-button class="url" href="http://oursite.com/"></fb:shared-button>
This is documented(poorly) here: http://wiki.developers.facebook.com/index...
On most UNIX systems passing an open file between processes can be easily done for child/parent processes by fork(); however I need to share a fd "after" the child was already forked.
I've found some webpages telling me that sendmsg() may work for arbitary processes; but that seems very OS dependent and complex. The portlisten seems lik...
After searching around I see that eclipse 3.4/3.5 now allow you to use their 'dropin' folder to manually install plugins.
This works well in a situation where you have already downloaded the feature and plugin files, however in cases where you use the Software Updates feature to simply point to a URL and download a plugin, you don't app...