portability

Free portable database

Hi I am developing desktop portable free application and I`m looking for portable database: free without install up to 20K records standalone application supports encryption (optional) SQL92 spec thanks for advice can you write some advantages and disadvangtages? ...

Write .NET portable code or take advantage of language specifics?

Sometimes I need to convert a piece of code or an entire project from VB.NET to C# or viceversa. Unfortunately the code conversion sometimes cannot be automatically done because of the intrisic language differences. I am referring for example to keywords like yield available in C# and not in VB.NET or viceversa XML Literals available in ...

Is RAID 1 portable between different RAID controllers?

I recently had a motherboard die, and used the on board RAID controller to do RAID 1 with two hard drives. I'm wondering if I can take one of the drives and access it normally, in a non-RAID setup. EDIT: It was an Intel D975XBX2 if that helps. ...

Developing lightweight (no runtime) Windows based GUI applications using free tools.

Does anyone know of free tools (languages, environments) that would support development of GUI applications on the Windows platform? I am looking to be able to create a single executable file that has no dependencies on any external runtime or library. I would like to be able to then run this EXE in a very similar manner to Process E...

Is there a lightweight portable windows web server?

I'm looking for a lightweight portable web server for windows capable of serving arbitrary folders in the file system and supporting at least one scripting language. It shouldn't need to setup htdocs folder and config files. For test purposes. ...

How do you make your model's database portable in cakephp?

I'm not very familiar with cake.. So here's my questions.. we're developing an app on mysql, but it may eventually need to deploy to mssql or oracle. How do we make sure that we won't have strange problems with our primary keys? In mysql they are AUTO INCREMENT columns but IIRC in oracle you need to use sequences... is there a way to mak...

How ubiquitous is hash_map?

The hash_map and hash_set headers aren't included in the C++ standard yet, but they're available as extensions with all the compilers I've used lately. I'm wondering how much I can rely on these in real code without sacrificing portability. I'm working on tools projects that need to run on a host of architectures and compilers, includi...

Portable C++ Stack Trace on Exception

I am writing a library that I would like to be portable. Thus, it should not depend on glibc or Microsoft extensions or anything else that is not in the standard. I have a nice hierarchy of classes derived from std::exception that I use to handle errors in logic and input. Knowing that a particular type of exception was thrown at a pa...

What are your favorite programmable portable devices?

Have you worked on portable devices? Palms, WinCE devices, cellulars, other embedded devices. Which offered the best experience developing for it? Thanks ...

how do I install apache portable runtime

Hi,..I am trying to install subversion on a linux machine and get I get and error saying that I don't have APR installed My question is: how do I install APR and link with with my Apache HTTP server (i have 2.2 running)? I have looked for documentation for about 2 hours now,...can't find anything...i would also like to mention that i a...

Making a website/project Portable

Good evening/morning/after/noon. I have an ASP.net 3.5 website and I am using vb.net in VWD 2008 Express, I am also using MS SQL Server 2008 Express, I used ajax tabs and a textBox charavters counter control develped by http://www.4guysfromrolla.com/ The database is attached with MS SQL Server Management Studio Express and the files are...

Making a website/project Portable - Check List

Good evening/morning/after/noon. I have an ASP.net 3.5 website and I am using vb.net in VWD 2008 Express, I am also using MS SQL Server 2008 Express, I used ajax tabs and a textBox characters counter control developed by http://www.4guysfromrolla.com/ The database is attached with MS SQL Server Management Studio Express and the files ar...

How Important is SQL Portability?

It seems to me, from both personal experience and SO questions and answers, that SQL implementations vary substantially. One of the first issues for SQL questions is: What dbms are you using? In most cases with SQL there are several ways to structure a given query, even using the same dialect. But I find it interesting that the relative...

safe way of allocating memory for a list node

In a simple list, ex : struct Node { Node *next; void *data; } is there any problem if i allocate Node and Data in a single allocation (provided i know the size), like Node * t = (Node*)malloc(sizeof(Node) + DataSize)); and always assign data at the end of allocated chunk, t->data = (BYTE*)t+ sizeof(Node); /* BYTE...

Should "portable" C compile as C++?

I got a comment to an answer I posted on a C question, where the commenter suggested the code should be written to compile with a C++ compiler, since the original question mentioned the code should be "portable". Is this a common interpretation of "portable C"? As I said in a further comment to that answer, it's totally surprising to me...

Concurrent file write in Java on Windows

What happens when you concurrently open two (or more) FileOutputStreams on the same file? The Java API says this: Some platforms, in particular, allow a file to be opened for writing by only one FileOutputStream (or other file-writing object) at a time. I'm guessing Windows isn't such a platform, because I have two threads that re...

Portable equivalent of GNU make %-style pattern rules

I'm following the directions on the Using Check with the Autotools page in an attempt to build in support for unit test in a (currently) small C project. Although I am using Cgreen instead of Check. I'm having trouble with step 9, which is causing automake to emit a warning about the use of `%'-style pattern rules being a GNU make exten...

In C how to write whichever end of line character is appropriate to the OS?

Unix has \n, Mac was \r but is now \n and DOS/Win32 is \r\n. When creating a text file with C, how to ensure whichever end of line character(s) is appropriate to the OS gets used? ...

Writing USB Drive Portable Applications in C#

One of my favorite things about owning a USB flash storage device is hauling around a bunch of useful tools with me. I'd like to write some tools, and make them work well in this kind of environment. I know C# best, and I'm productive in it, so I could get a windows forms application up in no time that way. But what considerations sho...

Search index tool for personal knowledge base files

I have a large number of basic text, rtf, html, pdf and chm files that I store on a USB key as a personal knowledge base. Up until now, to retrieve information, I've used a standard file searching tools (windows search,grep etc). However these days a brute force search can take minutes due to sheer data size. Also PDF and CHM are als...