shared

Linq 2 SQL on shared host

I recently ran into an issue with linq on a shared host. The host is Shared Intellect and they support v3.5 of the framework. However, I am uncertain to whether they have SP1 installed. My suspicion is that they do not. I have a simple "News" table that has the following structure: NewsID uniqueidentifier Title nva...

Revoke shared folders in windows

Over the last few months/years, I have shared a folder or two with numerous people on my domain. How do I easily revoke those shares to keep access to my system nice and tidy? ...

Is there a Windows/MSVC equivalent to the -rpath linker flag?

On Linux/GCC I can use the -rpath flag to change an executables search path for shared libraries without tempering with environment variables. Can this also be accomplished on Windows? As far as I know, dlls are always searched in the executable's directory and in PATH. My scenario: I would like to put shared libraries into location...

Vista and ProgramData

What is the right place to store program data files which are the same for every user but have to be writeable for the program? What would be the equivalent location on MS Windows XP? I have read that C:\ProgramData is not writeable after installation by normal users. Is that true? How can I retrieve that directory programmatically using...

Subversion and shared files across repositories/projects?

I am migrating a client's SourceSafe repository (3 projects) to SVN and two of the projects share source files. (These projects are separate products - with different names and release versions, etc) Has SVN resolved this shortcoming? How do people generally handle this scenario? Of the options I know about/can think of Use the ext...

Shared memory access permissions on Windows

I've developed a windows application that uses shared memory---that is---memory mapped files for interprocess communication. I have a windows service that does some processing and periodically writes data to the memory mapped file. I have a separate windows application that reads from the memory mapped file and displays the information...

Automake : what are the valid values for *_la_LDFLAGS in Makefile.am?

I am wondering what are the possible value for *_la_LDFLAGS in Makefile.am ? If I ask this question, it is because I would like the following : Actual shared library : libA.so (or with the version number I don't care) Symbolic links : libA-X.Y.Z.so, libA-X.so, libA.so soname : libA-X.so However here is what I ...

How can I open other people's Outlook calendars from Perl?

I can access my calendar entries as: $folder = $namespace->Folders("Joe Cool")->Folders("Calendar"); How do I open "Jane Cool" Calendar? Outlook shows that calendar as: People's Calendar Jane Cool ...

Rails best practice question: Where should one put shared code and how will it be loaded?

The rails books and web pages I've been following have all stuck to very simple projects for the sake of providing complete examples. I'm moving away from the small project app and into a realm of non-browser clients and need to decide where to put code that is shared by all involved parties. The non-browser client is a script that run...

Best way for interprocess communication in C++

I have two processes one will query other for data.There will be huge amount of queries in a limited time (10000 per second) and data (>100 mb) will be transferred per second.Type of data will be an integral type(double,int) My question is in which way to connect this process? Shared memory , message queue , lpc(Local Procedure call) o...

Program to view Shared Memory in Windows?

I'm looking for a program to view and browse the (local) shared memory in Windows x32/x64. I know this exists because I've seen it in action before. For some reason Google and MSDN fail me on this one. ...

How to find default crawling account for all shared service providers in MOSS

what is the best way to find which are the default crawling accounts used for crawling for all the shared service providers in a Farm in MOSS i would prefer if any one can tell me using Shared Service Provider Database ...

Embedding publisher policy into assembly

Hello there, I'm developing a shared assembly, version 2.0.0.0. For future compatibility, I'd like to bind all the 2.0.x.x versions to the latest version installed. To do so I need a publisher policy file. Is there a way to embed the publisher policy directly in the "code" assembly instead of having to install two different assemblies? ...

What are the Pitfalls of using a shared static WCF Proxy Client?

I am considering using a Shared (read static) WCF proxy client for a high throughput application. I believe there is a performance gain in doing this, but I have not benchmarked this as yet. Are there some serious pitfalls to this idea? From my research I can see that there is the issue of handling the fault state, it is not clear wh...

Websphere Shared Libraries and Java 2 Security

Hi I have created a jar file to load a native library ( using System.loadlibrary() ) and configured this as a shared library within WebSphere ( v6.1 ). The server has to run with Java 2 enabled ( it's the law ... ) When I try to access the library I can see that the correct classes are being loaded from my jar file, but the attempt to ...

Template function passed to shared library (c++)

Bit of a thought experiment... Ingredient 1: A class in a (precompiled) shared library that has a function that takes a pointer to an object derived from ostream: void ClassName::SetDefaultStream(std::ostream *stream) Ingredient 2: My own class deriving from std::ostream, with some generic templated stream operator: class MyStream :...

java service and resource sharing

Hi everyone, I am creating a windows service in Java that writes data to an object. This object has to be accessible by another Java program. What is the best approach to take? Thank you. Jack ...

How is the lifetime of a static class affected in a stateless asp.net application?

I've defined a helper class to keep track of a small dictionary of items. it stores this information as a static property, which is initialized in the static constructor. the list is very small and will never change so I chose this method over xml or a db lookup table... however what I would like to know is, will this static property re...

My IP seems to be blocked by web hosting server...

Hi All I have a strange problem, i just installed my php web site on a shared hosting, all services were working fine. But after configuring my app i just could visit my web site only once, other attempts gives "The server is taking too long to respond.". But from other IP i can access, but only once, it seems all ip addressess beeing b...

printfs inside a shared object (dynamic library) not getting printed

Hello, I have a shared object which i create on windows using Real View developer suite tool linked command on windows host- armlink -o mylib.so <"my *.o files given here"> Then i link an application with this mylib.so shared library on linux using gcc tools. I have printf statements inside functions in this mylib.so, but when I run...