Creating SQL Server *.MDF file using C++ Builder and ADOX

  adox, c++, c++builder, mdf

Hopefully someone out there can help me with this.
I use C++ Builder and have created Database files for MS Access (*.MDB and *.ACCDB) using ADOX.

Now a client of mine wants me to do the same thing but only for use in SQL Server.
I believe the catalog file name is *.MDF.

Is the procedure the same for creating the Access catalog files but with a different connection string?

Any help would be appreciated and any links to programming examples would be fantastic.

Source: Windows Questions C++