Jump to content
  • Advertisement
Sign in to follow this  


This topic is 5197 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello! I try to programm DirectXFile on visual basic 6.0. Everything, except DirectXFileBinary, is working. when I want to read binary resource from file, there is error 430 ("Class does not support Automation or does not support expected interface"). But when I save DataObject or Reference instead of BinaryObject, there is no errors, everything is working propertly. I add BinaryObject so: Dim DXFSave as DirectXFileSave Dim DXFData as DirectXFileData '... here I register my template, create DirectXFileSave and DirectXFileData... DXFData.AddBinaryObject "obj1", "", "", Timer, 4 'for example... DXFSave.SaveData DXFData Set DXFData = Nothing Set DXFSave = Nothing And when I want to get binary resource: Dim DXFEnum as DirectXFileEnum Dim DXFData as DirectXFileData '...here I load my file, and receive from it DirectXFileData containing binary resource. Dim DXFBinary as DirectXFileBinary set DXFBinary = DXFData.GetNextObject 'here i get error 430. How to solve this problem? Thanks!

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!