MechWorks homepage
Home | Download Demo | Product Tour  

Search the site   
  Friday, September 3, 2010 | 01:02  GMT+1  
Home
 Products
 News
 Demo download 
 Support Area
 About MechWorks
Home > Technical FAQ > x64

Run DBWorks x64


Basics

DBWorks can run only on environment where both operating system and CAD application are 64bits version.

You don't need a specific installer for 64bit version. DBWorks.exe automatically detects the system and install itself properly.
Only make sure that after installing, the Solidworks addin points correclty to \BIN\X64\DBWorks.dll library:


Datasources

At the moment you can only connect the 64bit to an existing DBWorks database on SQLServer.
That's because under 64bit there are no mdb drivers.
This means that after installing on Xp64 with SW 64bit you are not able to run on the standard MDB database.

What you can do

  • Create a DBWORKS DSN on the dbworks.mdb running odbcad32.exe under syswow64 (that's the 32bit version of the odbc manager)
  • After that run AdminTools→Database→Upsize (or direclty DBCustomizer) to upsize to Sql server (please refer to the main help, topic "Upsize database", for further info on the upsize process).
  • Then remove that DSN and create a new one with the odbcad32.exe under system (the one you have in control panel, (that's the 64bit version of the odbc manager).
DBWorks 64bit only connects to datasources declared in 64bit odbc datasource manager.

DBWorks/DBInventor core application is compiled in 64bit (so it uses the x64 datasource) while other modules and application that run inside/beside the core applications are still compiled in 32bit (so they need the x32 datasources).

Pay attention to USER DSN datasources declared in ODBC panel because are merged (x32 and x64) in a misunderstanding way.

How to set datasources properly

The correct way to make the Mechworks applications working properly together with other applications is to declare only SYSTEM DSN datasources
Both in x86 ODBC (%SYSTEMROOT%\SysWOW64\odbcad32.exe ) and in x64 ODBC (%SYSTEMROOT%\system32\odbcad32.exe) you've to set datasources as follows:

  


Technical details on DBWorks run under 64bit systems

  • Core: DBWx64 can run ONLY on a machine were NO SW 32-bit is installed (only SW 64bit)
  • DLLs: they are located in BIN\x64
  • Registry: installer creates properly entries in both x32 registry and x64 registry
  • 64bit: only the DLLs are compiled in native 64bit mode – all the accessory objects are still in 32bit mode
  • Scripts: scripts runs in 32bit mode, by launching the 32bit WSCRIPT process
  • DBWFRM: any .DBWFRM runs in 32bit mode
  • eDrawings viewer: no 64bit version is available for eDrawings, so DBWx64 uses an out-of-process implementation - this is not really stable, since of problems in eDrawings itself
  • WebClient: it is not affected by 32/64 bit issues
  • Multisite: it is not affected by 32/64 bit issues
  • Bugs report: please attach always a LOG of the session