Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: [Sources] DirectX headers

  1. #1

    [Sources] DirectX headers

    This is the site where I got the start for the DirectX headers regarding my TBDI module. They are a little buggy but it is a good start:

    http://sp.zdt.ru/sp_pb.php

  2. #2
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    67
    Posts
    3,869
    Rep Power
    404

    Re: [Sources] DirectX headers

    Thanks Mike.

    I think if I do anything and at a decent difficulty level it would be to make a conversion tool. I just don't see why we have to do this by hand? If there are rules that a human programmer uses to translate, then why can't a program to do it be written?

    I guess if I try one day I might find the reason why. But a good start might be powerBasic headers to thinBasic headers, since they are similar but different.

    Anyways thanks for the link, they have a neat demo!
    Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
    Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server

  3. #3

    Re: [Sources] DirectX headers


    I just have posted in my forum wrappers and headers for DirextX 9: Direct3D, D3DX, DirectInput and DirectSound.

    Hope you find them useful!

    http://www.jose.it-berater.org/smffo...p?topic=1081.0

  4. #4
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    67
    Posts
    3,869
    Rep Power
    404

    Re: [Sources] DirectX headers

    Oh wow, thanks!!
    Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
    Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server

  5. #5

    Re: [Sources] DirectX headers

    Many thanks Jose! Were they allready tested in a project? And were they created with your TB tool?

  6. #6

    Re: [Sources] DirectX headers


    No, they haven't been thoroughly tested yet because I don't know how to program with DirectX. They have been written by hand because there is not a type library for this component. My TypeLib Browser could be used to generate wrappers for dx7vb.dll and dx8vb.dll, that are a couple of ActiveX that allow to use DirectX7 and DirectX8 with Visual Basic, but not with low-level components that don't have a type library.


  7. #7

    Re: [Sources] DirectX headers

    By hand? Wow, THANK YOU!!!

  8. #8

    Re: [Sources] DirectX headers


    I have made a copuple of changes to TB_DX9.INC
    http://www.jose.it-berater.org/smffo...p?topic=1081.0


    • Added the function D3DCOLOR_COLORVALUE, a translation of the C macro of the same name, that I had forgot to include.


    • Since there are at least 33 versions of D3DX.DLL, named D3DX_xx.DLL, I have replaced the name of the library with the macro D3DX_DLLNAME. This way, you only have to change MACRO D3DX_DLLNAME = "d3dx9_27.dll" to the name of the DLL installed in your system. If you don't have none installed, you can download it from http://www.threelights.de/index.php?..._dll_files.php


    I also have posted an example. Nothing fancy, but at least we know it works.

    http://www.jose.it-berater.org/smffo...p?topic=1099.0

  9. #9
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    67
    Posts
    3,869
    Rep Power
    404

    Re: [Sources] DirectX headers

    Thanks Jose, the example worked fine.
    Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
    Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server

  10. #10

    Re: [Sources] DirectX headers

    Yes, here too, but I had to install the needed DLL. Anyway, with the ability to change the dll name in one go, it will be easy to convert back .

Page 1 of 2 12 LastLast

Similar Threads

  1. OpenGL and DirectX together?
    By kryton9 in forum TBGL General
    Replies: 16
    Last Post: 17-03-2007, 00:00

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •