Search:
Type: Posts; User: CatShoe
Search:
Search took 0.01 seconds.
-
one additional question...
why does
for(int i=0;i<iRows;i++)
delete[] map[i];
delete[] map;
-
Hi Folks,
I've got a problem with the code below:
char** map;
int iRows = 40;
int iColumns = 50;
-
Hi Folks,
I need to receive the entry point from a function in "jscript.dll". Actually, it's not a real
exported function, but let me explain it (I'm not really expirienced with COM).
Some...
-
January 13th, 2009, 09:49 AM
What you are trying to do is swim against the stream, that is the problem all game developers
have since day 1.
cj-wijtmans post is maybe the best advice, not using any win api calls (any function...
-
January 1st, 2009, 08:51 AM
Great statement for 2009!
-
December 31st, 2008, 09:39 AM
You probably should give people who are trying to help you, a little bit more respect. Your comments above didn't sound so.
Anyways, I wish you a happy new year :-)
-
December 30th, 2008, 01:31 PM
Big words for someone who asks a lot of, "noobish" questions.
Think about it.
-
December 22nd, 2008, 09:23 AM
Hello Folks,
I have some trouble figuring this out correctly. If you have a function that should
manipulate a string in some way, you probably do it like this:
wchar_t *strmani(wchar_t...
-
December 19th, 2008, 05:31 AM
I does not look wrong actually. I assume your "errormessage()" prints
the GetLastError() result.
You should try to add a backslash "\\" as last character even if SetCurrentDirectory should do...
-
December 17th, 2008, 12:11 PM
Within a WM_PAINT, you have to draw to the DC returned
by BeginPaint().
case WM_PAINT:{
PAINTSTRUCT ps;
HDC myDC = BeginPaint(hWnd, &ps);
// do whatever
-
December 16th, 2008, 03:12 AM
FindFirstFile() & FindNextFile() will do it.
-
December 14th, 2008, 09:28 PM
I stopped reading when I saw this:
std::string dll_attrib = "theDLL.dll";
registerHooks = (registerCall)GetProcAddress(hinstLib, dll_attrib.c_str());
there is no function in your lib (at...
-
December 14th, 2008, 07:52 AM
Try not to assign values, you should copy your string using lstrcpyW() / wcscpy() / strcpy() / StringCchCopy() or a similar function.
Copy the byte array with memcpy() / wmemcpy() or a similar...
-
December 10th, 2008, 09:29 AM
Well, I just assume you are using standard sockets for data transfer.
So you should have a thread in your server application just waiting for some data to receive
in your example.
If your clients...
-
December 8th, 2008, 09:17 AM
I will not ask why you don't just use the handle you already could have.
So I'll try to give an answer to your question.
If you don't know the dialogs or the controls handle, there are some api...
-
December 8th, 2008, 08:04 AM
Hi Folks,
is there a way to track down a file handle (if its a disk file obv) to its filename ?
I know about GetFileInformationByHandleEx(), but I don't like a "vista or better" requirement.
...
-
December 8th, 2008, 07:59 AM
I'm really confused.
Regardless if you assign the return value of CreateDialog, it returns a HWND.
If you just do not assign this value to a variable you do not have a direct access to this window,...
-
November 30th, 2008, 07:59 AM
Great comment.
Are you kidding me? Just paste a link to whatever you mean if you know for sure what
the problem is about.
-
November 30th, 2008, 04:57 AM
I'm pretty much helpless on that too.
The rectangle is ok, I'm drawing it with FillRect().
I'm using exactly the code I posted, I Just changed the InitCommonControls() with InitCommonControlsEx()...
-
November 29th, 2008, 01:25 AM
Hi Folks,
I got one question about Deleting a queue timer. Do I have/need to call
DeleteTimerQueueTimer() for a queue timer that was created with a WT_EXECUTEONLYONCE flag?
I think it's a...
-
November 28th, 2008, 11:50 PM
Thanks for the answers, I adapted my the code but still, no tooltip is showing up.
It looks like this now:
case WM_INITDIALOG:{
...
InitCommonControls();
...
-
November 28th, 2008, 02:51 AM
Thanks for answering, but thats not what I need.
I need to detect another application or process, so the question is still open:
What is the most reliable method of detecting an application?
-
November 27th, 2008, 06:22 PM
haha :>
Well I'm cheating on games like tetris and gradius. Fooling around with win32 and data/memory managment.
-
November 27th, 2008, 12:56 PM
Is there anything wrong in this piece of code?
void CreateToolTip(HWND hwndParent, RECT rectTip, LPWSTR lpTipString){
HWND hwndTT = CreateWindowEx(WS_EX_TOPMOST,
TOOLTIPS_CLASS, NULL,...
-
November 26th, 2008, 12:43 PM
Hi Folks,
I was wondering about the different ways to find/detect a running application or a process.
Afaik, if you know the window class and/or title of an application you can easily use...
|
Click Here to Expand Forum to Full Width
|