Error: “an unknown error occurred while loading Tm.exe. shutting down”

I have a client who just bought a laptop with Win 7-32-bit and he gets ‘an unknown error occurred loading TeleMagic. Shutting down.’

[protected]

Most common error has to do with the fax driver, or the fact that the user doesn’t have rights to update files in the system32 folder.

Check to make sure you have admin rights on the machine, for the first time you run TM.

Log in as the administrator, and run  the copy/register. After that is done, try it again.

When you install TM5 on a W7 or W Server 2008 you must copy from somewhere the telemagic folder that is in c:\program files\telemagic

There are fax files and folder in there that does not get created on install.  If it is a 64 bit OS you would copy it over to the c:\program files (x86) folder.

This telemagic folder is often overlooked because on a XP install we never notice it is there.

If this is a Terminal Services installation, set the Check System Files to N in TM.INI

[/protected]

TeleMagic and 64 bit Windows

Getting TM working on a Windows 7 64-bit computer is very tricky.

[protected]

The trick is to enable the local Administrator account, change the password of the local Administrator to match the server’s Administrator password, then do the entire workstation setup as Administrator.  Once TM is running, disable the local Administrator.

Just built a new system with 64-bit W7 Pro, turned off UAC, created the TM print driver and the TeleMagic folder in Program Files, then did a copy/paste of the TM folder to the new system.  TM fired off with no problems.

TM5 SP4 runs fine standalone on my Win 7 64 bit installation.

Need to live with or address the Faxdriver issue on startup.  Issues I had which I thought were Win 7 security UAC etc turned out to be Kaspersky antivirus.

Just in case anyone is doing anything with TM and ODBC. Microsoft’s ODBC drivers do not work in a 64 bit environment. However you can get the Advantage Database VFP ODBC drivers from Advantage for free and they work just fine with a 64 bit OS.

Here is more information and also some talk in the comments section on the
Advantage ODBC driver.

Open any DBF file with a 64 bit machine in Excel you will probably have a problem as the VFP ODBC drivers don’t work in windows 64 bit.

Windows 7 64-bit is great but stick with Office 32-bit. The ONLY reason for a 64-bit version of Office is to work on very HUGE documents.

TeleMagic DOS

TeleMagic DOS does not work on any 64-bit computers as no DOS programs work on a 64-bit computer. However, it will work under a 32 bit OS (WinXP Pro SP3) and a 64 bit chip under a VMWare image.

[/protected]

Using INLIST()

INLIST() can be used in Calculated Fields and Filters to test for a number of values in one expression. INLIST() will produce a .T. or .F. answer.

  • This expression test how long a contact has been registered, 155 days, 515 days etc.:
    INLIST(contact1.startdate,  DATE()-155, DATE()-515, DATE()-880, DATE()-1245, DATE()-1610, DATE()-1975)
  • Sales Rep Territory Assignment. By stringing the IIF() statements together you will have a pretty good:
    if … then … else …
    iif(inlist(upper(contact1.stat),”AZ”,”CO”,”DE”,”MN”,”MO”,”ID”,”CN”), “TST”,iif(inlist(etc…))
  • This is a calculation for the REGION field. It automatically assigns 3 territories: East, Canada, and International.
    iif(inlist(upper(contact1.sta), ‘PR’, ‘VI’, ‘MA’, ‘RI’, ‘NH’, ‘ME’, ‘VT’, ‘CT’, ‘NJ’, ‘PA’, ‘NY’, ‘DE’, ‘DC’, ‘MD’, ‘VA’, ‘WV’, ‘NC’, ‘SC’, ‘GA’, ‘FL’, ‘OH’), “East”, iif(inlist(upper(contact1.sta), ‘AL’, ‘TN’, ‘MS’, ‘KY’, ‘IN’, ‘MI’, ‘IA’, ‘WI’, ‘MN’, ‘SD’, ‘ND’, ‘IL’, ‘MO’, ‘KS’, ‘NE’, ‘LA’ “CANADA”, “International”, iif(upper(contact1.country) = “CANADA”, “Canada”,””)))))
  • This expression would do two things. Calculate the level two EXPENSES and only do it for certain types (Ads, Travel). Example calculated expression for level 1 field:
    ChildSum(‘contact2.expenses’,’inlist(upper(contact2.jobtype),”ADS”, “TRAVEL”)’)
  • Here’s an IIF() expression with INLIST() testing on different zip codes:
    iif(inlist(contact1.zip, ‘91831’, ‘91832’, ‘91880’, ‘91881’, ‘90025’), ‘DMP’, ‘CAP’)
  • This would return a D if the zip code was between 10000 and 20000, and an M otherwise:
    iif(between(left(contact1.zipcode,5),’10000′,’20000′),”D’,’M’)

TeleMagic Fax driver

TeleMagic Fax Driver Install Workaround

[protected]

  1. Open the Control Panel & select Printers & Faxes
  2. Add a new LOCAL printer for this PC
  3. Assign it to LPT3
  4. Select GENERIC and “Generic/Text” printer driver
  5. Name it exactly “TeleMagic Fax 35” including spaces & capitalization!!!!
  6. Select to Not Share this printer
  7. Select option to not have it the default printer
  8. Grant all users full rights to this printer

Do you have the TeleMagic Fax printer already installed, from running it locally? If not, try creating a printer called TeleMagic Fax 35, and granting full rights to everyone.

If so, and that doesn’t work, you can CAREFULLY remove the fax driver file from the tmsys.ini file, and from the programs folder. Remember, you will probably have to renumber the items in tmsys.ini, as you can’t have any gaps in the file numbers.

The two items I would start with would be FM3032.exe and FM3232d.dll. If they have already tried running TeleMagic, check the system32 folder, to make sure the fax driver files aren’t there, either.

An existing TM install has a TeleMagic folder in c:\program files\telemagic that has some fax files in it.  These do not install in W7 but you can manually copy them over.  On a 64 bit machine I’d copy them to the Program Files (x86) folder.

[/protected]