Commit 8d36d384018b1791edd5281653b6ff792e3a6a0a
1 parent
62843d7a
Exists in
master
and in
5 other branches
Testando hllapi
Showing
2 changed files
with
5 additions
and
1 deletions
Show diff stats
src/plugins/hllapi/calls.cc
| ... | ... | @@ -45,6 +45,8 @@ |
| 45 | 45 | |
| 46 | 46 | __declspec (dllexport) DWORD __stdcall hllapi_init(LPSTR mode) |
| 47 | 47 | { |
| 48 | + trace("%s(%s)",__FUNCTION__,mode); | |
| 49 | + | |
| 48 | 50 | try |
| 49 | 51 | { |
| 50 | 52 | if(hSession) |
| ... | ... | @@ -61,6 +63,8 @@ |
| 61 | 63 | |
| 62 | 64 | __declspec (dllexport) DWORD __stdcall hllapi_deinit(void) |
| 63 | 65 | { |
| 66 | + trace("%s()",__FUNCTION__); | |
| 67 | + | |
| 64 | 68 | try |
| 65 | 69 | { |
| 66 | 70 | if(hSession) | ... | ... |
src/plugins/hllapi/testprogram.c
| ... | ... | @@ -37,7 +37,7 @@ |
| 37 | 37 | |
| 38 | 38 | int main(int numpar, char *param[]) |
| 39 | 39 | { |
| 40 | - const char *session = "new"; | |
| 40 | + const char *session = "pw3270:a"; | |
| 41 | 41 | |
| 42 | 42 | printf("init(%s)=%d\n",session,(int) hllapi_init((LPSTR) session)); |
| 43 | 43 | printf("revision=%d\n",(int) hllapi_get_revision()); | ... | ... |