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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dll register error 1

Status
Not open for further replies.

ramkumars

Programmer
Aug 2, 2001
31
IN
Hi,

I get the following error when i try to register my VC++ dll

Debug assertion failed!
Program: C:\WINNT\system32\REGSVR32.exe
File: filecore.cpp
Line: 258
.................

When i tried to register on a different machine, there was no problem.

Can anybody tell me how i can get rid of this problem
Regards,
Ramkumar
 
are you trying to do it on a different OS?

Ion Filipski
1c.bmp

ICQ: 95034075
AIM: IonFilipski
filipski@excite.com
 
It seems you have some not installed programs or .dll on one of your computers.

Ion Filipski
1c.bmp

ICQ: 95034075
AIM: IonFilipski
filipski@excite.com
 
Ok,

Is there any way i can find out which are the missing programs or .dll

(i tried to make both the systems similar as much as possible)
 
At the first you sould look in ControlPanel->AddRemove***

Ion Filipski
1c.bmp

ICQ: 95034075
AIM: IonFilipski
filipski@excite.com
 
by the way, chack your windows updates, service packs, .NET framework ...

Ion Filipski
1c.bmp

ICQ: 95034075
AIM: IonFilipski
filipski@excite.com
 
The assertion failure:
Code:
LONG CFile::Seek(LONG lOff, UINT nFrom)
{
	ASSERT_VALID(this);
	ASSERT(m_hFile != (UINT)hFileNull);

Are you sure its not an error in your DLL?
Have you tested the DLL by using the debugger?
Does the DLL expose a COM interface or is it a plain DLL (for which regsvr32 isn't applicable)?

/Per

if (typos) cout << &quot;My fingers are faster than my brain. Sorry for the typos.&quot;;
 
>PerFnurt, look:
....When i tried to register on a different machine, there was no problem.....
...Both the OS are same (Win 2K)....

Ion Filipski
1c.bmp

ICQ: 95034075
AIM: IonFilipski
filipski@excite.com
 
>Is there any way i can find out which are the missing programs or .dll

Use the Visual Studio tool View Dependancies on your .dll, and see what modules it uses. You'll see if anyone is missing.

/Per

if (typos) cout << &quot;My fingers are faster than my brain. Sorry for the typos.&quot;;
 
I installed SP4 and now the dll is registering without any problems.

But i have to mention that the other machine on which i registered the dll still has the SP3. So i think that i may have changed some setting (or something else) on my machine, but when i installed SP4, it corrected that.

BTW, the dll exposes a COM interface and supports connection points.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top