LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

direct 1.0 type library

I need to use a part of the direct 1.0 type library (WaitForVerticalBlank) from a labview program.  I have installed directX 9c, 7a, the directX SDK, and attempted to manually re-register ddraw.dll, but can't seem to get this library to show up on the list of options when I browse to "select activex class" to specify the activex object I'm trying to create.  there are solutions to other problems on the forum that assume that the direct 1.0 type library is there as an option, but what if it isn't?  have I not installed the correct thing yet, or is this a bug?
0 Kudos
Message 1 of 3
(3,007 Views)

I believe the type library you are looking for actually belongs to the DirectX for Java package. The method you are looking to use belongs to the dx3j.dll located in your WINDOWS/system32 folder, which must be properly registered. To register it, simply select Run from you Start menu and execute the command: "regsvr32 dx3j.dll". I found that uregistering this type library on my computer did not make the Direct 1.0 Type Library option disappear, but it did control whether or not the WaitForVerticalBlank method was functional. If you can not find the DLL on your machine, you may want to ensure that you have DirectDraw for Java installed. I've included a link here about DirectDraw for Java.

Kind Regards,

E. Sulzer
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(2,999 Views)
found dx3j.dll at http://dll.yaroslavl.ru/index.php3?lng=&in_char=D and put it in my windows/system32 folder and registered it, program seems to work now, thanks.  seems odd that installing everything else under the sun didn't work (directx sdk, java sdk, directx 7a, directx 9c, a few other things), maybe it's not used in the latest versions.  hope some form of waitforverticalblank remains accessible in the future.
0 Kudos
Message 3 of 3
(2,994 Views)