Hi, MrPeds.
I recommend to use Borland JBuilder 9. There are better
IDEs around, but this one has very good J2ME support.
The "Personal" edition is free. Download it at
http://www.borland.com/jbuilder/personal/index.html
Check the manufacturer web pages to get SDKs for
their devices...
I agree with IonFilipski. You should also avoid to use old and new stdlib header files in one project. And do not use 'using namespace' in header files.
> is there a way to tell based on the errors, other
> than just knowing, that Wsock32.lib is the one that
> contains those unresolved symbols?
Yes. The error messages show you which symbols are
undefined, e.g. "_getsockname@12".
In the MSDN you find a description of getsockname().
At...
Hi Matt.
Add WSock32.Lib to the list of libraries used by the linker.
(VC6: Project Settings > Link > Object/library modules)
Alternatively, you may add the following statement to the source code: #pragma comment(lib, "WSock32")
It has the same effect.
>I am still confused. Like I said above, the declaration is
>correct and it DOES work. But that is as long as I use
>only one of them.
Like JOlesen already said: You have not allocated any space for your output buffer (...LPCW), so the behaviour of MultiByteToWideChar() is undefined. Your...
Do you have more than one SDK installed? When you say " DirectDraw SDK examples", you mean the examples of the MS DirectX 8 SDK that deal with DirectDraw, don't you?
I think Dlls won't help. Obviously your program parts interact a lot, so different people can never work completely independent. I recommend to reduce shared memory as much as you can, and use interface functions whereever possible. Next, I would use static libraries instead of Dlls. mingis is...
I don't know if it is a good idea to let a base class operate on a derived class's member, but one workaround may look like this:
#include <iostream>
struct base {
void f();
};
struct derived : public base {
static int number;
};
void base::f() { derived::number++; }
int...
> Do you know why procAddr is zero??
I think your version of the library does not contain the procedure. I tested this on a NT4 workstation and got the same result. Unfortunately I cannot install the Platform SDK on this machine to verify if this helps. The kernel32.lib file that works for me...
>I use "handle=GetDesktopWindow();" and pass the
>handle to a Service Routine that requires it.
>The SR works as expected, but would die horribly
>if I used NULL.
It is not NULL, but you get the desktop window handle - not the console window handle. I don't know your SR. Maybe this...
This does not work. Try the following program:
#include <windows.h>
int main()
{
const int BUFSIZE = 0x80;
TCHAR lpszBuffer[BUFSIZE] = {0};
GetWindowText(GetDesktopWindow(), lpszBuffer, BUFSIZE-1);
OutputDebugString(lpszBuffer);
return 0;
}
The window title is empty because...
Hello all.
Could someone please tell me what it takes to use function CoCreateGUID()?
According to the MSDN the function is prototyped in objbase.h and defined in ole32.lib. That's obviously correct but whenI try to use this function I get error C2065 ('CoCreateGUID' undeclared identifier)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.