I am implementing security on Contact base smart card which follows scosta template.In card structure ef is directly under DF and DF is directly under MF. According to the template i am implementing security on elementary file(both sac and sae attributes are specified at time of creation in fcp) according to security condition read and update of record requires verification of pin(which is already defined in pin file).
Problem is that after implementing the security attributes on card now also my card is not following that,after selecting the file i can directly read and write on record, card does not ask for verification of pin.
In MSDN: "The MCIWndSetRepeat macro only affects playback that the user initiates by hitting the play button on the toolbar. It will not affect playback started with the MCIWndPlay macro."
In my application, user cannot see the toolbar beacause it is a background music. So the MCIWndSetRepeat didn't work.
Thanks. Does it mean I should use mciSendCommand() function instead of MCIWndPlay()?
I have tryed mciSendCommand(), but it seems cannot play same music at the same time, such as a gun fire after another (play gunFire.mp3 at 0:00, and anther at 0:03 without stop pre one). The MCIWndPlay() can handle this issue, this is the reason for that I prefer to use it.
Use CreateDirectory(_T("C:\\test"),NULL) (to be independent of Unicode/ASCII build settings) or CreateDirectory(L"C:\\test",NULL) to explicitly use a Unicode string.
A TCHAR can either be an 8-bit character, or a 16-bit character, depending on various macro definitions. Whenever you see LPCTSTR or LPTSTR, use _T() around a literal string definition (as I showed above) to ensure you use the correct character type. Also, use TCHAR* or LPTSTR rather than char* or wchar_t* to make character pointers.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p