Search:

Type: Posts; User: joaquim

Page 1 of 13 1 2 3 4

Search: Search took 0.33 seconds.

  1. Re: VB6: DirectX - how convert from screen to full screen and vice versa?

    thank you so much for all
  2. Re: VB6: DirectX - how convert from screen to full screen and vice versa?

    finally it's working like i need:

    'on class:
    Public Property Get FullScreen() As Boolean
    FullScreen = blnFullScreen
    End Property

    Public Property Let FullScreen(full As Boolean)
    ...
  3. Replies
    1
    Views
    295

    Re: Console Window 3D Engine (C++)

    "Who needs DirectX when you can have a simple console window do all the 3D for ya. :D "
    endeed ;)
  4. Re: VB6: DirectX - how convert from screen to full screen and vice versa?

    now works more or less:

    Public Property Get FullScreen() As Boolean
    FullScreen = blnFullScreen
    End Property

    Public Property Let FullScreen(full As Boolean)
    blnFullScreen = full
    ...
  5. Re: VB6: DirectX - how convert from screen to full screen and vice versa?

    "Why do you re-create the device?"
    i'm learn it....
    "Does the driver supports the resolution you specified?"
    i belive yes...
    but maybe you have right: the device re-creation
  6. Re: VB6: DirectX - how convert from screen to full screen and vice versa?

    The trick: did i miss something?
  7. Re: VB6: DirectX - how convert from screen to full screen and vice versa?

    class:

    Option Explicit
    Private Type RECT
    Left As Long
    Top As Long
    Right As Long
    Bottom As Long
    End Type
    Private Declare Function AdjustWindowRect Lib...
  8. Replies
    37
    Views
    1,477

    Re: VB6 - can we use the 'Any' type?

    thank you so much for all to all... thanks
  9. Re: VB6: DirectX - how convert from screen to full screen and vice versa?

    Public Property Let FullScreen(full As Boolean)
    blnFullScreen = full
    'Set d3dev = Nothing
    If (full = True) Then
    D3DWindow.Windowed = False
    D3DWindow.SwapEffect =...
  10. Re: VB6: DirectX - how convert from screen to full screen and vice versa?

    finally i get something.. the device must be destroyed and then created:

    Public Property Let FullScreen(full As Boolean)
    blnFullScreen = full
    Set d3dev = Nothing
    If (full = True)...
  11. Replies
    37
    Views
    1,477

    Re: VB6 - can we use the 'Any' type?

    "..When the "Any" type is seen, particularly on ByRef arguments..."
    that's why we use 'byval 0' for we get zero on 'Any' arguments
  12. VB6: DirectX - how convert from screen to full screen and vice versa?

    i did a property for convert from full screen to screen:

    Public Property Get FullScreen() As Boolean
    FullScreen = blnFullScreen
    End Property

    Public Property Let FullScreen(full As...
  13. Replies
    37
    Views
    1,477

    VB6 - can we use the 'Any' type?

    some functions declarations, from a library('Lib'), can have a 'Any' argument type...
    can we use these type or not? or the 'Object' type is similar?
  14. Re: VB6 - how terminate an infinite loop after close the window?

    now i get it
    thanks for all.. thank you
  15. Re: VB6 - how terminate an infinite loop after close the window?

    i'm sorry, but why 2 loops?
  16. Re: VB6 - showing a Window, on load event is correct?

    thanks for all.. thank you
  17. Re: VB6 - how terminate an infinite loop after close the window?

    the rate was for be 'thank you so much'... sorry only be 'tk'...
    thank you so much for all...
    i was severy confused on what event was activated when we close the window... so it's 'unload' event....
  18. VB6 - showing a Window, on load event is correct?

    when we show a window, on load event, is correct doing it?
    i have notice an issue with an infinite loop, when we terminate the window.. the window is showed again.
    (yes... these topic is connected...
  19. VB6 - how terminate an infinite loop after close the window?

    when we close the window, when we have an infinite loop, the window is closed, but the program stays on memory and the execution isn't terminated.
    when we close the window, when we have an infinite...
  20. Replies
    11
    Views
    602

    Re: Vb6 - how start using Directx9?

    i have 2 great books, but they are for C\C++
    and that link for Directx 8 for VB6: http://directx4vb.vbgamer.com/DirectX4VB/TUT_DX8Start.asp
    at least that link can be converted to portuguese...
  21. Replies
    11
    Views
    602

    Re: Vb6 - how start using Directx9?

    The trick, is like GDI, right?
    - create a brush and select it.... on Directx create a texure;
    - we have a polygon points.... and the brush is drawed with that points.... on directx is more or less...
  22. Replies
    11
    Views
    602

    Re: Vb6 - how start using Directx9?

    great.. now i have a working code and corrected...

    Option Explicit
    Dim d3d9 As IDirect3D9 ' // Direct3D9 object
    Dim d3dev As IDirect3DDevice9 ' // Direct3D device
    ...
  23. Replies
    11
    Views
    602

    Re: Vb6 - how start using Directx9?

    thank you so much for all.
    that code intializate directx 9... now i must release them... how can i do it?
    is just:

    d3dev = Nothing
    d3d9 = Nothing
    ???
  24. Replies
    11
    Views
    602

    Re: Vb6 - how start using Directx9?

    heres the entire project:
    179740
    i use Windows 10 with compatible for Windows XP SP2
  25. Replies
    11
    Views
    602

    Re: Vb6 - how start using Directx9?

    after reinstall the the DirectX8_RunTimes and reboot the PC, i can use the dx9vb.tlb.
    now heres the update code:

    Option Explicit

    Dim pD3D As IDirect3D9
    Dim pd3dDevice As IDirect3DDevice9
    Dim...
  26. Replies
    11
    Views
    602

    Vb6 - how start using Directx9?

    i'm starting using Directx 9 on VB6.
    maybe it's the tlb file... but i don't know.
    see the actual code just for Directx9 initialization:

    Option Explicit
    Dim pD3D As Direct3D9
    Dim pd3dDevice As...
  27. Re: VB6: how can i speed up my draw pixel function DIB's?

    i fixed just creating the ResultImage class variable on global section and just set and NewImage() on DrawImagePlanePoints().
    thank you so much
    now i need another update that i'm failling: the...
  28. Re: VB6 - Multithread: the CreateThread(), accept parameters for the function?

    the speed seems to be more than 2fps.. seems more or less... but if i use more images.. maybe it will be 2fps
  29. Re: VB6: how can i speed up my draw pixel function DIB's?

    i belive that i have a memory leak on my function..
    i tryied

    ResultImage.DrawImage DestinationHDC, 0, 0
    ResultImage.DestroyObjects
    '...........
    Public Sub DestroyObjects()
    If hMemDC...
  30. Re: VB6 - Multithread: the CreateThread(), accept parameters for the function?

    thank you so much for correct me.
    maybe i can find a function for that on internet, but i don't belive that i can use Z and ZDepth.
    but i get your point.. thanks for that.
    anotherthing: i don't...
  31. Re: VB6: how can i speed up my draw pixel function DIB's?

    finally i speed up my function using the AlphaBlend():

    Friend Sub DrawImagePlanePoints(DestinationHDC As Long, Points() As Position3D, WorldSize As Size3D, Optional ByVal Opacity As Long = 255)
    ...
  32. Re: VB6 - Multithread: the CreateThread(), accept parameters for the function?

    honestly i don't know de difference... it's still confused :(
  33. Re: VB6 - Multithread: the CreateThread(), accept parameters for the function?

    honesty i need time and have 'afraid'... why!?! the Directx seems like a new language.... using Windows API we must do several things just for create a Window... yes we need several things for only...
  34. Re: VB6 - Multithread: the CreateThread(), accept parameters for the function?

    my CPU:Intel(R) Core(TM)2 Duo CPU T9500 @ 2.60GHz 2.60 GHz 64bits
    the trapezoid seems limited and i can't control it :(
    i have 1 function for it:

    Private Sub...
  35. Re: VB6 - Multithread: the CreateThread(), accept parameters for the function?

    i know, but before i start learning Directx 9, maybe i can win some speed.
    DrawImageRectanglePoints() do:
    1 - save the destination image on memory(1500X700);
    2 - we had load the image, from...
  36. Re: VB6 - Multithread: the CreateThread(), accept parameters for the function?

    make my DrawImageRectanglePoints() for be used on multithread way... for be more faster.
    and i need make another little simple update: change use a small size memory image for then draw it.......
  37. VB6 - Multithread: the CreateThread(), accept parameters for the function?

    the CreateThread(), accept parameters(even arrays) for the adressed function?

    Public Sub Thread( byref start as long)

    Dim i As Long
    i=start
    Do While True

    Form1.botton.Caption =...
  38. Replies
    146
    Views
    17,212

    Re: Direct2D Typelib+ for VB6

    i'm sorry, if i 'atack' your topic... but believe me that i'm not the only one getting these type initial problems.
    thank you so much for correct me.. and i saved that msnd link:...
  39. Replies
    146
    Views
    17,212

    Re: Direct2D Typelib+ for VB6

    from C++ - Beginning DirectX 9 book(it's for C\C++), we have:

    LPDIRECT3D9 pD3D; // the Direct3D object
    LPDIRECT3DDEVICE9 pd3dDevice; // the Direct3D device
    but your library don't have these 2...
  40. Replies
    146
    Views
    17,212

    Re: Direct2D Typelib+ for VB6

    thank you so much.
    i never programmed DirectX... i have DirectX 9 tutorials, but are for C\C++.. and not VB6.. so what you can advice for i learn more?
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width