DxDesigner Forum

This is a community forum and not official technical support. — If you need official support: Contact Us

The following comments are owned by whoever posted them. We are not responsible for them in any way.

Back to Threads Reply to Thread

I actually got this beast to work

With Crossover 9.0.2 ...
1) The installer doesn't work. So ...
2) Install it on a real windows box. VMware or virtual box work fine.
3) Copy the installation dirs over to a new XP bottle.
4) Install fonts, OLE, VB6 runtime, and MSXML parser.
5) Run the mentor "configurator.exe", do whatever you need to for licensing
6) add every win32/bin dir under the mentor tree to your path
7) find every "env.ini" and manually register each dll and ocx called out with regsvr32.
run regedit on every ".reg" file called out
8) Now, you're missing windows scripting host dlls. Install them or copy from a windows XP box. you need at least
dispex.dll scrrun.dll wshcon.dll jscript.dll scrobj.dll vbscript.dll wshext.dll; register them all with regsvr32.exe

That should do it ... viewdraw and various checkers should work now.

Here's a simple perl script to help in registering dlls ... feed it an env.ini file

#!/usr/bin/perl

my $bottle="mentor";
my $wine="/opt/cxoffice/bin/wine";

while(<>) {
  chomp;
  s/\s*$//;
  s/^\s*//;
  next if (/^$/);
  if (/^\[(.+)\]$/) {
    $section=$1;
    next;
  }
  if ($section eq "PREPEND") {
    print("PREPEND:: $_\n");
    next;
  }
  if ($section eq "APPEND") {
    print("APPEND:: $_\n");
    next;
  }
  if ($section eq "REGSVR32") {
    $_=~s/^REGSVR32=//;
    register($_);
    next;
  }
  if ($section eq "REGEDIT") {
    $_=~s/^.+=//;
    regedit($_);
    next;
  }
}

sub register {
  my $dll=shift;

#  print("register $dll\n");
  system("$wine --bottle $bottle --start \"regsvr32 $_\"\n");
}

sub regedit {
  my $reg=shift;

#  print("regedit $reg\n");
  system("$wine --bottle $bottle --start \"regedit $_\"\n");
}

CrossOver Forums: the place to discuss running Windows applications on Mac and Linux

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzMxNDM1MjAzLCJjc3JmX3Rva2VuIjoiVEFzZUc2aGdndTd1YVdOciIsImdkcHIiOjB9