|
I created a browser using CHtmlView and I want to know how can I override the IE Download Dlg to my own one ?
BLaZiNiX
|
|
|
|
|
How do programs get new versions of themselves from the internet and automatically upgrade themselves? Isn't the .EXE protected from being overwritten? How can your program change itself if it is running? Oh the questions...
-Jason
nirgle.bitdevil.com
SonorkID: 100.12194
|
|
|
|
|
It's Easy, you need a Program that Check the Versions That you are running
with the Version in the Server...
I do this...
When you start your application, you start the versionchecker,
If the Version in the server is greater than your App version, this program down the new version, and run the app in your machine, if the verision that you have is the same, directly run the app in your machine... It's Easy
Best Regards!!!
I and CP Hip!!! Sorry
Carlos Antollini.
Sonork ID 100.10529 cantollini
|
|
|
|
|
Such an obvious and simple solution that I never even thought of it
Thanks!
- Jason
SonorkID: 100.12194
's your uncle
|
|
|
|
|
Hmm... how about the uninstall program deleting ITSELF??? OH! Hit me with another under-my-noser.
- Jason
SonorkID: 100.12194
's your uncle
|
|
|
|
|
LOL... but the solution exists. There's an auto deleting .exe sample here at CodeProject or CodeGuru (don't remind exactly).
It's a recent article I saw in december or November.
Yarp
|
|
|
|
|
What are .make/.mak files for??? I always saw them in some c/c++ project but i have no idea what they are actually for, can anyone explain?
Kuniva
--------------------------------------------
God gave man a penis and a brain but not enough blood to make both of 'em work at the same time.
|
|
|
|
|
if you've ever done ANY C++ programming outside of VC then you'll know all about makefiles.
They are the text-based equivalent of your project options. They tell the compiler (gcc/++ in most cases) what files to compile and how to compile each one, etc etc
: Wherever you go, there you are, and you wish you were somewhere else :
|
|
|
|
|
Does anyone have a solid example on how use SendInput(). All the examples that are out there, are in VB.
Also, see my memcpy() statements. Am I copying a structure into a structure of a structure properly?
<br />
BOOL fNumLockState;<br />
BYTE keys[255];<br />
INPUT inp[2];<br />
KEYBDINPUT kbi;<br />
<br />
<br />
GetKeyboardState( keys );<br />
<br />
fNumLockState = keys[VK_NUMLOCK];<br />
if( !fNumLockState )
{ <br />
kbi.wVk = VK_NUMLOCK;<br />
kbi.wScan = 0;
kbi.dwFlags = 0;
kbi.time = 0;
kbi.dwExtraInfo = 0;
<br />
memcpy( &(inp[0].ki), &kbi, sizeof(kbi) );<br />
inp[0].type = INPUT_KEYBOARD;<br />
<br />
kbi.dwFlags = KEYEVENTF_KEYUP;
<br />
memcpy( &(inp[1].ki), &kbi, sizeof(kbi) );<br />
inp[1].type = INPUT_KEYBOARD;<br />
<br />
if( SendInput( 2, inp, sizeof(inp) ) != 2 )<br />
{<br />
TRACE(_T("SendInput error [%d]"), GetLastError() );<br />
} <br />
} <br />
Marcus
Make no little plans; they have no magic to stir your blood to action. Make big plans, aim high in work and hope
-- Daniel Burnham
|
|
|
|
|
figured it out...
the line:
if( SendInput( 2, inp, sizeof(inp) ) != 2 )
should be...
if( SendInput( 2, inp, sizeof(INPUT) ) != 2 )
Marcus
Make no little plans; they have no magic to stir your blood to action. Make big plans, aim high in work and hope
-- Daniel Burnham
|
|
|
|
|
Hi, i need the function to get a machine's ip address. I remember there was a simple function for this without MFC allthough it doesn't really matter if its with MFC or not. I just forgot it and cant find it anymore. So i'd be thankful if someone could tell me. Many thanks.
Kuniva
--------------------------------------------
God gave man a penis and a brain but not enough blood to make both of 'em work at the same time.
|
|
|
|
|
Someone post this link in another post.
Jon Sagara
What about ?
|
|
|
|
|
gethostbyname()
"Needless redundancy is the hobgoblin of software engineering." - Peter Darnell
|
|
|
|
|
erh... this is gonna sound silly but how do i convert a const char* to a CString??? I guess working with CStrings all the time has kind of killed my knowledge of chars and pointers...
Thanks again for your answer.
Kuniva
--------------------------------------------
God gave man a penis and a brain but not enough blood to make both of 'em work at the same time.
|
|
|
|
|
CString strText;
strText.Format(_T("%s"), szString);
Marcus
Make no little plans; they have no magic to stir your blood to action. Make big plans, aim high in work and hope
-- Daniel Burnham
|
|
|
|
|
or more simply....
CString strText(szString);
John
|
|
|
|
|
you can just go CString str = (some char*) and it'll work
: Wherever you go, there you are, and you wish you were somewhere else :
|
|
|
|
|
I am trying to start off and make an MP3 player using DirectX. But i need to know where to start. If anybody can give me anyhelp on getting started on this small project it would be greatly appreciated.
thebh_bad
|
|
|
|
|
There's full source on CP, look for MPEG and you'll find the article. It's in C though, so it only allows one song played at a time ( it's all done using global variables and functions ). There's plenty of info on mp3 decoding on the net, just fire up google and search for 'mp3 c++ source'.
Christian
I have come to clean zee pooollll. - Michael Martin Dec 30, 2001
Sonork ID 100.10002:MeanManOzI live in Bob's HungOut now
|
|
|
|
|
Hi everyone,
I need to programatically mute the volume of the soundcard in a machine (just like clicking on the volume control icon in the tray.
Anybody know a quick way of doing this?
Cheers,
Paul
|
|
|
|
|
I'm not a multimedia seasoned pro, but have a look at waveOutSetVolume() or any of the other functions under Windows Multimedia in the Platform SDK in the MSDN library. That's where I'd start.
J
|
|
|
|
|
Thanks for pointing me in the right direction Jamie.
Cheers,
Paul
|
|
|
|
|
I am having an intermittent problem with a DLL function call and thought that the PWALK Platform SDK tool would help me debug things.
However although I got the project to compile it doesn't seem to work. I am running on NT and there is an MSDN article that suggests this only works in 16 bit land. Has anyone got this to work on NT, or has used an equivalent tool?
Ta
Jim
|
|
|
|
|
Has anyone had any experience trying to display CMYK Color Space TIFFs using GDI+ and the Image/Bitmap class?
The TIFF when displayed has the colors all messed up. A corresponding TIFF in the RGB color space displays just fine.
Thanks
Andy Brace
SW Development Engineer II
Qwest
A clear conscience is usually the sign of a bad memory.
|
|
|
|
|
Hi,
I have a dialog having several conrols eg. CEdits, CListbox, and CGridCtrls (MFCGridCtrl in my problem).
When I want to click a button in my dialog
First I want to get a list of all controls and then
get handles/pointers to a certain kind of control (eg CGridCtrl).
I tried GetActiveWindow, GetNextWindow, FindWindow("CGridCtrl", NULL)
but I could not manage.
Any idea?
|
|
|
|