WMStubDRM.lib error
WMPTalk.com Forum Index WMPTalk.com
Discuss Windows Media Player
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web wmptalk.com
WMStubDRM.lib error

 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> SDK
Author Message
Taurus Sun
Guest





Posted: Wed Oct 13, 2004 5:43 am    Post subject: WMStubDRM.lib error Reply with quote

I'm re-posting this message because nobody reply my previous message on Sep 22.

I'm getting the following error while trying to compile the DRMShow sample.
Anybody know what happen?

The DRM library that i got from microsoft is "WMStubDRM_34313.lib"

Linking...
wmstubdrm.lib(cpu.obj) : error LNK2001: unresolved external symbol __SEH_epilog
wmstubdrm.lib(cpu.obj) : error LNK2001: unresolved external symbol __SEH_prolog
Release/DRMShow.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.

DRMShow.exe - 3 error(s), 0 warning(s)


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.773 / Virus Database: 520 - Release Date: 10/5/2004

Back to top
Iain
Guest





Posted: Wed Oct 13, 2004 12:26 pm    Post subject: Re: WMStubDRM.lib error Reply with quote

On Wed, 13 Oct 2004 09:43:01 +0800, Taurus Sun wrote:

Quote:
I'm re-posting this message because nobody reply my previous message on Sep 22.

I'm getting the following error while trying to compile the DRMShow sample.
Anybody know what happen?

The DRM library that i got from microsoft is "WMStubDRM_34313.lib"

Linking...
wmstubdrm.lib(cpu.obj) : error LNK2001: unresolved external symbol __SEH_epilog
wmstubdrm.lib(cpu.obj) : error LNK2001: unresolved external symbol __SEH_prolog
Release/DRMShow.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.

DRMShow.exe - 3 error(s), 0 warning(s)

The thing that is unresolved looks to be a Structured exception handler
epilog and prolog.

You *Might* need to enable structured exception handling in the compilation
which will bring these in.

You may also wish to check structured exception handling in the docs. (My
DRM stuff is V 7 - it works don't fix it and I have never seen this. It
may be that it's a later artifact or that my compilation settings (stolen
from a sample) have always just been right.

DO you get the same error when linking with the normal wmstub?.

Do you get the same error when linking other samples with or without the
drm version?

Iain
Back to top
Taurus Sun
Guest





Posted: Wed Oct 13, 2004 12:41 pm    Post subject: Re: WMStubDRM.lib error Reply with quote

Quote:
DO you get the same error when linking with the normal wmstub?.

I don't get any error when linking with the normal wmstub.
It is WMF9 requirement that to link WMStubDRM.lib, else will get runtime error. I tried that.

Quote:
Do you get the same error when linking other samples with or without the
drm version?
It throws me the error as long as i link WMStubDRM.lib.


I heard somebody said that we need to use Visual Studio.NET to compile DRM9 stuff?
I hope this is not true. Can't we use Visual Studio 6?


"Iain" <IainXXX@idcl.co.uk> wrote in message news:zc2r15g69og2.ot3bl1r03n82.dlg@40tude.net...
Quote:
On Wed, 13 Oct 2004 09:43:01 +0800, Taurus Sun wrote:

I'm re-posting this message because nobody reply my previous message on Sep 22.

I'm getting the following error while trying to compile the DRMShow sample.
Anybody know what happen?

The DRM library that i got from microsoft is "WMStubDRM_34313.lib"

Linking...
wmstubdrm.lib(cpu.obj) : error LNK2001: unresolved external symbol __SEH_epilog
wmstubdrm.lib(cpu.obj) : error LNK2001: unresolved external symbol __SEH_prolog
Release/DRMShow.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.

DRMShow.exe - 3 error(s), 0 warning(s)

The thing that is unresolved looks to be a Structured exception handler
epilog and prolog.

You *Might* need to enable structured exception handling in the compilation
which will bring these in.

You may also wish to check structured exception handling in the docs. (My
DRM stuff is V 7 - it works don't fix it and I have never seen this. It
may be that it's a later artifact or that my compilation settings (stolen
from a sample) have always just been right.

DO you get the same error when linking with the normal wmstub?.

Do you get the same error when linking other samples with or without the
drm version?

Iain


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.773 / Virus Database: 520 - Release Date: 10/5/2004

Back to top
Iain
Guest





Posted: Wed Oct 13, 2004 2:48 pm    Post subject: Re: WMStubDRM.lib error Reply with quote

On Wed, 13 Oct 2004 16:41:47 +0800, Taurus Sun wrote:

Quote:
DO you get the same error when linking with the normal wmstub?.

I don't get any error when linking with the normal wmstub.
It is WMF9 requirement that to link WMStubDRM.lib, else will get runtime error. I tried that.

Do you get the same error when linking other samples with or without the
drm version?
It throws me the error as long as i link WMStubDRM.lib.

I heard somebody said that we need to use Visual Studio.NET to compile DRM9 stuff?
I hope this is not true. Can't we use Visual Studio 6?

I see no reason to think you need VS.NET to make this work. It would
surprise me.

Have you followed up the Structured Exception Handling path?
Iain
Back to top
 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> SDK All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Microsoft Office Forum New Topics
Powered by phpBB