|
Hi All,
I want to provide username and password in the winlogon dialog box using my service without using my custom GINA.dll . I am using Windows notification packages. Is it possible to do so?
Whenver my service locks the computer my service will unlock it automatically after some time inverval. Is there a way to interact with the Winlogon.exe(msgina.dll) for this pass through authentication.
Recentrly I installed Logmein and it has this kind of feature implemented. You remote control a PC using logmein and if a computer is locked or logged off it automatically logs in or unlocks the computer without reentering the username and password
|
|
|
|
|
hi,all
I want to do the lipsync for my cg animation. I think I have to get the time of Phoneme/Viseme
in the audio file. My questions are:
1.How to get the time of Phoneme/Viseme in audio file (e.g.wav/ogg/...)?
2.Can i get the Phoneme/Viseme in Ogg(or other format) file if any?
3.I know Microsoft Agent 2.0 Tool:Linguistic Information Sound Editing Tool can generate *.lwv file
from *.wav, and *.lwv contains the information of Phoneme/Viseme.
But, it seems that the fomat of lwv file is not open. So, Is there any way to get
the time of Phoneme/Viseme in lwv file?
4.Or, Is there any free software available which can generate the Phoneme/Viseme information
from audio file?
Sorry for my english. And Thank you in advance.
|
|
|
|
|
Wrong forum
Величие не Бога может быть недооценена.
|
|
|
|
|
Then tell him what the right forum is.
|
|
|
|
|
Sorry for the delay
i think it will be more suitable forum than this
General-IT-Issues.aspx[^]
Величие не Бога может быть недооценена.
|
|
|
|
|
Hi there,
this might be a slightly stupid question, but when I write a single BYTE into a file (using ofstream), does it need to be null-terminated? Do BYTE streams generally have to be?
Example code:
char* buf = new char[128];
sprintf_s( buf, 128, "TestOutput/RTPEngineBin%04d.out", m_iFileCount );
m_oStream3.open(buf, ios::out|ios::binary);
if( !m_oStream3 )
{
}
for( int i = 0; i < 12; i++ )
{
m_oStream3 << header[i];
}
m_oStream3 << data;
m_oStream3.flush();
m_oStream3.close();
delete [] buf;
This is a small rtp package. Header has 12 bytes and the payload is just a single byte.
Cheers
Souldrift
|
|
|
|
|
Souldrift wrote: when I write a single BYTE into a file (using ofstream), does it need to be null-terminated? Do BYTE streams generally have to be?
No to both. NULL-termination is merely a C convention for the representation of strings.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
Souldrift wrote: Do BYTE streams generally have to be?
Short answer is no.
Since it is your application it is your decision. The only thing to bear in mind is that the program that reads the file needs to understand, and use, the same format rules as the program that writes it.
|
|
|
|
|
Thanks. That´s what I thought. Only someone asked me a question about the topic and got me quite confused.
Souldrift
|
|
|
|
|
hi friends,
i have a small problem, i just want to know how to differentiate between the png images
which are having some transparent area and which are without transparent area. Can this be a solution: "pixel by pixel scan the image and check the alpha value of each pixel"
Is there any other way of handling the same. i am using GDI+ for the above.
Thanking in Advance
Samir Satardekar
|
|
|
|
|
Hi Samir,
The PNG image has an image header called the IHDR chunk. It contains a single BYTE 'Color Type' value and will be 4 or 6 if the PNG image supports alpha transparency. You can either read this value manually or use GDI+ to read this value.
The Image::GetFlags method[^] will return a ImageFlagsHasAlpha value[^] if the image supports transparency.
Best Wishes,
-David Delaune
|
|
|
|
|
Thanks Sir David.. it really helped me.. thanks for being kind...
Regards
Samir
|
|
|
|
|
I have application setup that is written in Installshield for Visual C+ 6.0. It has some scripts.Scripts is involved to call the dll functions(dll functions are written by us) that dll is also a part of product setup. Now We need to convert this setup to MSI. How to convert ? how to convert these scripts to msi callable scripts (means how to call the dll functions in msi setup ) Please advice or suggest more on this.
|
|
|
|
|
Hi All,
I have developed an application in MFC that is showing the SMART values of SCSI hard disk with the help of scsi commands.The scsi commands needs a dll named wnaspi32.dll(Adaptec) and sys file named aspi32.sys(Adaptec) for building the ASPI layer in Windows XP operating system.Its working well in Debug mode but it fails in Release mode.Can anybody please tell me how to make it run successfully in Release mode or any other way to implement scsi commands?
Thanks
Abinash Mohanty
|
|
|
|
|
Abinash Mohanty wrote: Its working well in Debug mode but it fails in Release mode.Can anybody please tell me how to make it run successfully in Release mode or any other way to implement scsi commands?
Highly unlikely since you've failed to isolate and describe the problem. At a minimum, I suggest reading here.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
Abinash Mohanty wrote: Its working well in Debug mode but it fails in Release mod
This type of thing is very common and has even happened to me a few times. It may be an uninitialized local variable being initialized to 0xccccccc and works great in Debug mode. In Release mode perhaps a check for NULL may be the cause of the problem. There are many other reasons why this could be occuring. You should probably begin by reading the article by Dr. Newcomer.
Surviving the Release Version[^]
You could also spy on the SCSI bus and check if your commands are reaching the target.
Good Luck,
-David Delaune
|
|
|
|
|
1. Check the C++ head file include path are there in Project Property Setting.
2. Check the *.lib file added in Project Property Setting.
3. Clean the Build first.
4. Rebuild full project again.
|
|
|
|
|
1. Check the header file path included are there in Project Property Setting.
2. Check the *.lib and *.dll files added in Project Property Setting.
3. Clean the Build first.
4. Rebuild full project again.
Regards
GS
|
|
|
|
|
my program is the following
int m_nCurFrame;// extract the current frame from avi file
int m_nMax; //total frames in the avi file
BOOL bb;
CXXView::CXXView
{
bb = FALSE;
}
void CXXView::OnAutoProcessing()// this is a message handler from a menu button
{
while (m_nCurFrame++<m_nmax)
{
if(bb)=""
{=""
break;=""
}=""
.......="" procesing=""
~cxxview::cxxview=""
bb="TRUE;"
when="" i="" exit="" this="" program,="" the="" program="" always="" enter="" ~cxxview,="" then="" onautoprocessing(),="" because="" object="" is="" dead,="" so="" wrong,but="" want="" to="" entoirly,can="" you="" give="" me="" some="" advices?;
=""
how="" can="" call="" onautoprocessing="" before="" view's="" destructor="" called.=""
<div="" class="ForumSig">In near day,I want to change the TITLEBARINFO of my Program?
My code is following:
#include "winuser.h"
...........
...........
TITLEBARINFO bti;
bti.cbSize = sizeof(TITLBARINFO);
GetTitleBarInfo(GetParent()->m_hWnd,&bti);
But i can't compile these codes,can you tell me how to do?
My program is developed by VC++6.0 under Winxp.
|
|
|
|
|
|
BTW, you already asked the question yesterday[^] and people asked you the same question as I did. So, if you don't want to answer questions that people ask you, then don't expect a valid answer because your question doesn't make a lot of sense...
And, what is your signature for ? You've put a question in your signature ?
|
|
|
|
|
I smell some sort of mistake with the coding.
Well ur information is too little to get the overview.
Величие не Бога может быть недооценена.
|
|
|
|
|
As Cedric said - you asked this exact same question yesterday.
I replied to it already, asking for specific extra information: http://www.codeproject.com/Messages/3178744/Re-how-can-i-exit-the-program-entirely.aspx[^]
1/ You didn't work out that maybe you should give that information if you want help.
2/ You emailed me directly with the original question (which I don't actually mind), and didn't even give the answer(s) to my questions.
I can see it now...
Patient 31219: "Dr, I am ill, please help."
Dr Iain: "I will be happy to help, Patient 31219. Please tell me something about your symptoms."
Patient 31219: Silence.
Next day:
Patient 31219: "Dr, I am ill, please help."
Dr Cedric: "I will be happy to help, Patient 31219. Please tell me something about your symptoms. Oh, didn't you see my colleague yesterday"
Patient 31219: Silence.
The next day:
Miss 31220: "Please, can you take my boyfriends body away. He died in his sleep, silently. He would have been my husband, but when I broke with chauvinistic convention and asked him to marry me, he never actually replied..."
Iain.
I have now moved to Sweden for love (awwww).
If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), or need cotract work done, give me a job! http://cv.imcsoft.co.uk/[ ^]
|
|
|
|
|
I've never understood the people who ask the same thing every day, expecting a different answer each time.
There's another repost two threads below, where the OP wants a string with its length being 72K+ to be passed in as a command line arugment.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Thats really sad, that they dont read the msdn for any API since in the later discussed case, the maximum is only 32 k.
Величие не Бога может быть недооценена.
|
|
|
|