Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Class not registered error 2

Status
Not open for further replies.

Wings

Programmer
Feb 14, 2002
247
US
Hi,
When I attempt to run my application on a system that does not have borland installed, I get an error stating that "Class is not registered". In my project options, I have unchecked "build with runtime packages" and "use dynamic rtl"

Where should I look first?
 
Try a tdump. You use something like "tdump -em. myproject.exe" at the command prompt. This should show you all the DLLs needed by your program. Compare the list to what is on the client machine (using find or something similar) and see what is missing.


James P. Cottingham

When a man sits with a pretty girl for an hour, it seems like a minute. But let him sit on a hot stove for a minute and it's longer than any hour. That's relativity.
[tab][tab]Albert Einstein explaining his Theory of Relativity to a group of journalists.
 
I did as suggested, and the following files were listed
ADVAPI32.DLL
KERNEL32.DLL
VERSION.DLL
WINSPOOL.DRV
COMCTL32.DLL
COMDLG32.DLL
GDI32.DLL
USER32.DLL
OLE32.DLL
OLEAUT32.DLL
The majority of them seem to be system files. Any other suggestions would be appreciated.
 
OLE stuff... it seems you are running some non-registered component which is using OLE automation and is not shown because it is linked into exe. Try building with run-time components first, then try to isolate "suspicious" one, and maybe use regsrv32 on it...
Just a guess... ;)
 
Thanks for the help. It was a third party dll that had not been registered. You pointed me in the right direction.
 
are you using BDE components if yes then the Client PC must have BDE .
AS am also facing the problem that I have replaced all BDE components with IBX to make the application Standalone and the application works but gives error when I call the DLL which do I/O with Excel. the Control returns properly from DLL but whn I close the main application it gives "EAccessViolation error" in GETMEM.INC file any suggestion
I am using BC++ 6.0 and Interbase 6.0 and I want to make the application Standalone

Regards
Anil
 
Actually, I believe that inorder to use the database components, you simply have to bundle the following dll's with you executable.

bantam.dll
idapi32.dll
idodbc32.dll
idr20009.dll

These always worked for me.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top