Page 1 of 1

Redistributing DataStage Development Kit Applications

Posted: Thu Jul 05, 2007 5:11 pm
by SPA_BI
Hi, in the document it says:
If you want to run the application from a computer used as a
DataStage client, you should redistribute the following library with
your application:
vmdsapi.dll
This file refers to the 'C:\Program Files\Ascential\DataStage7.5.1\vmdsapiENU.dll" right?

Also, we run server on Unix and clients on windows.

Posted: Thu Jul 05, 2007 6:04 pm
by ray.wurlod
Not necessarily. For example it might be vmdsapiJPN.dll if you're redistributing in Japan.

Posted: Thu Jul 12, 2007 6:55 pm
by SPA_BI
Hi,

If I redistribute in English speaking countries, vmdsapiENU.dll will do, right?

Also, do I just need to place the dlls (DSCLNT32.DLL, dsrpc32.dll and vmdsapi.dll) in the same directory as the compiled executable? I suspect I'm not putting them in the right place as I'm getting the following linking error:
1>DataStageLib.obj : error LNK2001: unresolved external symbol "extern "C" int __cdecl DSGetLastError(void)" (?DSGetLastError@@$$J0YAHXZ)
1>\\rchfil100\users$\kevxu\Visual Studio 2005\Projects\DataStage Lib\Debug\DataStageLib.dll : fatal error LNK1120: 1 unresolved externals
I'm using Visual Studio C++ Express.

Posted: Sun Jul 15, 2007 5:13 pm
by SPA_BI
Hi,
Anyone one else ever came across this link error before?

Posted: Sun Jul 15, 2007 9:30 pm
by chulett
No, never had a need to play this game.

I'd suspect, based on your 'unresolved externals' error, that it's not about putting them in the right place, but about having the right runtime libraries.

Posted: Tue Jul 17, 2007 5:04 pm
by SPA_BI
I thought those datastage api functions are supposed to be DLL imported so the compiler shouldn't be trying to link those functions.

Did anyone get this to work, ever?