Looking for the complete SharedAllocator source presented in Dr. Dobb's 2003/04/01 article - allocator

I need to share STL::map between multiple processes without using Boost library (I just don't like using it). Then internet search led me to:
http://www.drdobbs.com/creating-stl-containers-in-shared-memory/184401639?pgno=1
Creating STL Containers in Shared Memory By Grum Ketema, April 01, 2003
The complete source code is available for download at
http://www.cuj.com/code.
I was so happy to hurry to download the complete source but unfortunately, not there any more.
If anyone has this source code, please share it with me.
I really need it.

Finally I found the complete source and it can be downloaded from:
https://collaboration.cmc.ec.gc.ca/science/rpn/biblio/ddj/Website/source/CUJ/2003/apr03.zip
But unfortunately, it is not for Windows but Linux/Unix.
I hope someone can covert it to Windows version.

Related

What do I need to build a DLL?

I'm having a number of issues, and the current one is overcoming a security exception when using iTextSharp.
This article
http://www.junlu.com/list/27/763977.html
To which I was directed following this question I posted yesterday:
Displaying a bar code with iTextSharp using Chris Love's Barcode Handler (2 part)
Seems to be what is required to overcome my problem. But I have searched and searched and cannot find a definitive and simple answer to the question "How do I compile a DLL"
So, having made the suggested modification to iTextSharp, I need to make it into a single DLL.
I have absolutely no idea how to do this, despite an hour of Googling!
I'm using Visual Web Developer 2010 Express. Which according to my searches does not have any built in capability to do this. So... how do I?!
Do I NEED to download Visual Web Developer Pro? I can surely download the free trial and use that, but going forward, I don't especially want to have to download a pay-for program to do this as it's a rare occurrence for my needs.

Missing driver LabVIEW

I'm trying to run a program written by someone else in LabVIEW. The program records voltage. However it won't open because it is missing subVIs.
Initially I thought that only one was missing and the rest weren't working becuase they were attached to it but after someone on this forum kindly found it for me the rest of the VIs still won't work so I think I need to download them again. However there are too many off them to get separately, also I tried googling them to no avail.
The subVIs are : Magnet Id, Hardware check, Plot Data and Print, Make Plot Lables, Plot it, Relabel It, Write File header, Record Analog Info, Fix Column Heading, Make Igor Label etc etc (this is not a complete list).
I feel that I should download a DAQ from The National Instruments Website but I am not sure which one. I am using 64 bit LabVIEW 2010 on Windows. Can someone please help me pick out the correct driver?
Thanks!
Just going from memory, those aren't NI VIs that I recognize, especially if the misspellings are in the original.
What hardware is this interfacing with?
You should still be able to open the main VI. It will not compile or run, since the subVIs are missing, but you should be able to open it and maybe get some clues about what it's doing.
The SubVIs all appear to be in the llb file so they should be available. I'm not sure how you can access the subVIs directly from the llb file so you may want to convert this to a project folder (this is the new way of creating libraries since version 8 I think). There are some pages on the NI website that may help, try Converting an LLB to a Project Library and then add this Project Library to your project.
From what I can see the VIs make use of the VISA drivers to communicate with the individual instruments so you should make sure you have this installed. You don't mention what version of LabVIEW 2010 you have but I think they should be provided even the Basic version, I know they are provided with the Professional Development System version.

where is the source code for Oolong and Gnoloo?

I'm reading Programming for the Java Virtual Machine which discusses the Oolong assembler and Gnoloo disassembler. Judging by references online the source code was at one point available, but I can't find it now. Does anyone know where to get it?
UPDATE: thanks to belisarius I have the code, and have put it on GitHub with some build automation to make it a little easier to play with.
Found them here for download.
HTH!
Ps: there are several downloads in the page. The one you're looking for is this

Is there something similar to Source Code Outliner Power Toy for VS2010?

I absolutely love the Source Code Ouliner power toy that I use in VS2005 but am upgrading to 2010 and it seems they haven't yet released a new version. Is there anything similar that shows you a basic outline of the file you are currently navigating?
ReSharper, amongst many other features, has a File Structure window which does the same as Source Outliner.
For a free one, try the Solution Navigator in the Microsoft Productivity Power Tools.
Like you, I found this a totally great plug in that saved on the order of minutes per day. No more searching for functions! Luckily Source Outliner has been re-created for VS2010 and is still free. However, sbohlen updated it and it now runs on the (free) DXCore environment. I have been using it ever since I upgraded to VS2010.
You can read along as I got this set up, downloaded all the parts and got it running.
http://unhandled-exceptions.com/blog/index.php/2010/05/23/plugins-for-dxcorecoderushxpresscoderushrefactor-pro-201014-rtm-available/
The download is here:
http://code.google.com/p/dxsourceoutliner/downloads/list
You will also need the DXCore community installer from http://www.devexpress.com
But as a ReSharper user for years now, I will use the File Structure - same sort of view and already built in to R#.

ReSharper API... Uh... where is it?

Ok I must be having a blonde moment, but for the life of me I can't find where to
download the ReSharper API, to use with the project I got from here.
Any help or links would be greatly appreciated.
Api information:
http://www.jetbrains.com/resharper/features/open_api.html
You mostly need to reference various DLLs in the bin directory of the Resharper folder, then you can get started playing around.
If you don't have a license to the product, that would be an obvious prerequisite.
Edited to add:
Here's some ancient documentation, which may get you somewhere:
http://www.jetbrains.com/resharper/documentation/help20/Introduction/openapi.html
And the developer forums:
http://devnet.jetbrains.net/community/resharper/resharper_eap
And occasional tutorials on their blog:
http://blogs.jetbrains.com/dotnet/
It's not really great documentation, but you probably will have at least a little bit of help from Xml Doc comments.
You can look at sources of ReSharper PowerToys, open sourced examples of small features done with Open API.