Author Topic: Error 76 in frmMain in Procedure Load  (Read 10552 times)

BobBailey

  • Full Member
  • ***
  • Posts: 62
    • View Profile
Error 76 in frmMain in Procedure Load
« on: November 29, 2010, 05:19:57 PM »
I just installed 4.05 on a Windows 7 64 bit machine. Clean install TF never on this machine before.

When starting TF I get a dialog box with this error after filling in the Registration Info:
Module: frmMain
Procedure: Load
Line Number: 0
Error Number: 76
Description: Path not found

If I exit the program and restart TF I get the registration box again and the error again.

What do I need to do?

Thanks... Bob

ScottMorris

  • Administrator
  • Sr. Member
  • *****
  • Posts: 2756
  • TopoFusion Author
    • View Profile
    • http://www.topofusion.com/diary
Re: Error 76 in frmMain in Procedure Load
« Reply #1 on: November 29, 2010, 08:35:09 PM »
Uhh... I have never seen that before.  Did you install it as admin?

TF does work on W7 64 bit, per many users reports.
Scott Morris - founder and co-author of TopoFusion
email: smorris@topofusion.com

BobBailey

  • Full Member
  • ***
  • Posts: 62
    • View Profile
Re: Error 76 in frmMain in Procedure Load
« Reply #2 on: November 30, 2010, 06:57:14 AM »
I assume that I installed it as admin. I'm the only user, the screen went black then asked me if I wanted to install it which is an indication of "elevation".

I have a picture of the dialog box if you want it.

Let me know if you would like for me to do something.

...Bob

BobBailey

  • Full Member
  • ***
  • Posts: 62
    • View Profile
Re: Error 76 in frmMain in Procedure Load
« Reply #3 on: November 30, 2010, 07:00:24 AM »
PS TopoFusion does come up after "OK" on the error box and seems to work. I haven't mucked around with it once started so I don't know if it REALLY works. Shuts down normally. Says that it is registered to "Robert" which is only part of my registration name, don't know if that matters.

BobBailey

  • Full Member
  • ***
  • Posts: 62
    • View Profile
Re: Error 76 in frmMain in Procedure Load
« Reply #4 on: November 30, 2010, 07:02:19 AM »
PPS "My Documents" is stored on drive D: in the "normal" win7 way.

ScottMorris

  • Administrator
  • Sr. Member
  • *****
  • Posts: 2756
  • TopoFusion Author
    • View Profile
    • http://www.topofusion.com/diary
Re: Error 76 in frmMain in Procedure Load
« Reply #5 on: November 30, 2010, 08:46:37 AM »
Did TF go into the normal place as well?  (Program files \ TopoFusion) ?

I'm not quite sure what to make of an invalid path error, but it's not surprising that it works OK too.  TF will just default to a path it knows, or find one that works.

Posting the TF diagnostic log, or emailing it to me might help.  It may show which path is causing the problem.
Scott Morris - founder and co-author of TopoFusion
email: smorris@topofusion.com

BobBailey

  • Full Member
  • ***
  • Posts: 62
    • View Profile
Re: Error 76 in frmMain in Procedure Load
« Reply #6 on: November 30, 2010, 09:39:11 AM »
Actually, this might be the problem:
C:\Program Files (x86)\TopoFusion\TopoFusion.exe
Is the path hard wired into the code?

BobBailey

  • Full Member
  • ***
  • Posts: 62
    • View Profile
Re: Error 76 in frmMain in Procedure Load
« Reply #7 on: November 30, 2010, 09:41:43 AM »
Where do I set the log option? Where do I find the resulting log?

ScottMorris

  • Administrator
  • Sr. Member
  • *****
  • Posts: 2756
  • TopoFusion Author
    • View Profile
    • http://www.topofusion.com/diary
Re: Error 76 in frmMain in Procedure Load
« Reply #8 on: November 30, 2010, 10:27:05 AM »
Hmm, it still seems like that path should be ok, but maybe the parens in it.  TF can definitely be installed in other directories than the default, but it's possible the parens are not valid for some reason.

In the shortcut group for TF there is a link to the TF diagnostic log. It should open in notepad, or whatever you have associated with text files.
Scott Morris - founder and co-author of TopoFusion
email: smorris@topofusion.com

BobBailey

  • Full Member
  • ***
  • Posts: 62
    • View Profile
Re: Error 76 in frmMain in Procedure Load
« Reply #9 on: November 30, 2010, 10:31:08 AM »
Here's the log:

TopoFusion 4.050 Log Begin
SizeChanged : Not initialized, aborting
Setting internet settings..
SizeChanged : Not initialized, aborting
GPSMaster.ocx, Initialize...
GPSMaster.ocx, Initialize...
Windows Major Version: 6
Windows Minor Version: 1
Windows Build Number : 7600
Windows Platform ID  : 2
Windows CSD Version  :
Initializing Winsock
Initializing Direct3D
Direct3D : Driver "ATI Mobility Radeon HD 5870" (atiumdag.dll)
Direct3D : Display properties - 1920x1080, Format=22, Refresh = 60
Free Texture Memory = -20971520 bytes
Direct3D : Hardware supports rendering after flips (is relatively fast)
Direct3D : Hardware supports at least DX7
Direct3D : Hardware supports at least DX9
Direct3D : Hardware supports anisotropic filtering.
Direct3D : Hardware supports ALPHA pixels in textures.
Direct3D : Hardware supports any sized textures.
Direct3D : Hardware doesn't support antialiased lines.
Direct3D : Hardware supports alpha blended lines.
Direct3D : Hardware supports textured lines.
Direct3D : Maximum Texture Width: 16384
Direct3D : Maximum Texture Height: 16384
Color Info : Sizes : R=8, G=8, B=8
Color Info : Shifts : R=16, G=8, B=0
Direct3D : Hardware supports color conversion.
Direct3D : Hardware supports compressed textures DXT1.
Creating Surfaces (1114 x 542)
Creating Resource Tiles....
Creating Sprites
No custom sprites.bmp file found in default tracks dir, using standard.
No custom symbols.bmp file found in default tracks dir, using standard.
Successfully Created Surfaces
Initializing Memory Pool
Total Physical Memory: -1
Physical Memory Free: -1
Memory Load: 34 percent
Tile Cache Size = 2000
initMemoryPool: using DXT1 compression
Free Texture Memory = -23068672 bytes
Initializing Threads
Initializing Index File
Sorting Index File.  Number of entries: 44
Time to sort index file: 0.00 seconds
Initialization Complete

DirectX shutdown, resources freed.  Frames = 4

BobBailey

  • Full Member
  • ***
  • Posts: 62
    • View Profile
Re: Error 76 in frmMain in Procedure Load
« Reply #10 on: November 30, 2010, 10:32:49 AM »
The (x86) is a standard directory in win7. I could try installing it elsewhere. The install process defaulted to x86, I did not make that choice.

BobBailey

  • Full Member
  • ***
  • Posts: 62
    • View Profile
Re: Error 76 in frmMain in Procedure Load
« Reply #11 on: November 30, 2010, 04:07:33 PM »
Just for grins I uninstalled everything and re-installed TF in the main directory:
"C:\Program Files\TopoFusion\TopoFusion.exe"

Unfortunately, the same results.

...Bob

BobBailey

  • Full Member
  • ***
  • Posts: 62
    • View Profile
Re: Error 76 in frmMain in Procedure Load
« Reply #12 on: November 30, 2010, 05:03:57 PM »
Another interesting factoid (whatever that is, where do these words come from?):
The logo splash is still up when I minimize TF.

ScottMorris

  • Administrator
  • Sr. Member
  • *****
  • Posts: 2756
  • TopoFusion Author
    • View Profile
    • http://www.topofusion.com/diary
Re: Error 76 in frmMain in Procedure Load
« Reply #13 on: December 01, 2010, 02:06:10 PM »
I'm still stumped on this one.  We could try to find the line number it's failing on. 

So every time you restart it, it still asks for your code?

This is so strange since it's a new install.  It almost seems like two different TF installs conflicting with each other...
Scott Morris - founder and co-author of TopoFusion
email: smorris@topofusion.com

BobBailey

  • Full Member
  • ***
  • Posts: 62
    • View Profile
Re: Error 76 in frmMain in Procedure Load
« Reply #14 on: December 01, 2010, 02:52:37 PM »
Every time I restart it asks for the code.

This is a new box, less than a month old. Since it was win 7 64bit I did not even try to install the old TF that I had.

One thing I can try is to download the install again and do a binary compare against the one that I've been using.

Failing that, what would you like for me to do next?

Is it possible that I need to RUN it as admin? Remember, win 7 needs elevation (pun not intended) for some chores.

BobBailey

  • Full Member
  • ***
  • Posts: 62
    • View Profile
Re: Error 76 in frmMain in Procedure Load
« Reply #15 on: December 01, 2010, 02:55:19 PM »
Is it possible that I need to RUN it as admin? Remember, win 7 needs elevation (pun not intended) for some chores.

Never mind, just tried this. Same results.

BobBailey

  • Full Member
  • ***
  • Posts: 62
    • View Profile
Re: Error 76 in frmMain in Procedure Load
« Reply #16 on: December 01, 2010, 04:58:26 PM »
At one point I did something, and I can't remember what, that "moved" my data to D:
Somehow the path ended up being D:\\ instead of D:\

The path to "My TopoFusion Files" ended up with that extra \. Once I changed the path to "D:\My TopoFusion Files" the problem went away.

Now, all I have to do is figure out where this is set before it propagates. I already have the problem in one other application. (Any help is welcome.)

My apologies for any wheelspinning that I have caused you.

...Bob

ScottMorris

  • Administrator
  • Sr. Member
  • *****
  • Posts: 2756
  • TopoFusion Author
    • View Profile
    • http://www.topofusion.com/diary
Re: Error 76 in frmMain in Procedure Load
« Reply #17 on: December 02, 2010, 02:07:05 PM »
Wow, how strange.  I can't think of how an extra slash would get in there.  Were you editing the .ini file manually?  If you let windows choose the various paths it should be OK.

It's propagating to other software, or just within TF?  Just make sure all paths in the .ini file only have one slash and that should stop it.

No worries on the trouble - I like spinning wheels, remember?  (on a bike, that is)
Scott Morris - founder and co-author of TopoFusion
email: smorris@topofusion.com

BobBailey

  • Full Member
  • ***
  • Posts: 62
    • View Profile
Re: Error 76 in frmMain in Procedure Load
« Reply #18 on: December 02, 2010, 03:01:10 PM »
Nope, did not edit anything manually. But... What was in there was D:\ and so if the path composer had a \ in front of it, voila, the concatenation is double-slashed.

I have only seen this in one other application.

If I remember what I did to get there I'll let you know.