Anyone that has sad success using these libraries please tell me how you did it.
The makefile.bcc doesn't work at all because borland's make doesn't understand %. I rewrote the makefile but there were tons of compiling issues. I finally managed to get rid of all of the compiling errors but now I can't link.
I abandoned the idea of building with Borland and tried Visual Studio. No problem, I can generate the .lib and .dll's just fine. But since they are in Microsofts crazy mangled format I can't use them in Borland.
I need this lib to work in Borland, I'm using Version 6.0 and have the latest version of common c++.
Please offer advice or let me know what other information I can supply to help. I've wasted 2 days already :-(
Thank you
Jen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anyone that has sad success using these libraries please tell me how you did it.
The makefile.bcc doesn't work at all because borland's make doesn't understand %. I rewrote the makefile but there were tons of compiling issues. I finally managed to get rid of all of the compiling errors but now I can't link.
I abandoned the idea of building with Borland and tried Visual Studio. No problem, I can generate the .lib and .dll's just fine. But since they are in Microsofts crazy mangled format I can't use them in Borland.
I need this lib to work in Borland, I'm using Version 6.0 and have the latest version of common c++.
Please offer advice or let me know what other information I can supply to help. I've wasted 2 days already :-(
Thank you
Jen
Of course I meant "had success"....
Well, in case this helps, here are the link errors:
ilink32.exe -Lc:\\progra~1\\borland\\cbuilder6\\lib -Lc:\\progra~1\\borland\\cbuilder6\\lib\\psdk -c -Tpd ws2_32.lib wsock32.lib c0d32 inaddr.obj socket .obj peer.obj mempager.obj threadkey.obj keydata.obj mutex.obj exception.obj slog.obj semaphore.obj thread.obj event.obj peer.obj file.obj friends.obj port.obj,ccgnu2.dll, ,cw32mt import32
Turbo Incremental Link 5.60 Copyright (c) 1997-2002 Borland
Error: Unresolved external 'ost::delString(char *)' referenced from H:\GNU C++\W32\INADDR.OBJ
Error: Unresolved external 'ost::newString(const char *, unsigned int)' referenced from H:\GNU C++\W32\INADDR.OBJ
Error: Unresolved external 'ost::String::~String()' referenced from H:\GNU C++\W32\SOCKET.OBJ
Error: Unresolved external 'ost::String::getText() const' referenced from H:\GNU C++\W32\SOCKET.OBJ
Error: Unresolved external 'ost::String::String(const ost::String&)' referenced from H:\GNU C++\W32\SOCKET.OBJ
Error: Unresolved external 'ost::String::String(const char *)' referenced from H:\GNU C++\W32\SOCKET.OBJ
Error: Unresolved external 'ost::setString(char *, unsigned int, const char *)' referenced from H:\GNU C++\W32\SOCKET.OBJ
Error: Unresolved external 'ost::addString(char *, unsigned int, const char *)' referenced from H:\GNU C++\W32\KEYDATA.OBJ
Error: Unresolved external 'ost::Dir::getPrefix(char *, unsigned int)' referenced from H:\GNU C++\W32\FILE.OBJ
** error 2 ** deleting ccgnu2.dll