<div class="gmail_quote">People: I am having a problem with cdelc and apicall in windows with SqueakDBX.<br><br>I have a abstract class OpenDBX with the subclasses: OpenDBXWin32 and OpenDBXUnix. SqueakDBX detects which OS you are using and instances one of them. They have these methods:<br>
<br> OpenDBXWin32:<br><br>apiBind: handle database: databaseName name: userName password: password method: method<br> "int odbx_bind(odbx_t* handle, const char* database, const char* who, const char* cred,int method )"<br>
<apicall: long 'odbx_bind' (ulong char* char* char* ulong) module: 'libopendbx-1.dll'><br> ^self externalCallFailed<br><br>OpenDBXUnix:<br><br>apiBind: handle database: databaseName name: userName password: password method: method<br>
"int odbx_bind(odbx_t* handle, const char* database, const char* who, const char* cred,int method )"<br><br><br>In linux, I don't have problems, but in windows, when I try to download it from MC, I have a "sintax errror"<br>
<br>"OpenDBXUnix api calls
apiBind: handle database: databaseName name: userName password: password method: method"<br><br>apiBind: handle database: databaseName name: userName password: password method: method<br> "int odbx_bind(odbx_t* handle, const char* database, const char* who, const char* cred,int method )"<br>
<> expected ->cdecl: long 'odbx_bind' (ulong char* char* char* ulong) module: 'opendbx'><br> ^self externalCallFailed<br> <cdecl: long 'odbx_bind' (ulong char* char* char* ulong) module: 'opendbx'><br>
^self externalCallFailed<br><br>Does anyone have an idea of what can be happening ?<br><br>thanks in advance.<br><font color="#888888"><br>Mariano<br><br>
</font></div><br>