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
  Add Textbox dynamically         


Author: sledge
Date: Apr 15, 2008 23:08

Hi,
I am trying to add a editbox dynamically using win32. I cannot
use MFC. Is this possible? I cannot create the editbox in the
resource editor. I want to be able to create editbox/Textbox/ListBox
dynamically. I am a newbie so I am not too familiar with the process.
Any help will be appreciated.
Thanks
Sun
2 Comments
  Can't call OpenProcess with PROCESS_VM_READ on certain processes         


Author: Aaron Moore
Date: Apr 15, 2008 16:20

I'm trying to read module information from processes on my computer but
OpenProcess returns a NULL handle when its called on certain processes on
Vista. The integrity level on the process making the call is Medium and the
target process is also medium. Why would this fail and how does one resolve
the issue?
4 Comments
  ExitProcess() hangs.....Process doesnot gets cleaned up from memory         


Author: smawsk
Date: Apr 15, 2008 10:26

Hi All,

I am running into a problem wherein my application hangs. The GUI of
my application closes out but the process image still stays in the
memory. I can see that from my task manager. It says one thread alive
for this process and some User and GDI object handles.
I created the dump file using the UserDump.exe (x86) when my
application hung. I am troubleshooting it using WinDbg.

Below is the stack trace. I have renamed the name of my process as
.

Can some one please help me and point towards something from this
stack trace?
I am unable to find out the reason why the application is hanging. It
uses some DLLs but all are getting unloaded properly. They are COM
Dlls and I could see FinalRelease() being called for all the DLLs.

I have put a break point in the ::ExitInstance() method of my
application. It completes successfully with a return code 0. I can
trail back till ExitProcess(status) in crt0dat.c file.
The value of status is 0. so the application completes properly and
returns a proper return code but ExitProcess() hangs.
Show full article (2.96Kb)
1 Comment
  Transfer the Bitmap accross applications         


Author: Rasheed
Date: Apr 15, 2008 08:33

Hi ,
i have two different applications, like App1 and App2. Each
application has one dialog like App1Dailog1 & App2Dailog2, my task is
to transfer the bit map from one application to another application
dialog.

means when sending the bitmap file from one app1 to other app2 then
app2 dialog has updated wtih app1 bitmap file.

all this done by command line arguaments as below
App1.exe App2.exe c:\bitmapfileName.bmp

then App2.exe file dialog has updated with this bitmap file c:
\bitmapfileName.bmp

thanks in advance
Rasheed.
1 Comment