|
It has been a couple of days as I am trying to emulate Ctrl-Alt-Del action on Windows NT.
It turns out that there is no any API similar to 'LockWorkStation' supported in Windows 2000/XP.
Recently I found out that there is one undocumented function in User32.dll named 'LockWindowStation'. Does anybody know how I can make use of it? Or does anybody know how can I emulate Ctrl-Alt-Del on Windows NT at all?
Thank You in advance.
Hovo
|
|
|
|
|
I think 'LockWorkStation' supported in windows 2000/xp,'emulate'? what's mean? Is forbid Ctrl-Alt-Del?if you will forbid Ctrl-Alt-Del,that's easy. if you are imitative of the login interface of win2000/xp, you can replace file "gina.dll" to your own gina.dll
|
|
|
|
|
Hello,
I want to implement XP Visual Styles for a MFC DLL. I've read many infos about it in the web but I have still problems.
So what I have done:
resource.h
#define MANIFEST_RESOURCE_ID 2
I imported a new resource with the type 24 as MANIFEST_RESOURCE_ID. So the .rc file looks like:
MANIFEST_RESOURCE_ID 24 MOVEABLE PURE "res\\MyDlgDll.dll.manifest"
stdafx.h
#define ISOLATION_AWARE_ENABLED 1
compiler otion:
/D "ISOLATION_AWARE_ENABLED"
When I build the project with VC8 it works fine: The main application can have the visual styles disabled while the DLL always uses XP styles.
But I must build the DLL with VC6 and this doesn't work. I have installed the newest Microsoft Platform SDK for Windows Server 2003 R2 where I can see in commctrl.h the #if def section for the ISOLATION_AWARE_ENABLED stuff.
I have adjusted the VC6 path to the new include dirc of the platform SDK. But I still use the old VC6 libs because the plaform SDK has no X86 builds of the LIBs.
Maybe the problem is the linking of my dll fo mfc42? (When I comile with VC8 the dll is linked mfc80).
Can someone help me?
THX
|
|
|
|
|
When I go to set break point in my code , I am facing this error message from IDE.
“ One or more breakpoints cannot be set and have been disabled. Execution will stop at the beginning of the program.”
There is no break point in my code.
How to solve this problem ?
-- modified at 8:21 Saturday 15th April, 2006
|
|
|
|
|
This problem happens with MSVC when you place a BP and try to debug the program but the module that contains the BP isn't loaded yet. All you can really do is wait for the module to be loaded then re-insert the BP or use WinDBG (or another debugger which) allows you to place breakpoints in modules which are not yet loaded.
Steve
|
|
|
|
|
It's possible that your source code may not be in sync with your binaries. Try rebuilding the entire project (esp. any libraries or DLLs you link with) and see if that helps.
/ravi
My new year's resolution: 2048 x 1536
Home | Music | Articles | Freeware | Trips
ravib(at)ravib(dot)com
|
|
|
|
|
Check wether its in release mode .
Regards,
FarPointer
|
|
|
|
|
Hi,
I actually I've to complete my project asap.I just have to display the database(MSACCESS) thru comboboxes.I just have to display the corresponding products,of say 1st combobox in 2nd combobox.How do I do it,where should I write the code.
pls hlp
swapna_signsin
|
|
|
|
|
Hi
Please try to use DAO in your program. More help is available in MSDN
regards
KK
|
|
|
|
|
Hi
Write combo box change message function for 1st Combo Box
In the function clear 2nd combo box and write query corresponding to the value of first combo box
regards
KK
|
|
|
|
|
Hi All,
I am trying to implement a SampleGrabber filter which takes two input and gives an output.
My actual requirement is I want to replace an audio stream in any media file with my own audio stream.
Can anybody help me out in this.
Thanks in Advance
Poornima
|
|
|
|
|
Sample application is available in DirectX SDK
Samples\C++\DirectShow\Editing\SampGrabCB
Use ISampleGrabberCB. For more help search in MSDN.
Regards
Amar.
|
|
|
|
|
Hi Amar,
I created time line object to mix audio and video files. It is working fine and thanks for the help.
How can I save this to a destination?
Regards,
Poornima
|
|
|
|
|
Hello!
I want to write a program that releases files that are in use by something I don't know...
Actually, I don't know where to start... If someone could help, I would be very thankful...
Thanks in advance!
|
|
|
|
|
check for CTL_E_FILEALREADYOPEN.
If the file is already open you would need to create a custom method for
CUSTOM_CTL_SCODE and then you can release the file you intend to use.
May be this can help you.
Vision is Always important and so is your ATTITUDE.
Wishes.
Anshuman Dandekar
|
|
|
|
|
I didn't understand what you mean... Maybe you can better explain yourself?
Thanks!
|
|
|
|
|
hey
can someone assist me with a small problem.
i have a project which has to be implemented in english as well as japanese.
in english i have a string on which a check of 64 characters is applied. but when japanese characters are stored in it it accepts only 34 characters.
_T macro did not work as well as the string is defined to be of CString type.
please help......
Amita Sapra
|
|
|
|
|
Get the Buffer from the Cstring and apply the
_mbslen function on it
hope it works
Knock out "T" from CAN'T
You 'CAN' if you think you 'CAN'
|
|
|
|
|
I debug a c++ program and the program supposed to write out a numerical (float type) array into a file. The number should be decimals with 3 digits, but I got the file looks like:
test Point# 1
-1.#IO -1.#IO -1.#IO
-1.#IO -1.#IO -1.#IO
-1.#IO -1.#IO -1.#IO
-1.#IO -1.#IO -1.#IO
-1.#IO -1.#IO -1.#IO
-1.#IO -1.#IO -1.#IO
-1.#IO -1.#IO -1.#IO
-1.#IO -1.#IO -1.#IO
-1.#IO -1.#IO -1.#IO
-1.#IO -1.#IO -1.#IO
-1.#IO -1.#IO -1.#IO
What is the problem ? How to fix it ?
Thanks
|
|
|
|
|
please post the code as well, will get an answer quickly that way
(seems like a formatting problem to me incorrect %d may be, hard to say without looking at code)
*radio crackle*
The cucumber has left the salad
- I say again -
The cucumber has left the salad
David in soapbox
|
|
|
|
|
The problem appears not to be due to the formating because when I use stop points to
print the value during debug I got the same problem: -1.#indo
........................
..............
fprintf (f_ptr5, "%s %i \n", "testor#", m_p_testor_no+1);
for (i=0;i
|
|
|
|
|
would it like to know how to divide at several quadrants a Form ? would like to know how to count Label of Panel, not Form? would it like to know how to divide at several quadrants a Panel?
All this using C++ Builder 6
I can learn mora about c++
|
|
|
|
|
Try "C++ Builder forums", like this[^].
Maxwell Chen
|
|
|
|
|
if i type code why doe it not work what would be the right way
int a;
a=5;
textBox1->text = a;
it does not display 5 it gives an error
thanks
morgus
|
|
|
|
|
your text box would be containing the sring value. you can assign
textBox1->text="5";
Cheers
"Peace of mind through Technology"
|
|
|
|