|
yup - doxygens cool...I havent fully explored it...drive safely....70 Deg F here....
Appreciate your help,
ns
|
|
|
|
|
Hey, does anyone know how to close a certain program that is running. I am making a toolbar to contol Kazaa and I found out how to open Kazaa but now I need to know how I can close it. Is there a message I send?? Thanks for any help.
|
|
|
|
|
Try using CWnd::FindWindow() to find its main window, then SendMessage() it a WM_CLOSE .
/ravi
Let's put "civil" back in "civilization"
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
|
Nice! Thanks for the link!
/ravi
Let's put "civil" back in "civilization"
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
Wow, thanks for the quick posts guys
|
|
|
|
|
Hello
It's a standard mfc control ? See a smaple a http://www.bacad.ch/listing.jpg
How can i implement it ?
thanks you
|
|
|
|
|
|
That's an explorerbar
http://www.exontrol.com
|
|
|
|
|
Hi there,
I'm interested in making a MS GINA replacement and using CryptoAPI. Can anyone tell me is it possible to use CryptoAPI calls before the user log in? Thank you very very much.
Also appreciate for any pointers.
Will
|
|
|
|
|
You can use almost all API's so I guess you can use the CryptoAPI from the GINA.
The problem, from a GINA dll, is often that a specific service not has started yet, and therefore you cannot do some things, so wait a bit and try again.
I have noticed a major difference between Win2k and WinXP when working with a GINA dll, there's things that is not started up in XP before the user logs on.
I mean, I have developed a GINA that uses voice auth. to log the user on. On Win2k it works fine, but XP reports that there are no soundcard present. The sound drivers don't get loaded before the first person logs on. (That makes it kinda difficult to record the users voice )
I use a virtual PC when developing GINA dll's, then I can do remote debugging, and actually single-step through the logon procedure
- Anders
Money talks, but all mine ever says is "Goodbye!"
|
|
|
|
|
one simple Q:
does .net use a lots COM ?
if so, i will not touch it.
thx
includeh10
|
|
|
|
|
And by the way what is wrong with COM?
|
|
|
|
|
Friends,
I want to use USES_CONVERSION macro and A2W/W2A macros in my Console application using Visual C++ 6.0. Can anyone tell me that in which header file these macros are declared ??
I am doing same in Visual C++ .NET and including header file atlbase.h and my program works normally.
But strange that whenever i include this header file in my Visual C++ 6.0 app, the compiler starts giving me errors in this headerfile. I am copying the first error below:
VC98\ATL\INCLUDE\atlconv.h(125)error C2440: 'return' : cannot convert from 'const char *' to 'const unsigned short *'
This should be noted i want to make both programs i.e VC++ 6.0 sample and VC++ 7.0 sample as UNICODE apps, and i have latest platform SDK installed.
|
|
|
|
|
Have you defined both UNICODE and _UNICODE macros?
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
USES_CONVERSION;
BSTR b = T2OLE("blbla");
http://www.exontrol.com
|
|
|
|
|
in my app, i need to run netscape browsers, of course, i need to find its exe file first.
i find the browser is really silly.
in version 4.5, it is named "netscape.exe" and in version 8.0, it is "netscp.exe".
if u have other versions of the browser, please let me know its exe name.
thx
includeh10
|
|
|
|
|
Netscape Version 6.0:
Netscape\Netscape 6\netscp6.exe
-Dominik
_outp(0x64, 0xAD);
and
__asm mov al, 0xAD __asm out 0x64, al
do the same... but what do they do??
|
|
|
|
|
I want to add some text to the end of a text file. The problem is that instead of adding, the program deletes the previous text and than writes the new text at the beginning of the file. What am I missing? Here's the code:
CStdioFile file;
file.Open("myfile.txt", CFile::modeCreate | CFile::modeReadWrite);
CString line = "bla-bla";
file.SeekToEnd();
file.WriteString(line);
file.Close();
|
|
|
|
|
CFile::noTruncate
Roger Allen
Sonork 100.10016
Were you different as a kid? Did you ever say "Ooohhh, shiny red" even once? - Paul Watson 11-February-2003
|
|
|
|
|
Hy everybody!
I have a litle problem here in my program, and I wondering if anyone could help me. Here it goes.
I have an application (my own, my precioussss ), and when I make use of an Dll or something else that create another dialog (invisible, I think) for making an connection or something, my application loses his focus
Does anyone knows how can I make my application don't loses his focus in this situation?
thanks for your attention,
cheers!
Ricky
|
|
|
|
|
I would simply call SetWindowPos to make the main dialog have the focus again.
But perhaps you can also use a special window style or just SW_HIDE to make the main window not losing the focus.
-Dominik
_outp(0x64, 0xAD);
and
__asm mov al, 0xAD __asm out 0x64, al
do the same... but what do they do??
|
|
|
|
|
Hello,
I'm making a wizard and on one of the pages the user should select a filename.
I could integrate a button which says 'select filename', make a CFileDialog variable and call DoModal and copy the selected name back into a field, but what I really want to do is display the CFileDialog as the content of my CPropertyPage instead of in a seperate window, of course without the Ok and Cancel buttons.
I searched for any pointers in Google and msdn but couldn't find anything that helps me going in the right direction.
Does anyone of you have any pointers or links to an example?
Wim
|
|
|
|
|
I'm afraid that the answer is that you can't do it. You can't contain any of the common dialogs in a property page, because they're implemented as modal dialogs, not modeless child dialogs. The 'select filename' button that launches a separate CFileDialog is your only option.
(This question is answered in the "Visual C++/MFC Frequently Asked Questions" article by Stingray Software in the MSDN Library, title "How do I embed a common dialog in a property page?")
"We are the knights who say Ni" (The Knights Who Say Ni)
|
|
|
|
|
But.. you can embed a common dialog inside another dialog and then call it...
And if you can do so, you'll be able to use the newly created dialog as a property page (This is only a suposition)...
Here's how to do it: (following the sample in the book) and referring to embed the common dialog inside a normal dialog...
- Create a new dialog.
- insert a group control where you'll want to get the common dialog inserted.
- change it's ID to: stc32(=0x045f)
if you cannot do it, contact me, I'll email you a sample (not in a property page but inside a dialog), the conversion should be easy...
Remember... I'm not sure if this work inside a property page, but it seems that it should do it...
Hope this helps...
|
|
|
|