S
ShahMat
Guest
I recently converted a perfectly fine DirectX 8.1 program from VB6 to VB.NET and it broke! No problem, I got most of it fixed, but I noticed in the upgrade report that unattached functions are not allowed in VB.NET. I needed to use the D3DColorRGBA function to convert a hex RGBA value to an integer (long in VB6) but since it's not attached to a class, it got dropped from the type library. So I whipped up this little class that you can compile into a VB6 dll, import as a reference, and use as D3DCOLORAUX global functions. Enjoy!
PS since this has more to do with fixing old apps to work with .NET, does this thread go here or in the DirectX forum? Or maybe both...?
PS since this has more to do with fixing old apps to work with .NET, does this thread go here or in the DirectX forum? Or maybe both...?