Closed gvgarven closed 8 years ago
I don't make sure but maybe.
ole.CreateObject("JRO.JetEngine")
unknown, _ := oleutil.CreateObject("JRO.JetEngine")
jro, _ := unknown.QueryInterface(ole.IID_IDispatch)
ret, _ := oleutil.CallMethod(jro, "CompactDatabase", strOldConnect, strNewConnect)
Yeah, it is proved that this is well done. Thank you very much.
I want to compact a (.mdb) file, but how can i use Go to do that like CPP ?