General Category > Discussion - Software

Registering the FTD2XX.DLL

(1/2) > >>

doctorwho8:
Hello!
I found out about the FTD2XX.DLL library via the list which supports the VEE program, which is now supported by Keysight. And that user was able to access the features of the library to fully inform VEE of it, and do other things. However... In my case I sometimes see error messages that a particular method isn't available, yet that's what was selected.

Supposedly the library is supposed to be registered with the Dot-Net collector of such libraries inside Windows, but I've not found a clew as to how that should be done. I did note that the C# examples shown describe how to build from the source code, and that includes making the library available at build time, and including the XML file for interpretation by Visual Studio. I've also come across on the site a Labview example series. Well okay but I use VEE for my work.  8)

FTDI Community:
Hello,

Unfortunately we don't support Keysight VEE.

The standard IDE that we use is Microsoft Visual Studio.

You can find some basic software examples using this here:

http://www.ftdichip.com/Support/SoftwareExamples/CodeExamples.htm

Maybe other community members will be able to help you.

Best Regards,
FTDI Community

doctorwho8:
Hello!
Okay. But are there any suggestions for simply registering the library so that it would be available in general? I've come across a suggestion someplace to use the gacutil command to instruct the appropriate Dot-Net version to do so for a completely different library, but in this case of course I was thinking of FTD2XX.DLL for the obvious circumstances.

Supporting Keysight's VEE is not requested.

FTDI Community:
Hello,

Unfortunately we do not have any experience doing this here at FTDI.
I did find the following link however, maybe this is helpful for you:
https://community.dynamics.com/gp/b/azurecurve/posts/registering-dotnet-dlls

Best Regards,
FTDI Community

doctorwho8:
Hello!
That is a bigger help. But trying those examples I get this problem:

--- Code: ---PS C:\Users\hanso\Documents\VEE Programs> C:\Windows\Microsoft.NET\Framework64\v2.0.50727\RegAsm.exe FTD2XX_NET.dll /codebase
Microsoft (R) .NET Framework Assembly Registration Utility 2.0.50727.9149
Copyright (C) Microsoft Corporation 1998-2004.  All rights reserved.

RegAsm : warning RA0000 : Registering an unsigned assembly with /codebase can cause your assembly to interfere with other applications that may be installed on the same computer. The /codebase switch is intended to be used only with signed assemblies. Please give your assembly a strong name and re-register it.
RegAsm : warning RA0000 : No types were registered
PS C:\Users\hanso\Documents\VEE Programs> C:\Windows\Microsoft.NET\Framework64\v2.0.50727\RegAsm.exe FTD2XX_NET.dll
Microsoft (R) .NET Framework Assembly Registration Utility 2.0.50727.9149
Copyright (C) Microsoft Corporation 1998-2004.  All rights reserved.

RegAsm : warning RA0000 : No types were registered

--- End code ---

The first was trying it, with sticking the library name there, instead of the entry in the example online.  The system had that to say about it. The second was from trying it without the / thing the other needed.

It seems the library needs whatever the complaint wants to be properly registered. IMHO it might need to be rebuilt.

Navigation

[0] Message Index

[#] Next page

Go to full version