comp.os.mswindows.programmer.win32
  Home FAQ Contact Sign in
comp.os.mswindows.programmer.win32 only
 
Advanced search
April 2008
motuwethfrsasuw
 123456 14
78910111213 15
14151617181920 16
21222324252627 17
282930     18
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007    
total
comp.os ... win32 Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  msvcrtd.dll, msvcrt.dll         


Author: TheOne
Date: Apr 2, 2008 23:22

I compiled a project in debug and release mode, and checked what dll's
are appended in each case using process explorer.

While mfcXXu.dll is replaced by mdfXXud.dll in debug mode, msvcrt.dll
is still attached to debug mode process and additional msvcrtd.dll is
attached. Is it correct behavior? Why doesn't msvcrtd.dll replace
msvcrt.dll?

I ask this because I might have done something wrong in building the
app. So I want to make sure if anything's wrong.

Thanks in advance.

--
Daewon YOON

Replies to this posting goes to : comp.os.ms-windows.programmer.win32
3 Comments
  TerminateProcess doesn't work         


Author: Sue
Date: Apr 2, 2008 16:55

Hi,

I was trying to terminate the process. I did
TerminateProcess( hProcess, 0 ) and I'm sure it is the right process
handle and the call failed and the error is access denied. Is there a
way I can call SetSecurityInfo to set the PROCESS_TERMINATE right to
the process? Thanks.
1 Comment
  C++ class method conflicting with winapi functions         


Author: zionz
Date: Apr 2, 2008 14:43

Hello i'm using dev-cpp and i was having some strange linker errors in
my project, after a while i discovered that the problem was the member
functions of my class had the same name than existing winapi
functions, now i wonder if this is a problem of my c++ compiler or if
there is an way to avoid this problem?

For example this project produces the error (CreateFont() is a winapi
func):

//content of main.cpp:
#include
#include "ctest.h"

int main(){
CTest a;
a.CreateFont();

return 0;
}
Show full article (0.68Kb)
8 Comments
  Getting bold text - opposite to CreateFontIndirect?         


Author: gw7rib
Date: Apr 2, 2008 14:43

I'm attempting some simple text formatting. Using SetTextColor to
change the colour of the text is straight-forward and seems to be
working fine. But it seems harder to get bold text.

As I understand it, I can create a font using CreateFontIndirect,
specifying a weight of FW_BOLD, and this will come out bold. But is
there a function which does the opposite, ie which will load up a
LOGFONT structure with details of the current font, so that I can just
alter the ones I want to change?

Thanks in advance.
Paul.
2 Comments
  VS 2008 - NMAKE : : macro '$@' is illegal in the context of batch rule '.c.obj'         


Author: Larry Lindstrom
Date: Apr 2, 2008 10:30

Hi Folks:

As I was fading away in the early hours of the morning, I
accidentally posted this to the UI newsgroup, instead of here.

Developing with VS 2008.

I've used make, on my Unix projects, but I've never gotten more
than Ankle deep in it's exotic features. I just identify the target,
the dependencies, and the commands to execute.

I've never used nmake in one of my projects, but I have built
libtommath using the version that came with VC6.

Now I'd like to re-build libtommath, with VS 2008, but I'm getting
this error.

NMAKE : fatal error U1100: macro '$@' is illegal in the context of batch
rule '.c.obj'

The make file that comes with libtommath looks like this:

---

CFLAGS = /I. /Ox /DWIN32 /W3 /Fo$@

default: library
Show full article (1.85Kb)
1 Comment
  List Physical Drives (c++ | WINAPI)         


Author: Alex
Date: Apr 2, 2008 06:16

Hello!
I want to list all physical drives on my machine...
anybody knows how to do this?

(win32 api, c++)
18 Comments