I got some stubborn error when trying to link in a dll in a unity project.
Assets/Scripts/cls_PLC.cs(3,14): error CS0234: The type or namespace name `TwinCAT' does not exist in the namespace `System'. Are you missing an assembly reference?
I'm making some test how to use unity as GUI for a TwinCAT PLC project.
I finally hit the jackpot at http://forum.unity3d.com/threads/13548-Type-or-namespace-name-compilation-issue
Solution: Add the Dll as plugins.
In Unity create a folder named Plugins under Project.
Open the folder in explorer and paste in your dll.
Monday, February 28, 2011
Friday, February 25, 2011
More COM Object problem
This time Vector CANoe. I had a reference for CANoe 7.1 then I upgraded to 7.5 and made some cleaning of the regristry. Whammoo, the vb.net program accessing CANoe compiled nicely but when it runs and tried to access CANoe I got following error:
My memory is short, all you had to do was:
Open a console at where CANoe is installed then type canoe32 -regserver
Yes, RTFM
Unable to cast COM object of type 'CANoe.ApplicationClass' to interface type 'CANoe.IApplication6'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{4A0D68E0-E2E0-4260-A5EE-2363AD2BDB4B}' failed due to the following error: Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)).
My memory is short, all you had to do was:
Open a console at where CANoe is installed then type canoe32 -regserver
Yes, RTFM
Subscribe to:
Posts (Atom)
MySQL to MariaDB
Here is a good description how to migrate to MariaDb MySQL to MariaDb Example of how to dump data from MySQL port=3307: mysqldump --user=ro...
-
When converting an VB2008 application to VB2010 I run into trouble regarding COM objects while compiling. you get errors like: Error 1...
-
In a module you have declared a Structure or Enum that you will use through out a project. Module Module1 Public Structure dummy ...
-
Apache2 crashes on Ubuntu Linux 22.04.5 after Zabbix was updated to 7.0.26 During a upgrade of my Ubuntu server there was a new package for ...