With example mdb.go file. It compiles okay into an exe, when i run it, it gives:
create mdb Exception occurred. (Class not registered)
It was having trouble with
oleutil.CallMethod(cat, "Create", "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="+f+";")
So maybe i need to modify that to an alternative. Can anyone point me in the right direction?
So far it looks as though i need to be running the 32bit version of Go, or install 64bit version of Office, but i'm hoping to not do that.
Hi mattn or anyone else reading,
With example mdb.go file. It compiles okay into an exe, when i run it, it gives:
create mdb Exception occurred. (Class not registered)
It was having trouble with
oleutil.CallMethod(cat, "Create", "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="+f+";")
So maybe i need to modify that to an alternative. Can anyone point me in the right direction? So far it looks as though i need to be running the 32bit version of Go, or install 64bit version of Office, but i'm hoping to not do that.
Many thanks.