How to overcome compiling errors?

Messages and questions from developers working on mRemoteNG.

How to overcome compiling errors?

Postby AL|EN » Mon Oct 20, 2014 5:56 am

Hi,

I've downloaded clean source from github dev branch but I can't compile it:

Code: Select all
1>------ Rebuild All started: Project: SharedLibraryNG, Configuration: Debug Any CPU ------
1>  SharedLibraryNG -> D:\Downloads\mRemoteNG-develop\SharedLibraryNG\bin\Debug\SharedLibraryNG.dll
2>------ Rebuild All started: Project: mRemoteV1, Configuration: Debug Any CPU ------
D:\Downloads\mRemoteNG-develop\mRemoteV1\Connection\Connection.Protocol.RDP.vb(4) : warning BC40056: Namespace or type specified in the Imports 'EOLWTSCOM' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
D:\Downloads\mRemoteNG-develop\mRemoteV1\Connection\Connection.Protocol.RDP.vb(643) : error BC30002: Type 'WTSCOM' is not defined.
D:\Downloads\mRemoteNG-develop\mRemoteV1\Connection\Connection.Protocol.RDP.vb(647) : error BC30002: Type 'WTSCOM' is not defined.
D:\Downloads\mRemoteNG-develop\mRemoteV1\Connection\Connection.Protocol.RDP.vb(679) : error BC30002: Type 'WTSSessions' is not defined.
D:\Downloads\mRemoteNG-develop\mRemoteV1\Connection\Connection.Protocol.RDP.vb(686) : error BC30002: Type 'WTSSession' is not defined.
D:\Downloads\mRemoteNG-develop\mRemoteV1\UI\UI.Window.ComponentsCheck.vb(633) : error BC30002: Type 'EOLWTSCOM.WTSCOM' is not defined.
D:\Downloads\mRemoteNG-develop\mRemoteV1\UI\UI.Window.ComponentsCheck.vb(636) : error BC30002: Type 'EOLWTSCOM.WTSCOM' is not defined.
2>C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1696,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Microsoft.VisualBasic.PowerPacks.Vs, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
2>C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(2212,5): warning MSB3287: Cannot load type library for reference "EOLWTSCOM". Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY))
2>TlbImp : warning TI0000: At least one of the arguments for 'MsRdpClient4NotSafeForScripting.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'IMsRdpClientNonScriptable2.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'MsRdpClient4.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'MsRdpClient4a.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'MsRdpClient5NotSafeForScripting.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'MsRdpClient5NotSafeForScripting.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'IMsRdpClientNonScriptable3.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'MsRdpClient5.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'MsRdpClient5.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'MsRdpClient6NotSafeForScripting.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'MsRdpClient6NotSafeForScripting.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'MsRdpClient6NotSafeForScripting.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'IMsRdpClientNonScriptable4.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'MsRdpClient6.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'MsRdpClient6.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'MsRdpClient6.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'MsRdpClient7NotSafeForScripting.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'MsRdpClient7NotSafeForScripting.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'MsRdpClient7NotSafeForScripting.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'MsRdpClient7NotSafeForScripting.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'IMsRdpClientNonScriptable5.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'MsRdpClient7.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'MsRdpClient7.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'MsRdpClient7.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'MsRdpClient7.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'MsRdpClient8NotSafeForScripting.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'MsRdpClient8NotSafeForScripting.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'MsRdpClient8NotSafeForScripting.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'MsRdpClient8NotSafeForScripting.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'MsRdpClient8.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'MsRdpClient8.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'MsRdpClient8.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'MsRdpClient8.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'MsRdpClient9NotSafeForScripting.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'MsRdpClient9NotSafeForScripting.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'MsRdpClient9NotSafeForScripting.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'MsRdpClient9NotSafeForScripting.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'MsRdpClient9.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'MsRdpClient9.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'MsRdpClient9.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
2>TlbImp : warning TI0000: At least one of the arguments for 'MsRdpClient9.get_UIParentWindowHandle' cannot be marshaled by the runtime marshaler.  Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
========== Rebuild All: 1 succeeded, 1 failed, 0 skipped ==========


Does anyone have fixed code?
AL|EN
 
Posts: 1
Joined: Mon Oct 29, 2012 12:55 am

How to overcome compiling errors?

Sponsor
 

Re: How to overcome compiling errors?

Postby rmcardle » Mon Oct 20, 2014 7:11 am

EOLWTSCOM.DLL needs to be registered. The easiest way to do that is install mRemoteNG using the installer.
User avatar
rmcardle
Site Admin
 
Posts: 459
Joined: Thu Jan 07, 2010 3:40 pm


Return to Developers

Who is online

Users browsing this forum: No registered users and 1 guest

cron