Jump to content

Andy bell

Pre Member
  • Content Count

    1
  • Joined

  • Last visited

  • Medals

Posts posted by Andy bell


  1. Quote
    Quote

     

     

    for some time now I have had some issues that I like to solve my self

    from visual basic

    input like the 1 below

    ' mdlSafeObject code

    Public Sub DestroyObject(o As Object)

    Dim SafeO As SafeObject

       ' If this is a SafeObject, call Deallocate() first.
       If TypeOf o Is SafeObject Then
          ' This is necessary to make VB recognise o as a SafeObject
          Set SafeO = o
          SafeO.Deallocate
       End If

       Set o = Nothing

    End Sub

    ' Class1 code

    Public B As Class2
    Public C As Class3

    Private Sub SafeObject_Deallocate()

       ' Destroy all references.
       DestroyObject B
       DestroyObject C

    End Sub

    to finding some problems with

    using .dll's

    just working on this

    type of thing at the mo just added this to the folder

     

    PhysX3_x64.dll

    PhysX3Common_x64.dll

    PhysX3Cooking_x64.dll

    PhysX3Gpu_x64.dll

     

    this is because I run a 64 bit machine and this does help

     

     also added some runtime .dll's

    d3dx9_32.dll

    D3DX9_43.dll

     

×