|
Open up Calculator
View Scientific
Click on Hex
Punch in 1000
Click on Dec
Answer = 4096
Todd Smith
|
|
|
|
|
Hi guys, I'm new on windows programming so I'm seeking a little bit help here regarding to ::SendMessage API.
<br />
LRESULT SendMessage(<br />
HWND hWnd,
UINT Msg,
WPARAM wParam,
LPARAM lParam
);
The first two parameters are clear and good, but the 3rd and 4th? MSDN says they both "Specifies additional message-specific information", so it's confusing, why there are two if they do exactly the same thing?
Also is there any documents I can find that gives some details on the format/contents of wParam/lParam? For example if I wanna send a key-down message "alt + ctrl + f3", what should be the wParam/lParam value? I just cannot find any explicit explanation from MSDN.
Any help are appreciated.
|
|
|
|
|
The meaning of wParam and lParam depends on value of 2nd argument. Each WM_xxx message is documented with description of what wParam and lParam mean.
Tomasz Sowinski -- http://www.shooltz.com
"Yields falsehood when preceded by its quotation" yields falsehood when preceded by its quotation.
|
|
|
|
|
In Windows 2000 and XP, how do you check if the user logged in has access to write to a certain directory... this must be done withOUT writing a file because it is being used in a TreeCtrl browser. Any help is appreciated.
<><><><><><><><><><><><><><>
Matthew R. Miller
mattrmiller@computersmarts.net
www.computersmarts.net
|
|
|
|
|
Try the GetFileSecurity function
Mauricio Ritter - Brazil
Sonorking now: 100.13560 MRitter
|
|
|
|
|
Hi!
I have a windows 2000 computer with exchange on it.
I need to block the port 25 and replace it with another(any non useful)
Can I do it through exchange or windows?
If not, what can I do!?
Thanks!
Coding is a family business
|
|
|
|
|
You could always buy a router. this allows you to block or redirect ports to specific PCs on your network.. or if you have only one PC then.. your PC.
"I spent a lot of my money on booze, birds and fast cars. The rest I just squandered"
George Best.
|
|
|
|
|
and if i want to implement a software solution?
Thanks
|
|
|
|
|
Almost sounds like something that firewall software (or hardware) can do. just a guess though.
There are three types of people in this world: those who can count, and those who can't.
|
|
|
|
|
When you manualy connect all the filters in a filtergraph, do you have to also deconnect them all manualy before you release the filtergraph?
[VISUAL STUDIO 6.0] [MFC] [WIN98/2]
Bluute tette!
|
|
|
|
|
BOOL Beep(DWORD dwFreq, DWORD dwDuration)
Why the Beep function doesn't work corretly in some computer ??
In my program in vc6., in some computer produce the same sound with diferents values of dwFreq and dwDuration.
Any idea ??
Thanks,
Cris.
|
|
|
|
|
Hi,
perhaps: see in your msdn
SystemParametersInfo with SPI_SETBEEP, SPI_GETBEEP
DanielO
|
|
|
|
|
Ok, I made this, but it also doesn't work. The function always return Beeper is On.
Cris.
|
|
|
|
|
Hi there,
how hard is setting up MSVC6 to work with CVS and have a really comfortable checking in/out? CVS runs on a different box in my local LAN.
I was told to have a look on wincvs (GUI for CVS)... any alternatives or plugins for VC?
Thanks for your feedback, Moak
|
|
|
|
|
Try CS-RCS
http://www.componentsoftware.com/products/rcs/
Jonathan de Halleux, Belgium.
|
|
|
|
|
WinCVS is very nice!
/ravi
Let's put "civil" back in "civilization"
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
Hi, I have setup our CVS server on a solaris machine for all our development. My development is primarily done with VC6 on another Win2K box.
By using Jalindi Igloo I get automatic SCC integration within VC6 just as if I were using Visual SourceSafe ( thank god I don't anymore! ).
So assuming you have CVS set up properly, get igloo from
Jalindi Igloo
It is a breeze to install and I have had almost no problems using it.
WinCVS is fine but does not integrate into VC6
One note (this applies to both WinCVS and Igloo): if you are using cvs and using ssh authentication then life is not so easy. This is partly in the way ssh works in WIn32 (or at least that is the claim). Each CVS command will need to be authenticated with a password (as opposed to a login you do once in pserver mode) which can be automatic if you have run keygen and uploaded the info to the server, otherwise a blank dos window will popup and you must enter your password - not very intuitive since there is no text in the DOS box to indicate this !
You can tell your authentication by looking at the CVSROOT that you use:
if it is
CVSROOT=:pserver:username@cvs_server_ip:/dir/to/cvsdir
this is the default pserver mode, which is what most people set it up for
anything else will use a different form of authentication
Cheers !
|
|
|
|
|
Hi ,
i can not create a MCI window that appears inside the client area of the MainFrame. They 're always outside. Any solutions about this ?
thanks for advance
|
|
|
|
|
Hello all.
I am developing a software for Japanese. This program to simulator user action. My software is failed when I catch WM_KEYDOWN message of Internet Explorer applications. Its parameter is not correct. wParam always is zero. This error only occurs when I type Japanese characters. Who can solve this problem please send it to me. My e-mail addres is Binhnvit@Yahoo.com
Thank you
|
|
|
|
|
Hi,
is your software unicode compiled ?
japanese,chinese do use extension char sets
DanielO
|
|
|
|
|
Hello,
i have to debug a service intensively. But it's not possible with normal
tools. So i want to write a little C++ Class which uses UDP Socket with one Function Send(CString _somewhat). All the other stuff should be hardcoded.
But i failed, because i don't have an UDP Example. I've tried mswinsck.ocx and the code from Nishant. But both looks not very smart for me.
Has anybode coded something like that or has a UDP Send via Socket
example for me?
Marco
|
|
|
|
|
Koep wrote:
But it's not possible with normal tools.
Well, it is possible, but there is a limitation - it is difficult to debug start of the service.
Try to put the call to DebugBreak() function to a place where you want to start to debug your service, it must be after startup code and there should not be any communication between your service and SCM after this call.
Or, design your service in a way, when you can compile two versions of it - one service version and one application version.
Martin
--------------------------------------------
C'mon we all know computers are experimental devices and should only be used for playing games.
Using them for alternative stuff like business, is clearly not using them for what they are intended.
Colin Davies
|
|
|
|
|
Or, design your service in a way, when you can compile two versions of it - one service version and one application version.
Thats the way i did it till now. But i use COM Interfaces and have to test all of Addref and Release stuff. Whats happend when DebugBreak() is executed ?
I can't get much information from the help.
The Service should be running again after the interruption.
Marco
|
|
|
|
|
Hi,
we recently discuss if std::vector gives me access to a linear memory chunck or not. For example 'Effective STL' from Scott Meyers mentions in item 16 that vectors "have the same underlying meory layout as arrays".... e.g. ideal for pasing data to API calls.
Well, the standard (http://www.sgi.com/tech/stl/[^]) on the other side does not literaly define this behaviour. So, the question is.... do STL implementation guarantee vector holds a linear memory (mean unsegmented here)?
Greets, Moak
|
|
|
|
|
I remember reading somewhere (CUJ ?) that C++ Standard Commitee is considering an addendum to the Standard which explicitly states that vector uses 'linear memory chunk' or whatever they decide to name it However, I can't provide you with a link. But I think you're safe with assumption that vector has linear buffer. Performance would be heavily crippled otherwise.
Tomasz Sowinski -- http://www.shooltz.com
"Yields falsehood when preceded by its quotation" yields falsehood when preceded by its quotation.
|
|
|
|