|
I try to create MDB file with the MDW file from x64 bit application in x64 machine.
the API "SQLConfigDataSource" fails while compiling my code for 32 bit architechture works fine.
_bstr_t bstrAttribute = "CREATE_SYSDB=\"" + bstrPathMDW + "\"";
BOOL bResult = SQLConfigDataSource(NULL, ODBC_ADD_SYS_DSN, L"Microsoft Access Driver (*.mdb)", bstrAttribute))
{...
}
So the problem appears when i compile my code for x64 bit architechture.
Please any help its so urgent.
|
|
|
|
|
khaliloenit wrote: So the problem appears when i compile my code for x64 bit architechture. Please explain what problem; we cannot see your screen, nor guess what you may be doing.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
The problem is not related to compilation error.
The compilation is Ok.But when i run my code the API above fails.
The question is what is the reason for its fails from x64 architecture application on x64 machine.
NB: I work with mdb files
|
|
|
|
|
khaliloenit wrote: when i run my code the API above fails. Well, as I said, we cannot see your screen so we have no idea what may be happening.
One of these days I'm going to think of a really clever signature.
|
|
|
|