Similar Threads:
1.Log files and cans of worms
Hi,
I'm quite sure this could start a lot of arguements :p.
If i am creating a log file that is constantly added to during the
lifetime of my program, is it best to have a permanent Streamwriter
object that i write to and then flush after each comment, or to spawn a
new one each time i need to add to the log? Or maybe there's some
magical medium i haven't heard of?
Forget the postcards, just post your answers here instead.
James.
2.A Linking Error in VC++.net when linking to a WinCE.net dll
Hi,
Can anyone give me any advice on what the dll : CEUDPPerfExt.dll in Windows
CE 4.0 is for?
The methods implemented in it include:
CloseCEUDPStats
CollectCEUDPStats
DllRegisterServer
DllUnregisterServer
OpenCEUDPStats
SetDeviceConnection
It's becaue I have a WinCE .net dll which call this dll but there is a
runtime error that some dll are nto linked properly.
Regards,
Kenric
3.Unresolved link error, link incremental DID NOT fix!!!!
I posted a message about including a GSM library in VC++ 6.0 on a new project and I thought I had fixed it by selecting "link incremental". Well, I found out that DID NOT FIX IT. I had commecnted out the offending line:
gsmh = gsm_create();
for other testing, and forgot to uncomment it when I made the linker change ( I blame a 13 hour day for that). However, now I am right back where I started Here is the original post. Any help greatly appreaciated.
I wrote an application in VC++ 5.0 that used an external library for GSM 6.10 encode/decode and it worked fine. I started using VC++ 6.0, built the app under it and it worked fine. Now I find myself creating a new app using GSM 6.10 in VC++ 6.0, but I have run into a problem.
I add the file gsm.lib by
Project->Setting->link->Object/library modules for all configurations. winnmm is also declared there and all calls to it's functions work fine.
But, when I attempt to build and call gsm_create() I get the following error:
error LNK2001: unresolved external symbol "struct gsm_state * __cdecl gsm_create(void)" (?gsm_create@@YAPAUgsm_state@@XZ)
It must be finding the gsm.lib file because if I change it's name to something like gsm.lib.t, the linker complains of no such file gsm.lib.
Why am I getting the unresolved error?
tj
4.link error lnk2003 while linking IA64 application
I am porting my application to IA64, and get the following linker errors:
the application uses a DLL and static lib.
libldif64.lib(line64.o) : error LNK2003: gp relative fixup to symbol not in short data section 'ldap_debug'
....
the above symbol 'ldap_debug' is an 'int' defined in the DLL and is being referenced as an 'extern int' in the static lib -libldif64.lib
I am using the Win64 tools from the Feb2003 Platform SDK.
5.unlink
why would unlink return an error 13 for a file created by the same app,
using file_attrib_normal, opened the same way and the time of trying to
delete it, that is currently not opened?
6. Project links just fine in VC6 but link errors in 7.1