Slasheree Posted February 9, 2013 Author Share Posted February 9, 2013 Can anyone tell me how can I load a dll into my project so that I can use it's function, like for DirectX8 to use:>! ```>! Public dX As DirectX8>! Public D3D8 As Direct3D8>! Public Direct3DX8 As D3DX8>! Public D3DDevice8 As Direct3DDevice8>! Public DispMode As D3DDISPLAYMODE>! Public D3DWindow As D3DPRESENT_PARAMETERS>! Public BackBuffer As Direct3DSurface8>! ``` and>! ```>! Set dX = New DirectX8>! Set D3D8 = dX.Direct3DCreate()>! Set Direct3DX8 = New D3DX8>! ``` Link to comment Share on other sites More sharing options...
Growlith1223 Posted February 9, 2013 Share Posted February 9, 2013 ```Public Declare Sub```or add it to the refrencesProject>Add Refrence…>select a dll you have or load your own>doneNot sure if that helps :/ Link to comment Share on other sites More sharing options...
Slasheree Posted February 9, 2013 Author Share Posted February 9, 2013 It says it could not be added, please make sure the file is accesible and blablabla :\ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now