Hello Scronty

I've had no problems assembling and linking other proggy's
all compile as they should.

The only problem seems to be with the d3dx8.lib
this error pops up in every example that uses the d3dx8.lib and then I get this error:

d3dx8.lib (cd3dxbuffer.obj): error LNK2001 unresolved external symbol _IID_IUnknown
d3dx8.lib (cd3dxfont.obj): error LNK2001 unresolved external symbol _IID_IUnknown
d3dx8.lib (cd3dxsprite.obj): error LNK2001 unresolved external symbol _IID_IUnknown
d3dx8.lib (cd3dxrendertosurface.obj): error LNK2001 unresolved external symbol _IID_IUnknown
d3dx8.lib (cd3dxrendertoenvmap.obj): error LNK2001 unresolved external symbol _IID_IUnknown

:fatal error LNK1120: 1 unresolved externals

Only when I use the debug lib "d3dx8d.lib" everything compiles OK

The strange thing is, when compiling the DX81_SDK C++ examples with MS C++ v6
everything compiles OK, even with the release.lib "d3dx8.lib"

I can do my programming with the debug lib and if it's ready compile it on the other PC to the
final release state but, I like to do it all on my Laptop.

Greetz Siekmanski
Posted on 2003-08-14 04:31:19 by Siekmanski

Afternoon, S.T.A.S..



For DX8.1?
Is that an assumption, or do you actually have dx8.1 installed on a Win95 machine?

According to Microsoft information, the last version of DX capable of be *installed* on Win95 was DX8.0a .

DX8.0b , DX8.1 and DX9 cannot be *installed*.

I can't see how it could matter what extra COM support is installed if the installation program stops installing once it discovers that it's a Win95 machine.

Cheers,
Scronty


When you say Win95, do you mean 95 or 98? I have DX 9.0b on Win98osr2 and runs fine. Had to upgrade my video card drivers for it though. Before upgrade of drivers it would only run through rasteriser - very slow. Now is okay.
Posted on 2003-08-27 08:39:25 by djinn
Afternoon, djinn.

I meant *exactly* what I said :grin: . Win95.

Dx8.0a is the last version of DX able to be installed on a Win95 system.

Any versions from DX8.0b onwards can only be installed on Win98 machines.

Cheers,
Scronty
Posted on 2003-08-27 18:12:08 by Scronty
Hello Scronty!
Missed this thread...

I have installed DirectX8.1 on Win95 OEM System Release 2 (OSR2, build 950b, IIRC)
P133/32 :)
I tryed to install DirectX9.0, but HDD is too smal
I just click setup, then see a message "you need dcom2", i downloaded it and OK.

I think DX needs dcom, since DX is COM.
May be this is politics...
BTW, way we can install also USB support for this system, and this will work very quickly on new computers, some unstable though... and we can download many pathes from MS and... worm.blast :(
Posted on 2003-09-08 04:26:52 by S.T.A.S.
Afternoon, S.T.A.S..

Thanks for replying :grin: .

Good to see you got it to work.

As usual, we've got to take what Microsoft says with a fist full of salt:tongue: .

Reminds me of the old "Argument Sketch" from Monty Python.

Cheers,
Scronty
Posted on 2003-09-08 06:07:58 by Scronty
Where do I get these examples?
Posted on 2003-10-19 20:21:53 by comrade
Although Scronty's site layout currently provides no link to his tutorials and examples, the old url is still valid.

Click Me
Posted on 2003-10-19 22:40:07 by Homer
Thanks a lot!
Posted on 2003-10-19 23:13:47 by comrade
Hey scronty! I just follow the the info gave early installed all files in the same location
as you stated. Try the Textures.asm using Qeditor->Project->Build All .

First error unable to open for reading uuid.lib, once I added it . Second error unable to open for reading libci.lib. Now that I've added it I get 4 unresovled externals


Microsoft (R) Windows (R) Resource Compiler, Version 5.00.1823.1 - Build 1823
Copyright (C) Microsoft Corp. 1985-1998. All rights reserved.

Using codepage 1252 as default
Creating rsrc.RES
RC: RCPP -CP 1252 -f C:\Textures\RCa08316 -g C:\Textures\RDa08316 -DRC_INVOKED -
D_WIN32 -pc\:/ -E -I. -I .

rsrc.rc.
Writing ICON:1, lang:0x409, size 744
Writing GROUP_ICON:1, lang:0x409, size 20
Microsoft (R) Windows Resource To Object Converter Version 5.00.1736.1
Copyright (C) Microsoft Corp. 1992-1997. All rights reserved.

Microsoft (R) Macro Assembler Version 6.14.8444
Copyright (C) Microsoft Corp 1981-1997. All rights reserved.

Assembling: C:\Textures\textures.asm
Microsoft (R) Incremental Linker Version 5.12.8078
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

d3dx8.lib(cd3dxbuffer.obj) : error LNK2001: unresolved external symbol _IID_IUnk
nown
d3dx8.lib(cd3dxfont.obj) : error LNK2001: unresolved external symbol _IID_IUnkno
wn
d3dx8.lib(cd3dxsprite.obj) : error LNK2001: unresolved external symbol _IID_IUnk
nown
d3dx8.lib(cd3dxrendertosurface.obj) : error LNK2001: unresolved external symbol
_IID_IUnknown
d3dx8.lib(cd3dxrendertoenvmap.obj) : error LNK2001: unresolved external symbol _
IID_IUnknown
d3dx8.lib(cd3dxfile.obj) : error LNK2001: unresolved external symbol __imp__Crea
teFileW@28
d3dx8.lib(cd3dxresource.obj) : error LNK2001: unresolved external symbol __imp__
FindResourceW@12
d3dx8.lib(cd3dxtext.obj) : error LNK2001: unresolved external symbol __imp__Draw
TextW@20
textures.exe : fatal error LNK1120: 4 unresolved externals
_
Link error
Press any key to continue . . .
Posted on 2003-12-25 22:21:25 by Tweak
Better late then never.

Finally I found the problem when linking the scrontsoft dx8 examples on my laptop:

d3dx8.lib (cd3dxbuffer.obj): error LNK2001 unresolved external symbol _IID_IUnknown
d3dx8.lib (cd3dxfont.obj): error LNK2001 unresolved external symbol _IID_IUnknown
d3dx8.lib (cd3dxsprite.obj): error LNK2001 unresolved external symbol _IID_IUnknown
d3dx8.lib (cd3dxrendertosurface.obj): error LNK2001 unresolved external symbol _IID_IUnknown
d3dx8.lib (cd3dxrendertoenvmap.obj): error LNK2001 unresolved external symbol _IID_IUnknown

:fatal error LNK1120: 1 unresolved externals

When I replace the UUID.LIB in the examples with the UUID.LIB from Visual c++ V6, all examples
on my laptop link as they should.

Now I'm translating all d3d9 includes.
When it's ready I'll post them (Almost done....)
Posted on 2004-06-02 12:21:49 by Siekmanski
argh, too bad I didn't see this thread until now - hutch has done the example of generating all .lib files directly from DLLs... this is fine for all the things like kernel32, user32 (etc) - but some libraries are mixed imports *and* static code/data - like uuid.lib and htmlhelp.lib .
Posted on 2004-06-02 12:56:13 by f0dder