| 1 |
INTRODUCTION |
| 2 |
|
| 3 |
This is a Win32 port of gsmlib contributed by Frediano Ziglio |
| 4 |
([email protected]) and adapted by me. You can use the |
| 5 |
library for inclusion in your own programs or the command line tools |
| 6 |
which have been ported (with the exception of gsmsmsd). |
| 7 |
|
| 8 |
COMPILATION |
| 9 |
|
| 10 |
You need Microsoft VC++ 6.0 to compile the library and command |
| 11 |
line tools. Because I prefer to use the ending .cc for C++ files you |
| 12 |
need to make some changes to your development environment. These are |
| 13 |
documented by Microsoft under this URL (one line): |
| 14 |
|
| 15 |
http://support.microsoft.com/support/kb/articles/Q181/5/ |
| 16 |
06.ASP?LN=EN-US&SD=gn&FR=0&qry=.cc&rnk=1&src=DHCS_MSPSS_gn_SRCH&SPR=VCC |
| 17 |
|
| 18 |
The title of the document is "HOWTO: Make VC++ Recognize File |
| 19 |
Extensions as C/C++ Files". |
| 20 |
|
| 21 |
Then open the workspace gsmlib.dsw with Developer |
| 22 |
Studio. Compilation should be straightforward after that, just make a |
| 23 |
batch build of everything. |
| 24 |
|
| 25 |
If you encounter problems you can use the debug versions and set |
| 26 |
the environment variable GSMLIB_DEBUG to 1 or 2 to get debugging |
| 27 |
output. |
| 28 |
|
| 29 |
HINTS |
| 30 |
- Use COMx: (x is the number of the COM device) instead of the UNIX |
| 31 |
device name. If this doesn't work use "\\.\COMx:". |
| 32 |
|
| 33 |
- The files under Release are without debugging code. If you see |
| 34 |
errors please use the Debug versions and execute |
| 35 |
|
| 36 |
set GSMLIB_DEBUG=2 |
| 37 |
|
| 38 |
for executing the programs. Please send me the debugging |
| 39 |
output: |
| 40 |
|
| 41 |
gsmsmsstore ..... 2> \temp\debug.log |