| Author |
Message |
Taurus Sun
Guest
|
Posted:
Wed Oct 13, 2004 5:43 am Post subject:
WMStubDRM.lib error |
|
|
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 |
|
|
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 |
|
|
| 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 |
|
|
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 |
|
 |
|
|
|
|