Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Problem about error code 0x80070078

82 views
Skip to first unread message

Igor Tandetnik

unread,
Mar 8, 2006, 9:25:01 PM3/8/06
to
"Kun Niu" <Kun...@discussions.microsoft.com> wrote in message
news:C2D8BB80-671A-4204...@microsoft.com
> I just wrote an Activex using atl7.1.
> It works fine on Windows2000 and Windows XP.
> But when moved to Windows98, regsvr32 returned the error code
> 0x80070078.

That would be ERROR_CALL_NOT_IMPLEMENTED "This function is not supported
on this system."

You are calling some NT-only API. Have you built a Unicode build, by any
chance? Those don't work on Win9x systems.

> What function which caused the problem might I use?

Debug under Win98, find out.
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


Alexander Nickolov

unread,
Mar 8, 2006, 9:57:11 PM3/8/06
to
In most cases MSLU should bridge the UNICODE code to the
ANSI OS functions in Win9x. You need to link against unicows.lib
before any other system importlibs, but after all user libs. You may
need to ignore all default libs and introduce them separately.

--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnic...@mvps.org
MVP VC FAQ: http://www.mvps.org/vcfaq
=====================================

"Igor Tandetnik" <itand...@mvps.org> wrote in message
news:u1PrmCyQ...@TK2MSFTNGP14.phx.gbl...

Kun Niu

unread,
Mar 9, 2006, 8:36:07 PM3/9/06
to
Thank you for your instant reply.
It really makes me feel doubtful that it works on Win9x originally.
But after I added some picture drawing API, it fails.
Then I delete the api,
But still it won't work for me.:(
I really build the project with unicode support.
I'll try delete the support later.

And thanks again for your reply.

“Igor Tandetnik”编写:

Kun Niu

unread,
Mar 9, 2006, 8:37:23 PM3/9/06
to
Thank you for your instant reply.

I tried as you said.
But unfortunately, it failed to work.
I got the error code 0x80070078 once again.
Thanks again for your reply.

“Alexander Nickolov”编写:

Alexander Nickolov

unread,
Mar 10, 2006, 12:38:43 PM3/10/06
to
You can try using ANSI builds instead of UNICODE... Still,
for the majority of Win32 API functions MSLU works alright.
BTW, don't forget to distribute unicows.dll, otherwise it's not
going to work - it'll silently fail. Just put it alongside your
executable.

--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnic...@mvps.org
MVP VC FAQ: http://www.mvps.org/vcfaq
=====================================

"Kun Niu" <Kun...@discussions.microsoft.com> wrote in message
news:1D922A57-978E-4ECF...@microsoft.com...


> Thank you for your instant reply.
>
> I tried as you said.
> But unfortunately, it failed to work.
> I got the error code 0x80070078 once again.
> Thanks again for your reply.
>

> "Alexander Nickolov"??:

Kun Niu

unread,
Mar 12, 2006, 9:35:27 PM3/12/06
to
Thank you for your kind help.

I did as you said.

And I found another problem when registering my dll with regsvr32.

The error code is 0x00000485, ERROR_DLL_NOT_FOUND.

And I checked the error with dependency walker.
The following dll missed:

APPHELP.DLL AUTHZ.DLL DNSAPI.DLL NTDSAPI.DLL NTLANMAN.DLL

But I didn't use any network related api.
How can I remove the dependency of my dll on these dll?

Thanks very much again for your reply.

“Alexander Nickolov”编写:

Alexander Nickolov

unread,
Mar 13, 2006, 12:39:18 PM3/13/06
to
What exactly does your DLL do? There are a bunch of NT-
specific DLLs listed in your post. Note that as of VC 7.0
Microsoft no longer maintains compilation compatibility with
Win9x, so it's up to you to ensure it. You may have to discard
ATL and MFC in order to achieve that...

--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnic...@mvps.org
MVP VC FAQ: http://www.mvps.org/vcfaq
=====================================

"Kun Niu" <Kun...@discussions.microsoft.com> wrote in message

news:D02D0C99-17F4-46D5...@microsoft.com...


> Thank you for your kind help.
>
> I did as you said.
>
> And I found another problem when registering my dll with regsvr32.
>
> The error code is 0x00000485, ERROR_DLL_NOT_FOUND.
>
> And I checked the error with dependency walker.
> The following dll missed:
>
> APPHELP.DLL AUTHZ.DLL DNSAPI.DLL NTDSAPI.DLL NTLANMAN.DLL
>
> But I didn't use any network related api.
> How can I remove the dependency of my dll on these dll?
>
> Thanks very much again for your reply.
>

> "Alexander Nickolov"??:

Kun Niu

unread,
Mar 17, 2006, 10:36:27 PM3/17/06
to
Thank you for your reply.
It's a web based mp3 recorder.:)
Exactly, a MessageBox's problem:(
And now it's been solved.:)

Really appreciate you for your help.

“Alexander Nickolov”编写:

0 new messages