Draw Test Harness - Visual Studio 2005

Hi all,
I'm starting using OpenCascade using Visual Studio 2005.

I've two problem with Draw Test Harness.

1) I installed ActiveState ActiveTcl 8.4.13.0 in order to compile DRAW.
DRAW crash (both release and debug version) when i try to use the window with the menu

2) I've created my own plug-in (just "hello world").
It works; I can load and use it.
But all the other plug-in don't work.
When I try to load them using pload ALL I get the following error

could not open: TKTopTest ; reason: TKTopTest.dll is not a valid Win32 application.
An exception was caught 10060A5C : Draw_Failure: Could not open: TKTopTest; reason: TKTopTest.dll is not a valid Win32 application.

** Exception ** 10060A5C : Draw_Failure: Could not open: TKTopTest; reason: TKTopTest.dll is not a valid Win32 application.

Someone can give me some suggestion please

Marco

James Gardiner's picture

Visual Studio 2005 uses version 8 of the VC compiler. I understand that the OCC dll's have been compiled with version 7.1, ie VC 2003. So recompile the dll's from source or use VC 2003.

Marco Matt's picture

I solved the problem 1
The installer of ActiveTcl changed my PATH environment variable and puts its path at the beginning of PATH. Just put it at the end (or remove it).

Marco Matt's picture

I solved the problem 1
The installer of ActiveTcl changed my PATH environment variable and puts its path at the beginning of PATH. Just put it at the end (or remove it).