cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

DVL Library and VB.NET

davide_mercanti2
Explorer
0 Likes
504

Hi to all.

With SDK VEA SDK2.3 i'm trying to set up a demo program.

In some PC (VMWARE example virtual machine ) I get an error saying... (see below).

Could be an OpenGL / Video driver problem ? In these machines the VEV application runs with software renderer mode.

Is it possible also with DVL libraries ?

======================================

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************

System.FormatException: Input string was not in a correct format.

   at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat)

   at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat)

************** Loaded Assemblies **************

mscorlib

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.34014 built by: FX45W81RTMGDR

    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

----------------------------------------

TestVEV

    Assembly Version: 1.0.0.0

    Win32 Version: 1.0.0.0

    CodeBase: file:///TestVEV.exe

----------------------------------------

Microsoft.VisualBasic

    Assembly Version: 10.0.0.0

    Win32 Version: 12.0.20806.33440 built by: FX45W81RTMREL

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll

----------------------------------------

System

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.34239 built by: FX452RTMGDR

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

----------------------------------------

System.Core

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

----------------------------------------

System.Windows.Forms

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

----------------------------------------

System.Drawing

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

----------------------------------------

System.Runtime.Remoting

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.34243 built by: FX452RTMGDR

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll

----------------------------------------

SAP.VE.DVL

    Assembly Version: 8.0.100.0

    Win32 Version: 8.0.100.0

    CodeBase: file://SAP.VE.DVL.DLL

----------------------------------------

SAP.VE.DVL.Interop

    Assembly Version: 8.0.2.0

    Win32 Version: 8.0.1.0

    CodeBase: file:///SAP.VE.DVL.Interop.DLL

----------------------------------------

02/09/2015 16:39:27    openGL context

02/09/2015 16:39:27    openGL INIT

02/09/2015 16:39:27    CoreWrapper

02/09/2015 16:39:28    Renderer : 4.1.0

02/09/2015 16:39:28    DVLClientImpl NEW

02/09/2015 16:39:28    _dvlCore.Init(_DVLClientImpl)

02/09/2015 16:39:28    _dvlCore.InitRenderer

02/09/2015 16:39:28   OpenGL|Vendor: Microsoft Corporation. Renderer: GDI Generic. Version: 1.1.0. Extensions: GL_WIN_swap_hint GL_EXT_bgra GL_EXT_paletted_texture

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Likes

Follow Igor's advice to modify locale first, if the exception still happens, please provide the value of two parameters you use to call ParseDouble() function

davide_mercanti2
Explorer
0 Likes

Hi Bo.

I can't provide you the parameters, the exceptions fires during the

"_dvlCore.InitRenderer"

and this is the last line of log that i can write to the file...

OpenGL|Vendor: Microsoft Corporation. Renderer: GDI Generic. Version: 1.1.0. Extensions: GL_WIN_swap_hint GL_EXT_bgra GL_EXT_paletted_texture

davide_mercanti2
Explorer
0 Likes

Hi to all.

Some news ?

Same problem also with the SDK 2.4

igor_afanasyev
Associate
Associate
0 Likes

Hi Davide,

The DVL Library does not implement software rendering. It supports only OpenGL.

Most likely your VMWare machine does not have VMWare Tools installed which provides support for hardware accelerated OpenGL 3.

As for FormatException - try to change the current locale when the application starts.

Imports System.Globalization

Imports System.Threading

Thread.CurrentThread.CurrentCulture = New CultureInfo("en-US")

davide_mercanti2
Explorer
0 Likes

Thank Igor.

I suppose the problem is something related to the VMWare settings.

I've changed the locale (as your suggestion), check for VMWare tools (installed) but the exception still remains.

.

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************

System.FormatException: Input string was not in a correct format.

   at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat)

   at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat)

davide_mercanti2
Explorer
0 Likes

I've checked with OpenGL Extension Viewer 4.4.

It says OpenGL 1.1...