www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

c++.windows.32-bits - Problems using D3DX8.LIB provided with the M$ DX81SDK

↑ ↓ ← Chris <Chris_member pathlink.com> writes:
I've converted the d3dx8.lib with coff2omf but get many, many undefined symbol
undefined errors during linking stage:
F.e.:

F:\DM\BIN\..\lib\d3dx8.lib(cd3dximage)
Error 42: Symbol Undefined __CIpow

Searched in DM's shipped libs for 'CIpow' hasn't successed. In M$ LIBC.LIB is
this function, but if I converted this and linked it additionaly I get
many, many previous definition different errors:


OPTLINK (R) for Win32  Release 7.50B1
Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved

F:\DM\BIN\..\lib\d3dx8.lib(d3dx8tex)  Offset 0308FH Record Type 00C3 
Error 1: Previous Definition Different : .file
F:\DM\BIN\..\lib\d3dx8.lib(d3dx8tex)  Offset 0571DH Record Type 00C3 
Error 1: Previous Definition Different : .file
F:\DM\BIN\..\lib\d3dx8.lib(d3dx8tex)  Offset 0286DH Record Type 00C3 
Error 1: Previous Definition Different : .file
F:\DM\BIN\..\lib\d3dx8.lib(cd3dxassembler)  Offset 03A98H Record Type 00C3 
Error 1: Previous Definition Different : .file
F:\DM\BIN\..\lib\d3dx8.lib(cd3dxassembler)  Offset 039A6H Record Type 00C3 
Error 1: Previous Definition Different : .file
F:\DM\BIN\..\lib\d3dx8.lib(cd3dxblt)  Offset 02ADDH Record Type 00C3 
Error 1: Previous Definition Different : .file
F:\DM\BIN\..\lib\d3dx8.lib(cd3dxblt)  Offset 02DADH Record Type 00C3 
Error 1: Previous Definition Different : .file
F:\DM\BIN\..\lib\d3dx8.lib(cd3dxblt)  Offset 0309AH Record Type 00C3 
Error 1: Previous Definition Different : .file
F:\DM\BIN\..\lib\d3dx8.lib(cd3dxblt)  Offset 03636H Record Type 00C3 
Error 1: Previous Definition Different : .file
F:\DM\BIN\..\lib\d3dx8.lib(cd3dxblt)  Offset 03BFBH Record Type 00C3 
Error 1: Previous Definition Different : .file
F:\DM\BIN\..\lib\d3dx8.lib(cd3dxblt)  Offset 04242H Record Type 00C3 
Error 1: Previous Definition Different : .file
F:\DM\BIN\..\lib\d3dx8.lib(cd3dxblt)  Offset 04A83H Record Type 00C3 
Error 1: Previous Definition Different : .file
F:\DM\BIN\..\lib\d3dx8.lib(cd3dxblt)  Offset 04F35H Record Type 00C3 
Error 1: Previous Definition Different : .file
F:\DM\BIN\..\lib\d3dx8.lib(cd3dxcodec)  Offset 05C37H Record Type 00C3 
Error 1: Previous Definition Different : .file
F:\DM\BIN\..\lib\d3dx8.lib(cd3dxcodec)  Offset 020C5H Record Type 00C3 
Error 1: Previous Definition Different : .file
F:\DM\BIN\..\lib\d3dx8.lib(cd3dxcodec)  Offset 01F87H Record Type 00C3 
Error 1: Previous Definition Different : .file
F:\DM\BIN\..\lib\d3dx8.lib(cd3dxcodec)  Offset 04BCCH Record Type 00C3 
Error 1: Previous Definition Different : .file
F:\DM\BIN\..\lib\d3dx8.lib(cd3dxcodec)  Offset 05575H Record Type 00C3 
Error 1: Previous Definition Different : .file
F:\DM\BIN\..\lib\d3dx8.lib(cd3dxcodec)  Offset 02058H Record Type 00C3 
Error 1: Previous Definition Different : .file
libci.lib
Warning 2: File Not Found libci.lib
libcp.lib
Warning 2: File Not Found libcp.lib
F:\DM\BIN\..\lib\SNN.lib(asin)  Offset 03F80H Record Type 00C3 
Error 1: Previous Definition Different : _acos
F:\DM\BIN\..\lib\SNN.lib(cinit)  Offset 026FCH Record Type 0090 
Error 1: Previous Definition Different : _errno
F:\DM\BIN\..\lib\SNN.lib(cinit)  Offset 027EFH Record Type 0090 
Error 1: Previous Definition Different : __cinit
F:\DM\BIN\..\lib\SNN.lib(cinit)  Offset 02800H Record Type 0090 
Error 1: Previous Definition Different : ___argc
F:\DM\BIN\..\lib\SNN.lib(cinit)  Offset 02816H Record Type 0090 
Error 1: Previous Definition Different : __osver
F:\DM\BIN\..\lib\SNN.lib(cinit)  Offset 02821H Record Type 0090 
Error 1: Previous Definition Different : ___argv
F:\DM\BIN\..\lib\SNN.lib(cinit)  Offset 02851H Record Type 0090 
Error 1: Previous Definition Different : __pgmptr
F:\DM\BIN\..\lib\SNN.lib(cinit)  Offset 0285DH Record Type 0090 
Error 1: Previous Definition Different : __winver
F:\DM\BIN\..\lib\SNN.lib(cinit)  Offset 02875H Record Type 0090 
Error 1: Previous Definition Different : ___wargv
F:\DM\BIN\..\lib\SNN.lib(cinit)  Offset 028C2H Record Type 0090 
Error 1: Previous Definition Different : __wpgmptr
F:\DM\BIN\..\lib\SNN.lib(cinit)  Offset 028CFH Record Type 0090 
Error 1: Previous Definition Different : __wenvptr
F:\DM\BIN\..\lib\SNN.lib(cinit)  Offset 028DDH Record Type 0090 
Error 1: Previous Definition Different : __winmajor
F:\DM\BIN\..\lib\SNN.lib(cinit)  Offset 028EBH Record Type 0090 
Error 1: Previous Definition Different : __doserrno
F:\DM\BIN\..\lib\SNN.lib(cinit)  Offset 02907H Record Type 0090 
Error 1: Previous Definition Different : __winminor
F:\DM\BIN\..\lib\SNN.lib(_handler)  Offset 03D78H Record Type 00C3 
Error 1: Previous Definition Different : ?_set_new_handler  YAP6AHI ZP6AHI Z Z
(int cdecl (*)(unsigned )cdecl _set_new_handler(int cdecl (*)(unsigned )))
F:\DM\BIN\..\lib\SNN.lib(except)  Offset 0207EH Record Type 00C3 
Error 1: Previous Definition Different : ?terminate  YAXXZ (void cdecl
terminate(void ))
F:\DM\BIN\..\lib\SNN.lib(except)  Offset 02130H Record Type 00C3 
Error 1: Previous Definition Different : ?unexpected  YAXXZ (void cdecl
unexpected(void ))
F:\DM\BIN\..\lib\SNN.lib(ehsup)  Offset 04BBAH Record Type 00C3 
Error 1: Previous Definition Different : __local_unwind2
F:\DM\BIN\..\lib\SNN.lib(ehsup)  Offset 04BD7H Record Type 00C3 
Error 1: Previous Definition Different : __abnormal_termination
F:\DM\BIN\..\lib\d3dx8.lib(d3dx8dbg) 
Error 42: Symbol Undefined ?pDSM_D3D8D ?1??D3DXDebugMute  YAXH Z (void cdecl
?1??D3DXDebugMute::pDSM_D3D8D(int ))
F:\DM\BIN\..\lib\d3dx8.lib(d3dx8dbg) 
Error 42: Symbol Undefined ?pDSM_D3D8 ?1??D3DXDebugMute  YAXH Z (void cdecl
?1??D3DXDebugMute::pDSM_D3D8(int ))

What are libcp.lib and libci.lib good for?

I succesfully linked my program with the d3dx8d.lib, but this is a dynamic(??)
lib what means the finally created program uses the d3dx8d.dll for running. 
That's no way for me. 

1) Is there a way to use (convert) M$ static libs in DM?
2) Is there a way to turn off for-scoping, that means:

for (int i=0; i<=9; i++)
{
}
if (i==9) then i=0;               <-- i is still visible here

In most M$-examples they use this although it's not standard conform, isn't it?

I had to do manually:

int i;
for (i=0; i<=9; i++)
{
}
if (i==9) then i=0;


Kind regards
Chris
Dec 28 2002
↑ ↓ "Phil Thompson" <phil electricvisions.com> writes:
Hi Chris, sorry I can't answer your question but I was wondering if you ever
managed to get it working. I might be doing some DX at some point in the
future and so if you got it working it would be nice to know. Of course DX9
is out now so you'll have to start again :)

Cheers,
Phil


"Chris" <Chris_member pathlink.com> wrote in message
news:auljcd$1vq3$1 digitaldaemon.com...
 I've converted the d3dx8.lib with coff2omf but get many, many undefined

 undefined errors during linking stage:
 F.e.:

 F:\DM\BIN\..\lib\d3dx8.lib(cd3dximage)
 Error 42: Symbol Undefined __CIpow

 Searched in DM's shipped libs for 'CIpow' hasn't successed. In M$ LIBC.LIB

 this function, but if I converted this and linked it additionaly I get
 many, many previous definition different errors:


 OPTLINK (R) for Win32  Release 7.50B1
 Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved

 F:\DM\BIN\..\lib\d3dx8.lib(d3dx8tex)  Offset 0308FH Record Type 00C3
 Error 1: Previous Definition Different : .file
 F:\DM\BIN\..\lib\d3dx8.lib(d3dx8tex)  Offset 0571DH Record Type 00C3
 Error 1: Previous Definition Different : .file
 F:\DM\BIN\..\lib\d3dx8.lib(d3dx8tex)  Offset 0286DH Record Type 00C3
 Error 1: Previous Definition Different : .file
 F:\DM\BIN\..\lib\d3dx8.lib(cd3dxassembler)  Offset 03A98H Record Type 00C3
 Error 1: Previous Definition Different : .file
 F:\DM\BIN\..\lib\d3dx8.lib(cd3dxassembler)  Offset 039A6H Record Type 00C3
 Error 1: Previous Definition Different : .file
 F:\DM\BIN\..\lib\d3dx8.lib(cd3dxblt)  Offset 02ADDH Record Type 00C3
 Error 1: Previous Definition Different : .file
 F:\DM\BIN\..\lib\d3dx8.lib(cd3dxblt)  Offset 02DADH Record Type 00C3
 Error 1: Previous Definition Different : .file
 F:\DM\BIN\..\lib\d3dx8.lib(cd3dxblt)  Offset 0309AH Record Type 00C3
 Error 1: Previous Definition Different : .file
 F:\DM\BIN\..\lib\d3dx8.lib(cd3dxblt)  Offset 03636H Record Type 00C3
 Error 1: Previous Definition Different : .file
 F:\DM\BIN\..\lib\d3dx8.lib(cd3dxblt)  Offset 03BFBH Record Type 00C3
 Error 1: Previous Definition Different : .file
 F:\DM\BIN\..\lib\d3dx8.lib(cd3dxblt)  Offset 04242H Record Type 00C3
 Error 1: Previous Definition Different : .file
 F:\DM\BIN\..\lib\d3dx8.lib(cd3dxblt)  Offset 04A83H Record Type 00C3
 Error 1: Previous Definition Different : .file
 F:\DM\BIN\..\lib\d3dx8.lib(cd3dxblt)  Offset 04F35H Record Type 00C3
 Error 1: Previous Definition Different : .file
 F:\DM\BIN\..\lib\d3dx8.lib(cd3dxcodec)  Offset 05C37H Record Type 00C3
 Error 1: Previous Definition Different : .file
 F:\DM\BIN\..\lib\d3dx8.lib(cd3dxcodec)  Offset 020C5H Record Type 00C3
 Error 1: Previous Definition Different : .file
 F:\DM\BIN\..\lib\d3dx8.lib(cd3dxcodec)  Offset 01F87H Record Type 00C3
 Error 1: Previous Definition Different : .file
 F:\DM\BIN\..\lib\d3dx8.lib(cd3dxcodec)  Offset 04BCCH Record Type 00C3
 Error 1: Previous Definition Different : .file
 F:\DM\BIN\..\lib\d3dx8.lib(cd3dxcodec)  Offset 05575H Record Type 00C3
 Error 1: Previous Definition Different : .file
 F:\DM\BIN\..\lib\d3dx8.lib(cd3dxcodec)  Offset 02058H Record Type 00C3
 Error 1: Previous Definition Different : .file
 libci.lib
 Warning 2: File Not Found libci.lib
 libcp.lib
 Warning 2: File Not Found libcp.lib
 F:\DM\BIN\..\lib\SNN.lib(asin)  Offset 03F80H Record Type 00C3
 Error 1: Previous Definition Different : _acos
 F:\DM\BIN\..\lib\SNN.lib(cinit)  Offset 026FCH Record Type 0090
 Error 1: Previous Definition Different : _errno
 F:\DM\BIN\..\lib\SNN.lib(cinit)  Offset 027EFH Record Type 0090
 Error 1: Previous Definition Different : __cinit
 F:\DM\BIN\..\lib\SNN.lib(cinit)  Offset 02800H Record Type 0090
 Error 1: Previous Definition Different : ___argc
 F:\DM\BIN\..\lib\SNN.lib(cinit)  Offset 02816H Record Type 0090
 Error 1: Previous Definition Different : __osver
 F:\DM\BIN\..\lib\SNN.lib(cinit)  Offset 02821H Record Type 0090
 Error 1: Previous Definition Different : ___argv
 F:\DM\BIN\..\lib\SNN.lib(cinit)  Offset 02851H Record Type 0090
 Error 1: Previous Definition Different : __pgmptr
 F:\DM\BIN\..\lib\SNN.lib(cinit)  Offset 0285DH Record Type 0090
 Error 1: Previous Definition Different : __winver
 F:\DM\BIN\..\lib\SNN.lib(cinit)  Offset 02875H Record Type 0090
 Error 1: Previous Definition Different : ___wargv
 F:\DM\BIN\..\lib\SNN.lib(cinit)  Offset 028C2H Record Type 0090
 Error 1: Previous Definition Different : __wpgmptr
 F:\DM\BIN\..\lib\SNN.lib(cinit)  Offset 028CFH Record Type 0090
 Error 1: Previous Definition Different : __wenvptr
 F:\DM\BIN\..\lib\SNN.lib(cinit)  Offset 028DDH Record Type 0090
 Error 1: Previous Definition Different : __winmajor
 F:\DM\BIN\..\lib\SNN.lib(cinit)  Offset 028EBH Record Type 0090
 Error 1: Previous Definition Different : __doserrno
 F:\DM\BIN\..\lib\SNN.lib(cinit)  Offset 02907H Record Type 0090
 Error 1: Previous Definition Different : __winminor
 F:\DM\BIN\..\lib\SNN.lib(_handler)  Offset 03D78H Record Type 00C3
 Error 1: Previous Definition Different :

 (int cdecl (*)(unsigned )cdecl _set_new_handler(int cdecl (*)(unsigned )))
 F:\DM\BIN\..\lib\SNN.lib(except)  Offset 0207EH Record Type 00C3
 Error 1: Previous Definition Different : ?terminate  YAXXZ (void cdecl
 terminate(void ))
 F:\DM\BIN\..\lib\SNN.lib(except)  Offset 02130H Record Type 00C3
 Error 1: Previous Definition Different : ?unexpected  YAXXZ (void cdecl
 unexpected(void ))
 F:\DM\BIN\..\lib\SNN.lib(ehsup)  Offset 04BBAH Record Type 00C3
 Error 1: Previous Definition Different : __local_unwind2
 F:\DM\BIN\..\lib\SNN.lib(ehsup)  Offset 04BD7H Record Type 00C3
 Error 1: Previous Definition Different : __abnormal_termination
 F:\DM\BIN\..\lib\d3dx8.lib(d3dx8dbg)
 Error 42: Symbol Undefined ?pDSM_D3D8D ?1??D3DXDebugMute  YAXH Z (void

 ?1??D3DXDebugMute::pDSM_D3D8D(int ))
 F:\DM\BIN\..\lib\d3dx8.lib(d3dx8dbg)
 Error 42: Symbol Undefined ?pDSM_D3D8 ?1??D3DXDebugMute  YAXH Z (void

 ?1??D3DXDebugMute::pDSM_D3D8(int ))

 What are libcp.lib and libci.lib good for?

 I succesfully linked my program with the d3dx8d.lib, but this is a

 lib what means the finally created program uses the d3dx8d.dll for

 That's no way for me.

 1) Is there a way to use (convert) M$ static libs in DM?
 2) Is there a way to turn off for-scoping, that means:

 for (int i=0; i<=9; i++)
 {
 }
 if (i==9) then i=0;               <-- i is still visible here

 In most M$-examples they use this although it's not standard conform,

 I had to do manually:

 int i;
 for (i=0; i<=9; i++)
 {
 }
 if (i==9) then i=0;


 Kind regards
 Chris

Apr 25 2003
↑ ↓ → "Phill" <phillbert pacific.net.au> writes:
see the previous thread titled Re: Platform sdk

Phill Thorpe.


"Phil Thompson" <phil electricvisions.com> wrote in message
news:b8bau0$d3b$1 digitaldaemon.com...
 Hi Chris, sorry I can't answer your question but I was wondering if you

 managed to get it working. I might be doing some DX at some point in the
 future and so if you got it working it would be nice to know. Of course

 is out now so you'll have to start again :)

 Cheers,
 Phil


 "Chris" <Chris_member pathlink.com> wrote in message
 news:auljcd$1vq3$1 digitaldaemon.com...
 I've converted the d3dx8.lib with coff2omf but get many, many undefined

 undefined errors during linking stage:
 F.e.:

 F:\DM\BIN\..\lib\d3dx8.lib(cd3dximage)
 Error 42: Symbol Undefined __CIpow

 Searched in DM's shipped libs for 'CIpow' hasn't successed. In M$


 is
 this function, but if I converted this and linked it additionaly I get
 many, many previous definition different errors:


 OPTLINK (R) for Win32  Release 7.50B1
 Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved

 F:\DM\BIN\..\lib\d3dx8.lib(d3dx8tex)  Offset 0308FH Record Type 00C3
 Error 1: Previous Definition Different : .file
 F:\DM\BIN\..\lib\d3dx8.lib(d3dx8tex)  Offset 0571DH Record Type 00C3
 Error 1: Previous Definition Different : .file
 F:\DM\BIN\..\lib\d3dx8.lib(d3dx8tex)  Offset 0286DH Record Type 00C3
 Error 1: Previous Definition Different : .file
 F:\DM\BIN\..\lib\d3dx8.lib(cd3dxassembler)  Offset 03A98H Record Type


 Error 1: Previous Definition Different : .file
 F:\DM\BIN\..\lib\d3dx8.lib(cd3dxassembler)  Offset 039A6H Record Type


 Error 1: Previous Definition Different : .file
 F:\DM\BIN\..\lib\d3dx8.lib(cd3dxblt)  Offset 02ADDH Record Type 00C3
 Error 1: Previous Definition Different : .file
 F:\DM\BIN\..\lib\d3dx8.lib(cd3dxblt)  Offset 02DADH Record Type 00C3
 Error 1: Previous Definition Different : .file
 F:\DM\BIN\..\lib\d3dx8.lib(cd3dxblt)  Offset 0309AH Record Type 00C3
 Error 1: Previous Definition Different : .file
 F:\DM\BIN\..\lib\d3dx8.lib(cd3dxblt)  Offset 03636H Record Type 00C3
 Error 1: Previous Definition Different : .file
 F:\DM\BIN\..\lib\d3dx8.lib(cd3dxblt)  Offset 03BFBH Record Type 00C3
 Error 1: Previous Definition Different : .file
 F:\DM\BIN\..\lib\d3dx8.lib(cd3dxblt)  Offset 04242H Record Type 00C3
 Error 1: Previous Definition Different : .file
 F:\DM\BIN\..\lib\d3dx8.lib(cd3dxblt)  Offset 04A83H Record Type 00C3
 Error 1: Previous Definition Different : .file
 F:\DM\BIN\..\lib\d3dx8.lib(cd3dxblt)  Offset 04F35H Record Type 00C3
 Error 1: Previous Definition Different : .file
 F:\DM\BIN\..\lib\d3dx8.lib(cd3dxcodec)  Offset 05C37H Record Type 00C3
 Error 1: Previous Definition Different : .file
 F:\DM\BIN\..\lib\d3dx8.lib(cd3dxcodec)  Offset 020C5H Record Type 00C3
 Error 1: Previous Definition Different : .file
 F:\DM\BIN\..\lib\d3dx8.lib(cd3dxcodec)  Offset 01F87H Record Type 00C3
 Error 1: Previous Definition Different : .file
 F:\DM\BIN\..\lib\d3dx8.lib(cd3dxcodec)  Offset 04BCCH Record Type 00C3
 Error 1: Previous Definition Different : .file
 F:\DM\BIN\..\lib\d3dx8.lib(cd3dxcodec)  Offset 05575H Record Type 00C3
 Error 1: Previous Definition Different : .file
 F:\DM\BIN\..\lib\d3dx8.lib(cd3dxcodec)  Offset 02058H Record Type 00C3
 Error 1: Previous Definition Different : .file
 libci.lib
 Warning 2: File Not Found libci.lib
 libcp.lib
 Warning 2: File Not Found libcp.lib
 F:\DM\BIN\..\lib\SNN.lib(asin)  Offset 03F80H Record Type 00C3
 Error 1: Previous Definition Different : _acos
 F:\DM\BIN\..\lib\SNN.lib(cinit)  Offset 026FCH Record Type 0090
 Error 1: Previous Definition Different : _errno
 F:\DM\BIN\..\lib\SNN.lib(cinit)  Offset 027EFH Record Type 0090
 Error 1: Previous Definition Different : __cinit
 F:\DM\BIN\..\lib\SNN.lib(cinit)  Offset 02800H Record Type 0090
 Error 1: Previous Definition Different : ___argc
 F:\DM\BIN\..\lib\SNN.lib(cinit)  Offset 02816H Record Type 0090
 Error 1: Previous Definition Different : __osver
 F:\DM\BIN\..\lib\SNN.lib(cinit)  Offset 02821H Record Type 0090
 Error 1: Previous Definition Different : ___argv
 F:\DM\BIN\..\lib\SNN.lib(cinit)  Offset 02851H Record Type 0090
 Error 1: Previous Definition Different : __pgmptr
 F:\DM\BIN\..\lib\SNN.lib(cinit)  Offset 0285DH Record Type 0090
 Error 1: Previous Definition Different : __winver
 F:\DM\BIN\..\lib\SNN.lib(cinit)  Offset 02875H Record Type 0090
 Error 1: Previous Definition Different : ___wargv
 F:\DM\BIN\..\lib\SNN.lib(cinit)  Offset 028C2H Record Type 0090
 Error 1: Previous Definition Different : __wpgmptr
 F:\DM\BIN\..\lib\SNN.lib(cinit)  Offset 028CFH Record Type 0090
 Error 1: Previous Definition Different : __wenvptr
 F:\DM\BIN\..\lib\SNN.lib(cinit)  Offset 028DDH Record Type 0090
 Error 1: Previous Definition Different : __winmajor
 F:\DM\BIN\..\lib\SNN.lib(cinit)  Offset 028EBH Record Type 0090
 Error 1: Previous Definition Different : __doserrno
 F:\DM\BIN\..\lib\SNN.lib(cinit)  Offset 02907H Record Type 0090
 Error 1: Previous Definition Different : __winminor
 F:\DM\BIN\..\lib\SNN.lib(_handler)  Offset 03D78H Record Type 00C3
 Error 1: Previous Definition Different :

 (int cdecl (*)(unsigned )cdecl _set_new_handler(int cdecl


 F:\DM\BIN\..\lib\SNN.lib(except)  Offset 0207EH Record Type 00C3
 Error 1: Previous Definition Different : ?terminate  YAXXZ (void cdecl
 terminate(void ))
 F:\DM\BIN\..\lib\SNN.lib(except)  Offset 02130H Record Type 00C3
 Error 1: Previous Definition Different : ?unexpected  YAXXZ (void cdecl
 unexpected(void ))
 F:\DM\BIN\..\lib\SNN.lib(ehsup)  Offset 04BBAH Record Type 00C3
 Error 1: Previous Definition Different : __local_unwind2
 F:\DM\BIN\..\lib\SNN.lib(ehsup)  Offset 04BD7H Record Type 00C3
 Error 1: Previous Definition Different : __abnormal_termination
 F:\DM\BIN\..\lib\d3dx8.lib(d3dx8dbg)
 Error 42: Symbol Undefined ?pDSM_D3D8D ?1??D3DXDebugMute  YAXH Z (void

 ?1??D3DXDebugMute::pDSM_D3D8D(int ))
 F:\DM\BIN\..\lib\d3dx8.lib(d3dx8dbg)
 Error 42: Symbol Undefined ?pDSM_D3D8 ?1??D3DXDebugMute  YAXH Z (void

 ?1??D3DXDebugMute::pDSM_D3D8(int ))

 What are libcp.lib and libci.lib good for?

 I succesfully linked my program with the d3dx8d.lib, but this is a

 lib what means the finally created program uses the d3dx8d.dll for

 That's no way for me.

 1) Is there a way to use (convert) M$ static libs in DM?
 2) Is there a way to turn off for-scoping, that means:

 for (int i=0; i<=9; i++)
 {
 }
 if (i==9) then i=0;               <-- i is still visible here

 In most M$-examples they use this although it's not standard conform,

 I had to do manually:

 int i;
 for (i=0; i<=9; i++)
 {
 }
 if (i==9) then i=0;


 Kind regards
 Chris


Apr 25 2003