Darwinbots Forum

Welcome To Darwinbots => Newbie => Topic started by: D34D on February 14, 2006, 03:05:26 PM

Title: Run-time error '339'
Post by: D34D on February 14, 2006, 03:05:26 PM
hi im totally new here and to darwinbots , it seemed interesting enough for me to try it but unfortunately it crashed when I wanted to start a new simulation

this is the error I got :

Run-time Error '339'

Component 'TABCTL32.OCX' or one of its dependencies not correctly registerd :a file is missing or invalid

what are the minimun requierments you need for this game?
also iff needed I downloaded DarwinBots2.37.6

Quote
Since this isn't actually a bug, topic moved to newbies

:D PY :D
Title: Run-time error '339'
Post by: PurpleYouko on February 14, 2006, 03:34:27 PM
Hi D34D. Welcome to the comunity.

It sounds like you haven't installed the program completely. The missing component's are included as a CAB file in the intitial installer. Did you just jump right in at the latest version? A lot of people do that.

Unfortunately, the later versions are actually patches to the main program and although they are stand-alone programs, they will only run propoerly if your PC has all the activeX components installed correctly.

I would recommend that you download and install the main progam which you can find here (http://www.darwinbots.com/WikiManual/index.php?title=FTP#Main_Installs). It is under the heading "Main installs" as "Darwin21".
Then download the newer version from the same page and unzip it into your DarwinBotsII directory (which the installer will set up for you). Version 3.37.6 is the most stable version right at the moment. You will also need a copy of the latest "sysvars2.21.txt" file as the program uses this to interpret the robot DNA. The main install comes with a very primitive version of the "sysvars.txt" file.
download the "sysvars2.21.txt" file from this post and place it in the main "DarwinBotsII" directory. You can leave the old file there too rather than trying to overwrite it.

let us know how you get on.
Title: Run-time error '339'
Post by: Endy on February 14, 2006, 04:35:06 PM
We've had this happen a bunch of times now. Could we just  add the two versions together for release to new members?
Title: Run-time error '339'
Post by: PurpleYouko on February 14, 2006, 10:14:13 PM
we are working on making the next version a self installer.

I think I know how to do it now.
Title: Run-time error '339'
Post by: Numsgil on February 15, 2006, 12:43:59 AM
The problem I always run into is gathering up all the newer bots.  I mean, if you're going to make a new installer it only makes sense to include new bots and simulations.  I end up getting stuck there.  It requires alot more work than you'd think.
Title: Run-time error '339'
Post by: D34D on February 16, 2006, 07:05:23 PM
great the program works now , I must have looked over the main instalpart
but it works now so thanx for the help  :)
Title: Run-time error '339'
Post by: -venom- on April 21, 2007, 05:33:04 PM
hmmmmm I seem to be having the same problem but I have done the instaling and the sysvars thing


even the origional install wont work

were exactly are the .ocx files put
Title: Run-time error '339'
Post by: Numsgil on April 22, 2007, 04:45:38 PM
They're put somewhere in the labrynth of windows/system32 dlls I believe.  It's odd that you should get this error.  What OS are you running?
Title: Run-time error '339'
Post by: vapidm on September 24, 2007, 05:35:24 PM
I got the same error, and I also followed the proper install instructions.

I'm running Vista
Title: Run-time error '339'
Post by: Numsgil on September 24, 2007, 06:11:33 PM
If for whatever reason one of the dlls doesn't get installed, you'll need to do it manually.  Do a google search for the missing component (Vista might have some unique requirements in this regard).  Once you find a compatible one, you need to register it with the system.  Place it in the windows/system32 directory.  Run-> Type in regsrv32 [dlllocation\dllname].

Ex:

regsrv32 c:\windows\system32\somedll.dll
Title: Run-time error '339'
Post by: vapidm on October 02, 2007, 11:08:43 AM
*follow up*

I managed to get it working.  The issue with vista had to do with user privileges.  

For future reference, all I had to do was right click and 'Run as administrator'.

Works perfectly now!
Title: Run-time error '339'
Post by: Numsgil on October 02, 2007, 03:26:09 PM
*Sigh* so many issues running in Vista...