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
  To avoid call WSAStartup function in every class of DLL         


Author: kalpesh
Date: Apr 29, 2008 21:51

I have one DLL which having more then one class. In each class i use
some socket function so here i need to call WSAStartup function in
every class initialize. I want to avoid to call WSAStartup every time
in each class.
So is there any technique from which call WSAStartup only once in DLL
and used in all the class.

Thanks
Kalpesh
4 Comments
  FindWindow("#32770", null) returning wrong window Options         


Author: vidishasharma
Date: Apr 29, 2008 21:15

I want to add the button in reading pane of outlook 2003. This can be
achieved only using
win32 api's . I found the class name of reading pane using
spy++(a visual studio tool). It was #32770 (dialog) however when I
programatically try to
find all the child window of this class name I get all the child
window of 'outlook send and recieve progress'. I agree that it is
also
a dialog window. there are many such dialog windows in outlook how do
I instruct my outlook to get only reading pane dialog and not not any
other dialog availabe in outlook.

//I found the window(which gives wrong window)
_windowHandle = FindWindow("#32770", null);
Show full article (1.33Kb)
1 Comment
  How to load png file in win32, not using GDI+ ?         


Author: moonfacell
Date: Apr 29, 2008 20:27

Hi guys,
I need to load image file in png format from disk into memory, and get
its bitmap. My limitation is only win32 api, and I can NOT use GDI+,
and other third party library.

How to do that ? :)

Need your help!

Thanks a lot...
4 Comments
  Polar F4 Grey Shark Heart Rate Monitor Mens Watch F4GRY-M - Cheapest Watch         


Author: blog484
Date: Apr 29, 2008 08:02

Polar F4 Grey Shark Heart Rate Monitor Mens Watch F4GRY-M - Cheapest
Watch

Polar F4 Grey Shark Heart Rate Monitor Mens Watch F4GRY-M Link :
http://www.watchesprice.net/Polar-F4-Grey-Shark-Heart-Rate-Monitor-Mens-Watch-F4GRY...
Cheap Watches Home : http://www.watchesprice.net/
Lower Price Polar Brands : http://www.watchesprice.net/Polar-Watches.html

Polar F4 Grey Shark Heart Rate Monitor Mens Watch F4GRY-M --- one of
best selling watches, it is crafted in high quality Watches.

Polar F4 Grey Shark Heart Rate Monitor Mens Watch F4GRY-M
Description:

OUT OF STOCKPolar F4 Grey Shark Heart Rate Monitor Mens Watch F4GRY-
MThe Polar F4 Heart Rate Monitor is an light and trim model, designed
for active lifestyles. It's easy to use and provides data for...
Show full article (3.80Kb)
no comments
  Bluetooth communication         


Author: arthurclucas
Date: Apr 29, 2008 07:27

Hi everyone,

I'm have two iPac Devices and I'm trying send some bytes from one to
another via Bluetooth communication.
I use the CreateFile command to send the data and the ReadFile command
to read the data.
In booth commands I use the appropriate COM port.
When I try to send the bytes, it appears to work (the return is 1).
When I try to read the bytes, it also appears to work (the return is
1).

But it always gives me the return 1 when I read the bytes, even when
nothing is sent. So I don't know if my process is working. Can anyone
help me?

I use the code below to open the COM port:
HANDLE PortOpen(LPTSTR lptszPortName, DWORD* dwError)
{
DCB PortDCB;
COMMTIMEOUTS CommTimeouts;
HANDLE hPort;
Show full article (2.98Kb)
1 Comment
  Copy dll's Exports table to another dll Options         


Author: Omer
Date: Apr 29, 2008 04:52

Hi,

Is there a way to copy a dll's exports table to another dll?

This is what i'm trying to achive:

I have a group of DLLs:
a.dll
b.dll
c.dll

and so on….

Each DLL in this group ALWAYS exports func1, func2, func3.
Sometimes, I can find a DLL that belongs to this group that besides
these 3 functions also exports several other functions, for example:
d.dll exports func1, func2, func3 AND GetStatus() and
EndOperation().
Show full article (1.34Kb)
no comments
  WM_ACTIVATEAPP and program name         


Author: MC
Date: Apr 29, 2008 04:35

I'd like to know what program is activated when WM_ACTIVATE is activated

Here's my code. I don't get anything in "mystr"

...
case WM_ACTIVATEAPP:
thread=(DWORD)lParam;
if ((int)wParam)
{
GetModuleFileName((HMODULE)lParam,mystr,127);
}
...

I don't need full filename btw.
2 Comments
  Piaget Ladies Watch GOA15241 - Cheapest Watch         


Author: blog403
Date: Apr 29, 2008 04:15

Piaget Ladies Watch GOA15241 - Cheapest Watch

Piaget Ladies Watch GOA15241 Link : http://www.watchesprice.net/Piaget-Ladies-Watch-GOA15241-18511.html
Cheap Watches Home : http://www.watchesprice.net/
Lower Price Piaget Brands : http://www.watchesprice.net/Piaget-Watches.html

Piaget Ladies Watch GOA15241 --- one of best selling watches, it is
crafted in high quality Watches.

Piaget Ladies Watch GOA15241 Description:

Availability: Contact Us For AvailabilityPiaget Ladies Watch
GOA1524118k Gold Case and Bracelet. Rose gold deployment Clasp. Twenty
Eight Diamonds on this 23mm case. Ivory face with Roman
numerals.Piaget Ladies Watch GOA15241 is brand new, join thousands of
satisfied customers and buy your Piaget Ladies Watch GOA15241 with
total satisfaction . A Weholesale-watches.org 30 Day Money Back
Guarantee is included with every Piaget Ladies Watch GOA15241 for
secure, risk-free online shopping. Weholesale-watches.org does not
charge sales tax for the Piaget Ladies Watch GOA15241, unless shipped
within New York State. Weholesale-watches.org is rated 5 stars on the
Yahoo! network.
Piaget Ladies Watch GOA15241 Details:
Show full article (2.10Kb)
no comments
  Philip Stein Teslar Turquoise Galuchat Small Diamond Round Watch 6D-MW-GT - Cheapest Watch         


Author: blog363
Date: Apr 29, 2008 02:25

Philip Stein Teslar Turquoise Galuchat Small Diamond Round Watch 6D-MW-
GT - Cheapest Watch

Philip Stein Teslar Turquoise Galuchat Small Diamond Round Watch 6D-MW-
GT Link : http://www.watchesprice.net/Philip-Stein-Teslar-Turquoise-Galuchat-Small-Diamond...
Cheap Watches Home : http://www.watchesprice.net/
Lower Price Philip Stein Brands : http://www.watchesprice.net/Philip-Stein-Watches.html

Philip Stein Teslar Turquoise Galuchat Small Diamond Round Watch 6D-MW-
GT --- one of best selling watches, it is crafted in high quality
Watches.

Philip Stein Teslar Turquoise Galuchat Small Diamond Round Watch 6D-MW-
GT Description:

Availability: In Stock Philip Stein Teslar Turquoise Galuchat Small
Diamond Round Watch 6D-MW-GT Round Stainless Steel Case. Case Set With
Full-Cut Diamonds (0.78 ctw). Turquoise Galuchat Strap. White...
Show full article (1.92Kb)
no comments
  How to repair network connection after XP wakes up from a sleep mode? Options         


Author: lukkycharm1
Date: Apr 29, 2008 02:10

Hi everyone:

Here's my dilemma. Say, I want to schedule my PC to wake up at a
certain time from a stand-by and direct it to go to a web site. I can
use Windows Task Scheduler to wake up but when I direct it to open a
web site, say hotmail.com, when PC wakes up all I see in the IE
window
is "Internet Explorer cannot display the webpage". Obviously my
network connection is lost and I need to repair it.

Does anyone know how to repair it using Windows resources, or network
APIs?

My OS is Windows XP SP2
I use a broadband modem that is visible as a network connection in
Windows

I tried running the following in a batch file, but that didn't help:

IPCONFIG /RELEASE
IPCONFIG /RENEW
ipconfig /flushdns
ipconfig /registerdns
start http://www.hotmail.com
12 Comments
1 2