----------------------------------------------------------------------
--- Knud van Eeden --- 17 September 2009 - 01:06 am ------------------

BBCBASIC for Windows: DLL: D3DX8BBC.DLL: Operation: Create: How to compile the D3DX8BBC.DLL using Visual Studio 2005?

---

Hi,

Hereby the source code of the project

Steps: Overview:

 1. -Download the file


current project source files 20 September 2009 3 PM GMT


 2. -Unzip the file

 3. -Start Microsoft Visual Studio (e.g. 2005, or (free) Express)

 4. -Open a project

 5. -Navigate to the .sln file in the unzipped directory
     (the current name of the project is ddd1, thus open ddd1.sln)

 6. -Compile/debug the project (press <F5> or green '>')

 7. -That should create the .dll (=ddd1.dll) in the project sub directory
     '..\debug'

 8. -Note: If nothing should happen when pressing <F5> to 'debug' or
     'release', then first force it to create it (e.g. by deleting the
     existing 'ddd1.dll' in the directory 'debug', or doing via the menu
     a clean build ('Tools' > 'Rebuild DLL') of the DLL)

===

Steps until now done to create the project:

 1. -Run the program

      Microsoft Visual Studio v2005

 2. -Create a new project

 3. -Choose the Win32 project option

 4. -Enable radio button 'DLL'

     and accept the default settings

 5. -Give it a name

     1. -E.g.

          D3DX8BBC

 6. -Let it be generated

 7. -Open the .cpp source file

     1. -In the right pane click on 'Source code'

          2. -Select from list '<your project name>.cpp'

 8. -Scroll to the bottom of this file

 9. -Goto URL

      http://groups.yahoo.com/group/bb4w/files/%22Temp%20Folder%22/d3dx8bbc.c

10. -Copy/paste this source code and put it at the end of the <your project name>.cpp file

11. -Start compiling, it will complain about missing .h files.

     Install e.g. the DirectX 8 SDK,

     otherwise find them on the Internet, e.g. at

      http://www.koders.com/c/fidCC8E45FA2551178E4456019ECA01DFDB6828E63C.aspx

     and click on the concerned filename in the left pane, then download.
     I use this method to get the .h files

     Put this files in the same directory as your source project files.

12. -Get the d3dx8.dll library also and put it in the same directory as
     your source project files

13. -After downloading this file, the directories of your project look e.g. like

--- cut here: begin --------------------------------------------------
main project directory (name is D3DX8BBC) 20-09-2009 07:20 <DIR> . 20-09-2009 07:20 <DIR> .. 20-09-2009 07:20 <DIR> D3DX8BBC 20-09-2009 07:24 <DIR> debug 20-09-2009 15:22 5,483,520 D3DX8BBC.ncb 20-09-2009 07:20 877 D3DX8BBC.sln subdirectory 20-09-2009 07:20 <DIR> . 20-09-2009 07:20 <DIR> .. 20-09-2009 07:24 <DIR> Debug 16-09-2009 10:34 88,007 d3d.h 17-09-2009 22:16 72,129 d3d8.h 16-09-2009 10:40 15,568 d3d8caps.h 16-09-2009 10:14 60,138 d3d8types.h 17-09-2009 22:20 750 d3dx8.h 14-03-2001 09:05 1,597,942 d3dx8.lib 16-09-2009 10:41 13,680 d3dx8core.h 17-09-2009 22:22 7,251 d3dx8effect.h 16-09-2009 11:55 34,334 d3dx8math.h 16-09-2009 10:26 36,206 d3dx8math.inl 17-09-2009 22:21 21,124 d3dx8mesh.h 17-09-2009 22:22 7,862 d3dx8shape.h 17-09-2009 22:21 36,755 d3dx8tex.h 20-09-2009 09:26 63,215 D3DX8BBC.cpp 20-09-2009 07:20 797 D3DX8BBC.h 20-09-2009 08:29 4,661 D3DX8BBC.vcproj 20-09-2009 15:21 1,391 D3DX8BBC.vcproj.EUR.nlken.user 16-09-2009 10:23 8,154 dxfile.h 20-09-2009 07:20 1,273 ReadMe.txt 20-09-2009 07:20 291 stdafx.cpp 20-09-2009 07:20 1,358 stdafx.h subdirectory 20-09-2009 07:24 <DIR> . 20-09-2009 07:24 <DIR> .. 20-09-2009 15:12 5,584 BuildLog.htm 20-09-2009 07:25 403 D3DX8BBC.dll.embed.manifest 20-09-2009 07:25 468 D3DX8BBC.dll.embed.manifest.res 20-09-2009 15:12 385 D3DX8BBC.dll.intermediate.manifest 20-09-2009 09:27 154,096 D3DX8BBC.obj 20-09-2009 08:29 3,276,800 D3DX8BBC.pch 20-09-2009 15:12 66 mt.dep 20-09-2009 08:29 88,117 stdafx.obj 20-09-2009 09:27 314,368 vc80.idb 20-09-2009 09:27 520,192 vc80.pdb subdirectory debug 20-09-2009 07:24 <DIR> . 20-09-2009 07:24 <DIR> .. 20-09-2009 15:12 102,400 D3DX8BBC.dll 20-09-2009 15:11 29,425 D3DX8BBC.exp 20-09-2009 15:12 383,136 D3DX8BBC.ilk 20-09-2009 15:12 49,178 D3DX8BBC.lib 20-09-2009 15:12 912,384 D3DX8BBC.pdb
--- cut here: end ---------------------------------------------------- 14. -Goto the top of the D3DX8BBC.cpp file and add the line (otherwise many errors concerning 'd3dxd8math.inl') --- cut here: begin --------------------------------------------------
#include "d3dx8math.h"
--- cut here: end ---------------------------------------------------- 15. -Disable the lines containing the type definitions (otherwise duplicate definition error during compiling) --- cut here: begin --------------------------------------------------
/* // Type definitions: typedef struct D3DXVECTOR2 { float x, y; } D3DXVECTOR2, *LPD3DXVECTOR2 ; typedef struct D3DXVECTOR3 { float x, y, z; } D3DXVECTOR3, *LPD3DXVECTOR3 ; typedef struct D3DXVECTOR4 { float x, y, z, w; } D3DXVECTOR4, *LPD3DXVECTOR4 ; typedef struct D3DXQUATERNION { float x, y, z, w; } D3DXQUATERNION, *LPD3DXQUATERNION ; typedef struct D3DXPLANE { float a, b, c, d; } D3DXPLANE, *LPD3DXPLANE ; typedef struct D3DXCOLOR { float r, g, b, a; } D3DXCOLOR, *LPD3DXCOLOR ; typedef struct _D3DXATTRIBUTEWEIGHTS { FLOAT Position; FLOAT Boundary; FLOAT Normal; FLOAT Diffuse; FLOAT Specular; FLOAT Tex[8]; } D3DXATTRIBUTEWEIGHTS, *LPD3DXATTRIBUTEWEIGHTS; enum _MAX_FVF_DECL_SIZE { MAX_FVF_DECL_SIZE = 20 }; */
--- cut here: end ---------------------------------------------------- 13. -Disable this line (otherwise duplicate definition error during compiling) --- cut here: begin --------------------------------------------------
// typedef struct _D3DMATRIX D3DXMATRIX, *LPD3DXMATRIX ;
--- cut here: end ---------------------------------------------------- 14. -Disable this lines (otherwise unresolved symbol error during compiling) --- cut here: begin --------------------------------------------------
/* // Barycentric coordinates. V1 + f(V2-V1) + g(V3-V1) D3DXVECTOR2* WINAPI D3DXVec2BaryCentric ( D3DXVECTOR2 *pOut, CONST D3DXVECTOR2 *pV1, CONST D3DXVECTOR2 *pV2, CONST D3DXVECTOR2 *pV3, FLOAT f, FLOAT g); EXPORT D3DXVECTOR2* D3DXVec2BaryCentricBBC ( D3DXVECTOR2 *pOut, CONST D3DXVECTOR2 *pV1, CONST D3DXVECTOR2 *pV2, CONST D3DXVECTOR2 *pV3, FLOAT f, FLOAT g) { return D3DXVec2BaryCentric (pOut, pV1, pV2, pV3, f, g) ; } */
--- cut here: end ---------------------------------------------------- 16. -Add the name of the d3dx8.lib file in the project settings 1. -Select from menu option 'Project' 2. -Select from list '<your Project name> Properties' 3. -In the left pane expand 'Configuration Properties' 3. -Select from list 'Linker' 4. -Select from list 'Input' 5. -In the right pane click on 'Additional Dependencies' and fill in the library name to include in the linking 1. -E.g. --- cut here: begin --------------------------------------------------
d3dx8.lib
--- cut here: end ---------------------------------------------------- (note thus this file should be in the same directory as your source code project files) 17. -Compile or release the project 18. -When asked for the .exe file, cancel 19. -That should create the .dll file in the 'debug' subdirectory of the project 1. -E.g. --- cut here: begin --------------------------------------------------
D3DX8BBC.dll
--- cut here: end ---------------------------------------------------- 20. -Check e.g. the content of the to be exported functions of this dll using 1. -Borland impdef.exe 2. -Microsoft dumpbin.exe (if it complains about a missing dll, add the path to that dll to your current PATH, then run dumpbin.exe again) 3. -Jon Ripley's DLL importer http://jonripley.com/bb4w/software/DLLImport.html 21. -Current state is that everything seems to work, except when checking the DLL it shows that all the time C++ format export function names are created in the DLL Possible causes/solutions: 1. -You must maybe create and use a .def file http://msdn.microsoft.com/en-us/library/d91k01sh(VS.80).aspx (note: if creating an MFC DLL project this seems to create a skeleton template example automatically, possibly work from there) 2. -Some setting or combination regarding EXPORT #define EXPORT __declspec(dllexport) extern "C" __declspec(dllexport) 3. -Maybe some settings further down in the source code which overrules other settings in the beginning 4. -Maybe not using the d3dx8 library file but some other library file???? 5. -Download and install the DirectX 8 SDK (instead of using the files at http://www.koders.com) ... 22. -Note: Creating a .DEF file 1. -Usually this is optional and not necessary 2. -In the case you decide to create yourself a .def file 1. -Create a file (e.g. in your favorite text editor) <your project name>.def E.g. --- cut here: begin --------------------------------------------------
D3DX8BBC.def
--- cut here: end ---------------------------------------------------- 2. -Type the following information --- cut here: begin --------------------------------------------------
LIBRARY "<your project name>" EXPORTS put your function name list here
--- cut here: end ---------------------------------------------------- 3. -Choosing another name for the DLL library than the project name (e.g. 'TEST' instead of 'D3DX8BBC') will usually be ignored by the compiler. You see this in the output when compiling. --- cut here: begin --------------------------------------------------
> D3DX8BBC.exp : warning LNK4070: /OUT:TEST.dll directive in .EXP differs from output filename 'D3DX8BBC.dll'; ignoring directive
--- cut here: end ---------------------------------------------------- 4. -To get your function name list, run e.g. Microsoft dumpbin.exe (installed together with Microsoft Visual Studio), or Borland impdef.exe (installed together with free Borland C++ bcc compiler) Then copy/paste (only) the function names and paste it in the .def file 5. -E.g. for this project that file might look like (after running Borland impdef.exe or Microsoft dumpbin.exe to get the function names you want to export and doing some manual editing) --- cut here: begin --------------------------------------------------
LIBRARY "D3DX8BBC" EXPORTS ??0CDDD1@@QAE@XZ @1 ??4CDDD1@@QAEAAV0@ABV0@@Z @2 ?D3DXColorAddBBC@@YAPAUD3DXCOLOR@@PAU1@PBU1@1@Z @3 ?D3DXColorAdjustContrastBBC@@YAPAUD3DXCOLOR@@PAU1@PBU1@M@Z @4 ?D3DXColorAdjustSaturationBBC@@YAPAUD3DXCOLOR@@PAU1@PBU1@M@Z @5 ?D3DXColorLerpBBC@@YAPAUD3DXCOLOR@@PAU1@PBU1@1M@Z @6 ?D3DXColorModulateBBC@@YAPAUD3DXCOLOR@@PAU1@PBU1@1@Z @7 ?D3DXColorNegativeBBC@@YAPAUD3DXCOLOR@@PAU1@PBU1@@Z @8 ?D3DXColorScaleBBC@@YAPAUD3DXCOLOR@@PAU1@PBU1@M@Z @9 ?D3DXColorSubtractBBC@@YAPAUD3DXCOLOR@@PAU1@PBU1@1@Z @10 ?D3DXMatrixAffineTransformationBBC@@YAPAUD3DXMATRIX@@PAU1@MPBUD3DXVECTOR3@@PBUD3DXQUATERNION@@1@Z @11 ?D3DXMatrixIdentityBBC@@YAPAUD3DXMATRIX@@PAU1@@Z @12 ?D3DXMatrixInverseBBC@@YAPAUD3DXMATRIX@@PAU1@PAMPBU1@@Z @13 ?D3DXMatrixIsIdentityBBC@@YAHPBUD3DXMATRIX@@@Z @14 ?D3DXMatrixLookAtLHBBC@@YAPAUD3DXMATRIX@@PAU1@PBUD3DXVECTOR3@@11@Z @15 ?D3DXMatrixLookAtRHBBC@@YAPAUD3DXMATRIX@@PAU1@PBUD3DXVECTOR3@@11@Z @16 ?D3DXMatrixMultiplyBBC@@YAPAUD3DXMATRIX@@PAU1@PBU1@1@Z @17 ?D3DXMatrixOrthoLHBBC@@YAPAUD3DXMATRIX@@PAU1@MMMM@Z @18 ?D3DXMatrixOrthoOffCenterLHBBC@@YAPAUD3DXMATRIX@@PAU1@MMMMMM@Z @19 ?D3DXMatrixOrthoOffCenterRHBBC@@YAPAUD3DXMATRIX@@PAU1@MMMMMM@Z @20 ?D3DXMatrixOrthoRHBBC@@YAPAUD3DXMATRIX@@PAU1@MMMM@Z @21 ?D3DXMatrixPerspectiveFovLHBBC@@YAPAUD3DXMATRIX@@PAU1@MMMM@Z @22 ?D3DXMatrixPerspectiveFovRHBBC@@YAPAUD3DXMATRIX@@PAU1@MMMM@Z @23 ?D3DXMatrixPerspectiveLHBBC@@YAPAUD3DXMATRIX@@PAU1@MMMM@Z @24 ?D3DXMatrixPerspectiveOffCenterLHBBC@@YAPAUD3DXMATRIX@@PAU1@MMMMMM@Z @25 ?D3DXMatrixPerspectiveOffCenterRHBBC@@YAPAUD3DXMATRIX@@PAU1@MMMMMM@Z @26 ?D3DXMatrixPerspectiveRHBBC@@YAPAUD3DXMATRIX@@PAU1@MMMM@Z @27 ?D3DXMatrixReflectBBC@@YAPAUD3DXMATRIX@@PAU1@PBUD3DXPLANE@@@Z @28 ?D3DXMatrixRotationAxisBBC@@YAPAUD3DXMATRIX@@PAU1@PBUD3DXVECTOR3@@M@Z @29 ?D3DXMatrixRotationQuaternionBBC@@YAPAUD3DXMATRIX@@PAU1@PBUD3DXQUATERNION@@@Z @30 ?D3DXMatrixRotationXBBC@@YAPAUD3DXMATRIX@@PAU1@M@Z @31 ?D3DXMatrixRotationYBBC@@YAPAUD3DXMATRIX@@PAU1@M@Z @32 ?D3DXMatrixRotationYawPitchRollBBC@@YAPAUD3DXMATRIX@@PAU1@MMM@Z @33 ?D3DXMatrixRotationZBBC@@YAPAUD3DXMATRIX@@PAU1@M@Z @34 ?D3DXMatrixScalingBBC@@YAPAUD3DXMATRIX@@PAU1@MMM@Z @35 ?D3DXMatrixShadowBBC@@YAPAUD3DXMATRIX@@PAU1@PBUD3DXVECTOR4@@PBUD3DXPLANE@@@Z @36 ?D3DXMatrixTransformationBBC@@YAPAUD3DXMATRIX@@PAU1@PBUD3DXVECTOR3@@PBUD3DXQUATERNION@@1121@Z @37 ?D3DXMatrixTranslationBBC@@YAPAUD3DXMATRIX@@PAU1@MMM@Z @38 ?D3DXMatrixTransposeBBC@@YAPAUD3DXMATRIX@@PAU1@PBU1@@Z @39 ?D3DXMatrixfDeterminantBBC@@YAMPBUD3DXMATRIX@@@Z @40 ?D3DXPlaneDotBBC@@YAMPBUD3DXPLANE@@PBUD3DXVECTOR4@@@Z @41 ?D3DXPlaneDotCoordBBC@@YAMPBUD3DXPLANE@@PBUD3DXVECTOR3@@@Z @42 ?D3DXPlaneDotNormalBBC@@YAMPBUD3DXPLANE@@PBUD3DXVECTOR3@@@Z @43 ?D3DXPlaneFromPointNormalBBC@@YAPAUD3DXPLANE@@PAU1@PBUD3DXVECTOR3@@1@Z @44 ?D3DXPlaneFromPointsBBC@@YAPAUD3DXPLANE@@PAU1@PBUD3DXVECTOR3@@11@Z @45 ?D3DXPlaneIntersectLineBBC@@YAPAUD3DXVECTOR3@@PAU1@PBUD3DXPLANE@@PBU1@2@Z @46 ?D3DXPlaneNormalizeBBC@@YAPAUD3DXPLANE@@PAU1@PBU1@@Z @47 ?D3DXPlaneTransformBBC@@YAPAUD3DXPLANE@@PAU1@PBU1@PBUD3DXMATRIX@@@Z @48 ?D3DXQuaternionBaryCentricBBC@@YAPAUD3DXQUATERNION@@PAU1@PBU1@11MM@Z @49 ?D3DXQuaternionConjugateBBC@@YAPAUD3DXQUATERNION@@PAU1@PBU1@@Z @50 ?D3DXQuaternionDotBBC@@YAMPBUD3DXQUATERNION@@0@Z @51 ?D3DXQuaternionExpBBC@@YAPAUD3DXQUATERNION@@PAU1@PBU1@@Z @52 ?D3DXQuaternionIdentityBBC@@YAPAUD3DXQUATERNION@@PAU1@@Z @53 ?D3DXQuaternionInverseBBC@@YAPAUD3DXQUATERNION@@PAU1@PBU1@@Z @54 ?D3DXQuaternionIsIdentityBBC@@YAHPBUD3DXQUATERNION@@@Z @55 ?D3DXQuaternionLengthBBC@@YAMPBUD3DXQUATERNION@@@Z @56 ?D3DXQuaternionLengthSqBBC@@YAMPBUD3DXQUATERNION@@@Z @57 ?D3DXQuaternionLnBBC@@YAPAUD3DXQUATERNION@@PAU1@PBU1@@Z @58 ?D3DXQuaternionMultiplyBBC@@YAPAUD3DXQUATERNION@@PAU1@PBU1@1@Z @59 ?D3DXQuaternionNormalizeBBC@@YAPAUD3DXQUATERNION@@PAU1@PBU1@@Z @60 ?D3DXQuaternionRotationAxisBBC@@YAPAUD3DXQUATERNION@@PAU1@PBUD3DXVECTOR3@@M@Z @61 ?D3DXQuaternionRotationMatrixBBC@@YAPAUD3DXQUATERNION@@PAU1@PBUD3DXMATRIX@@@Z @62 ?D3DXQuaternionRotationYawPitchRollBBC@@YAPAUD3DXQUATERNION@@PAU1@MMM@Z @63 ?D3DXQuaternionSlerpBBC@@YAPAUD3DXQUATERNION@@PAU1@PBU1@1M@Z @64 ?D3DXQuaternionSquadBBC@@YAPAUD3DXQUATERNION@@PAU1@PBU1@111M@Z @65 ?D3DXQuaternionToAxisAngleBBC@@YAXPBUD3DXQUATERNION@@PAUD3DXVECTOR3@@PAM@Z @66 ?D3DXVec2AddBBC@@YAPAUD3DXVECTOR2@@PAU1@PBU1@1@Z @67 ?D3DXVec2CCWBBC@@YGMPBUD3DXVECTOR2@@0@Z @68 ?D3DXVec2CatmullRomBBC@@YAPAUD3DXVECTOR2@@PAU1@PBU1@111M@Z @69 ?D3DXVec2DotBBC@@YAMPBUD3DXVECTOR2@@0@Z @70 ?D3DXVec2HermiteBBC@@YAPAUD3DXVECTOR2@@PAU1@PBU1@111M@Z @71 ?D3DXVec2LengthBBC@@YAMPBUD3DXVECTOR2@@@Z @72 ?D3DXVec2LengthSqBBC@@YAMPBUD3DXVECTOR2@@@Z @73 ?D3DXVec2LerpBBC@@YAPAUD3DXVECTOR2@@PAU1@PBU1@1M@Z @74 ?D3DXVec2MaximizeBBC@@YAPAUD3DXVECTOR2@@PAU1@PBU1@1@Z @75 ?D3DXVec2MinimizeBBC@@YAPAUD3DXVECTOR2@@PAU1@PBU1@1@Z @76 ?D3DXVec2NormalizeBBC@@YAPAUD3DXVECTOR2@@PAU1@PBU1@@Z @77 ?D3DXVec2ScaleBBC@@YAPAUD3DXVECTOR2@@PAU1@PBU1@M@Z @78 ?D3DXVec2SubtractBBC@@YAPAUD3DXVECTOR2@@PAU1@PBU1@1@Z @79 ?D3DXVec2TransformBBC@@YAPAUD3DXVECTOR4@@PAU1@PBUD3DXVECTOR2@@PBUD3DXMATRIX@@@Z @80 ?D3DXVec2TransformCoordBBC@@YAPAUD3DXVECTOR2@@PAU1@PBU1@PBUD3DXMATRIX@@@Z @81 ?D3DXVec2TransformNormalBBC@@YAPAUD3DXVECTOR2@@PAU1@PBU1@PBUD3DXMATRIX@@@Z @82 ?D3DXVec3AddBBC@@YAPAUD3DXVECTOR3@@PAU1@PBU1@1@Z @83 ?D3DXVec3BaryCentricBBC@@YAPAUD3DXVECTOR3@@PAU1@PBU1@11MM@Z @84 ?D3DXVec3CatmullRomBBC@@YAPAUD3DXVECTOR3@@PAU1@PBU1@111M@Z @85 ?D3DXVec3CrossBBC@@YAPAUD3DXVECTOR3@@PAU1@PBU1@1@Z @86 ?D3DXVec3DotBBC@@YAMPBUD3DXVECTOR3@@0@Z @87 ?D3DXVec3HermiteBBC@@YAPAUD3DXVECTOR3@@PAU1@PBU1@111M@Z @88 ?D3DXVec3LengthBBC@@YAMPBUD3DXVECTOR3@@@Z @89 ?D3DXVec3LengthSqBBC@@YAMPBUD3DXVECTOR3@@@Z @90 ?D3DXVec3LerpBBC@@YAPAUD3DXVECTOR3@@PAU1@PBU1@1M@Z @91 ?D3DXVec3MaximizeBBC@@YAPAUD3DXVECTOR3@@PAU1@PBU1@1@Z @92 ?D3DXVec3MinimizeBBC@@YAPAUD3DXVECTOR3@@PAU1@PBU1@1@Z @93 ?D3DXVec3NormalizeBBC@@YAPAUD3DXVECTOR3@@PAU1@PBU1@@Z @94 ?D3DXVec3ProjectBBC@@YAPAUD3DXVECTOR3@@PAU1@PBU1@PBU_D3DVIEWPORT8@@PBUD3DXMATRIX@@33@Z @95 ?D3DXVec3ScaleBBC@@YAPAUD3DXVECTOR3@@PAU1@PBU1@M@Z @96 ?D3DXVec3SubtractBBC@@YAPAUD3DXVECTOR3@@PAU1@PBU1@1@Z @97 ?D3DXVec3TransformBBC@@YAPAUD3DXVECTOR4@@PAU1@PBUD3DXVECTOR3@@PBUD3DXMATRIX@@@Z @98 ?D3DXVec3TransformCoordBBC@@YAPAUD3DXVECTOR3@@PAU1@PBU1@PBUD3DXMATRIX@@@Z @99 ?D3DXVec3TransformNormalBBC@@YAPAUD3DXVECTOR3@@PAU1@PBU1@PBUD3DXMATRIX@@@Z @100 ?D3DXVec3UnprojectBBC@@YAPAUD3DXVECTOR3@@PAU1@PBU1@PBU_D3DVIEWPORT8@@PBUD3DXMATRIX@@33@Z @101 ?D3DXVec4AddBBC@@YAPAUD3DXVECTOR4@@PAU1@PBU1@1@Z @102 ?D3DXVec4BaryCentricBBC@@YAPAUD3DXVECTOR4@@PAU1@PBU1@11MM@Z @103 ?D3DXVec4CatmullRomBBC@@YAPAUD3DXVECTOR4@@PAU1@PBU1@111M@Z @104 ?D3DXVec4CrossBBC@@YAPAUD3DXVECTOR4@@PAU1@PBU1@11@Z @105 ?D3DXVec4DotBBC@@YAMPBUD3DXVECTOR4@@0@Z @106 ?D3DXVec4HermiteBBC@@YAPAUD3DXVECTOR4@@PAU1@PBU1@111M@Z @107 ?D3DXVec4LengthBBC@@YAMPBUD3DXVECTOR4@@@Z @108 ?D3DXVec4LengthSqBBC@@YAMPBUD3DXVECTOR4@@@Z @109 ?D3DXVec4LerpBBC@@YAPAUD3DXVECTOR4@@PAU1@PBU1@1M@Z @110 ?D3DXVec4MaximizeBBC@@YAPAUD3DXVECTOR4@@PAU1@PBU1@1@Z @111 ?D3DXVec4MinimizeBBC@@YAPAUD3DXVECTOR4@@PAU1@PBU1@1@Z @112 ?D3DXVec4NormalizeBBC@@YAPAUD3DXVECTOR4@@PAU1@PBU1@@Z @113 ?D3DXVec4ScaleBBC@@YAPAUD3DXVECTOR4@@PAU1@PBU1@M@Z @114 ?D3DXVec4SubtractBBC@@YAPAUD3DXVECTOR4@@PAU1@PBU1@1@Z @115 ?D3DXVec4TransformBBC@@YAPAUD3DXVECTOR4@@PAU1@PBU1@PBUD3DXMATRIX@@@Z @116 ?fnDDD1@@YAHXZ @117 ?nDDD1@@3HA @118
--- cut here: end ---------------------------------------------------- 6. -Enabling or disabling the #define EXPORT _declspec E.g. #define EXPORT __declspec(dllexport) -- or -- #define EXPORT should be further tested. It looks until now that it does not have influence on the .def file, at least not on the library name. But it might or should have influence on the export of the functions. 7. -Save the .def file (in the same directory as your project source files and .h files (that is the correct directory, I checked this by letting an MFC DLL project automatically create that .def file. It showed that it by default put it in the main source code directory of your project). Thus you should see it here somewhere --- cut here: begin --------------------------------------------------
subdirectory 20-09-2009 07:20 <DIR> . 20-09-2009 07:20 <DIR> .. 20-09-2009 07:24 <DIR> Debug 16-09-2009 10:34 88,007 d3d.h 17-09-2009 22:16 72,129 d3d8.h 16-09-2009 10:40 15,568 d3d8caps.h 16-09-2009 10:14 60,138 d3d8types.h 17-09-2009 22:20 750 d3dx8.h 14-03-2001 09:05 1,597,942 d3dx8.lib 16-09-2009 10:41 13,680 d3dx8core.h 17-09-2009 22:22 7,251 d3dx8effect.h 16-09-2009 11:55 34,334 d3dx8math.h 16-09-2009 10:26 36,206 d3dx8math.inl 17-09-2009 22:21 21,124 d3dx8mesh.h 17-09-2009 22:22 7,862 d3dx8shape.h 17-09-2009 22:21 36,755 d3dx8tex.h 17-09-2009 22:21 1234 D3DX8BBC.def <= thus location should be here (=at location of your other .cpp, .h, ... files in that main source directory) 20-09-2009 09:26 63,215 D3DX8BBC.cpp 20-09-2009 07:20 797 D3DX8BBC.h 20-09-2009 08:29 4,661 D3DX8BBC.vcproj 20-09-2009 15:21 1,391 D3DX8BBC.vcproj.EUR.nlken.user 16-09-2009 10:23 8,154 dxfile.h 20-09-2009 07:20 1,273 ReadMe.txt 20-09-2009 07:20 291 stdafx.cpp 20-09-2009 07:20 1,358 stdafx.h
--- cut here: end ---------------------------------------------------- === Book: see also: === Diagram: see also: === File: see also: 01.pdf D3DX8BBC.dll === Help: see also: === Image: see also: === Internet: see also: === Podcast: see also: === Screencast: see also: === Table: see also: === Video: see also: --- ----------------------------------------------------------------------