storage

My Stuff

construction

Downloads & Tools

article

Documentation

extension

Extensions

apps

Licenses

ST#-23-Create-Database-Fails-When-No-Folder-Exists

contact_support

Harvey (May 15th 2025) 2:35 PM

Hi, I have an issue whereby the database creation appears to be failing under some circumstances. The code currently looks like this, which I think is in line with the documentation

#include <stdio.h>
#include "RockallUDB.h"

int main()
{
  void *Handle;
  if ( CreateDatabase( & Handle,"Test.DB",NULL,NULL ) == 0 )
    { CloseDatabase( Handle ); }
  else
    { printf( "Unable to create a new database or database already exists\n" ); }
}
                                  
chat

Matz (May 16th 2025) 12:35 PM

I think I've seen this mentioned before. Have you checked the knowledge base?

verified_user

Support (May 16th 2025) 12:48 PM

There is an existing kb article that can be found for this topic here.