Posts filed under ‘Vista’

Folder synchronization

I have been using FolderMatch for a long time in order to synchronize file between the main computer I use and the synology file server. However, perhaps because the synology is linux based, Foldermatch did not handle access and authentication correctly. It was impossible to delete files on the synology network disk. Otherwise it is a great tool. I then tried OpenSync, but soon ran into the problem that it does not support to not check on file size and date. Basically, pictures, mp3, etc. doesn’t really change and in most cases the file size difference is due to the different file systems on the local pc and the synology. So to get a speedy synchronize I want to omit that check for many folders. My latest test is Beyond Compare, a good old and reknown file comparison tool that also includes folder synchronize. So far it seems to work ok – it support both network access and one can turn off size and date check.

September 28, 2008 at 12:41 pm 1 comment

Upgrading to MIL-Lite 9

More about the MIL-Lite upgrade, I have had several problems. I should start by mentioning that we require our applications to work on MIL-versions back to 6, in order to be able to support the excisting customer base:

– Matrox have strengthen the typing on all MxxxInquire functions. Probably a good idea, but it means that all previous uses of the functions, for example MBufInquire is not supported anymore and have to be upgraded. Since we are dealing with pointers here, pointers to stuff of different lengths, this is not an easy upgrade. My solution was to use #if M_MIL_CURRENT_INT_VERSION >= 0x0900 in those places where I was unsure about whether further use of the pointers required a specific width.

– I am unable to retrieve previous hanlder ptr and user handler ptr:
MappInquire(M_CURRENT_ERROR_HANDLER_PTR,&m_HandlerPtr);
The type of the third parameter is not supported anymore (MAPPHOOKFCTPTR)

– The most serious problem is that Matrox has ceased support for the Mvga functions. I used them for getting a pointer to a DIB structure, in order to draw the dib to a printer device context. I canot find a real alternative to these functions

– And, not related to code, I am not able to debug the application as I constantly get an error message about missing license. However I have a Matrox Meteor 1394 card installed, with a Sony 1394b camera. I am not sure why this does not work – perhaps the Meteor is not supported in version 9, or there is still problems with 1394b speeds. Anyway I will order a USB license key.

– The Matrox developer forum is a closed one. Whenever I try to enter, typically every sixth month, I am not able to log on. Of course I have a valid support agreement and all that, but I do not remember my username or my password. I do remember the email address I am registered with, but it seems not to be enough. So I am not able to see any posts. I don’t understand why the access needs to be that restricted.

So at the moment, I am not able to get Mil-Lite 9 to work on Vista – or any version of MIL to work on Vista, I am not able to get help through the forums, and I wonder whether I rather should switch to another vendor!

September 27, 2008 at 2:13 pm 6 comments

Error 2738: Could not access VBScript run time for custom action

Finally, Matrox has released version 9.0 of their MIL-Lite imaging library. Finally – because it is the first version with Vista support, and as most people know, Microsoft has ended selling Windows XP. I have got a hand of a beta version and installed it today. Up to now I have had to use a second computer with Windows XP to debug and run the applications. More on that at another time.

Anyway, as the application also use DAC boards from Computerboards (now Measurement Computing), I needed to instasll their Vista-compatible InstaCal driver too. Their drivers always work ok, so I was surprised when the installation repeatedly stopped with the error “Error 2738: Could not access VBScript run time for custom action”. After searching the Measurement Computing forums , I went to google and it turned out that this error stems from vbscript.dll not being registered. How on earth that windows component did get unregistered I do not know, but this procedure fixed the problem:
1. Run Command Prompt as administrator
1.1 Start Menu -> All Programs -> Accessories
1.2 Right click on Command Prompt and select Run as administrator
2. Type cd c:\windows\system32 into the Command Prompt and hit Enter
3. Type regsvr32 vbscript.dll into the Command Prompt and hit Enter

September 27, 2008 at 12:08 pm 6 comments

/Maxmem support in Windows Vista

High-performance hardware from time to time needs direct access to memory in order work properly. That is the case with the excellent Matrox Imaging line of framegrabbers. In particular, I am using the Meteor/2 family of framegrabbers (a framegrabber is used for capturing images from a camera, usually for industrial, medical, or surveillance purposes). The driver and library that comes with these framegrabbers, Matrox Imaging Library, ensures during installation that the framegrabber has direct access to memory by adding a switch to the Windows XP’s (or NT or previous versions of windows) boot.ini file: /MAXMEM=xxxx where xxxx is the upper limit of memory (in MB) that windows will use. For example

multi(0)disk(0)rdisk(0)partition(1)\windows=”Microsoft Windows” /MAXMEM=2040

This lines reserves 8 MB (of my computers 2048 MB memory) for direct use by the framegrabber.

However, with Windows Vista this possibility changed. It does not use the boot.ini file any more. Instead, one has to use the Boot Configuration Data Editor or bcdedit. This utility can be run from the command promt (but remember to run the command prompt “As administrator” – by rightclicking and selecting “Run as administrator”).

BCDedit is explained here, at Microsoft Technet. /Maxmem is replaced by the option TRUNCATEMEMORY, and in order to get the same effect as the example above try from the command-line prompt:

bcdedit /set TRUNCATEMEMORY 2139095040

As can be seen, the limit 2040MB now needs to be specified in bytes.

After a reset, going into Control Panel – System, you can see that it has worked. In order to remove the limit, try

bcdedit /deletevalue TRUNCATEMEMORY

There should probably be a warning here: “Don’t try this at home”. Or at least don’t try it if you don’t know what you are doing. Of course, by the level this is documented by Microsoft, no one knows even half of what they are doing, so …

To the end of the story, I have not managed (yet) to get Matrox Imaging Library 7.5 to run properly on Windows Vista. On the other hand, as this blog explains, I managed to reserve memory for direct use by the hardware.

March 4, 2007 at 7:31 pm 7 comments

Microsoft Keyboard wit Fingerprint Reader on Vista

I installed Vista two months ago, and although most drivers were installed out of the box, a few drivers did not. Among those is the fingerprint reader on my “Microsoft Keyboard wit Fingerprint Reader”. Actually, the keyboard itself works fine, it is just the fingerprint reader that has no driver installed.Before Vista, I used it for logging on to my home pc almost every time.

I was expecting the drivers to be installed automatically throug Windows Update, but today, after two month I gave up. First I tried Driver Detective, an excellent piece of software which already has a Windows Vista version. However, it reported the device with a “driver not found” mark.

After a bit of searching I go the drivers in two steps:
i) Installing the latest version of the IntelliType Pro software from Microsoft
ii) Installing the DigitalPersona Password Manager 2.0, also from Microsoft.

After a restart (which by the way take som time on Vista), and some calibrating using the autostarting Wizard, I worked fine.

Anyway, logging on to Vista is easier now. For the home office, it offers good enough security.

February 4, 2007 at 12:14 am 1 comment

How to change the location of the Documents, Music and Video personal folders in Vista

In Vista, under normal circumstances, the Documents, Music and Video folders are located under c:\user\. If you rightclick on these folders, either from the start menu or from browsing to c:\user\, and select “properties” and then the “location” page, it is possible to change the location to a different folder, perhaps your old catalogue of mp3, or divx video files.

Have a look at this artice.

January 28, 2007 at 11:32 pm Leave a comment


Calendar

September 2020
M T W T F S S
 123456
78910111213
14151617181920
21222324252627
282930  

Posts by Month

Posts by Category