|
Dear all,
I get a program that can recognize reader type (contact or contactless reader) before any smart card is inserted into reader.
Generally I used SCardEstablishContext[^] and SCardListReaders[^] functions in order to load name of readers.
I usually use winscard in visual C++ 6.0.
Those two function have just two dynamic variable, handle of reader and list of reader name.
Do anybody know how separated contact reader type from contactless reader type without insert any smartcard?
Please help me...
Thanks before....
|
|
|
|
|
Dear all,
I get a program that can recognize reader type (contact or contactless reader) before any smart card is inserted into reader.
Generally I used SCardEstablishContext[^] and SCardListReaders[^] functions in order to load name of readers.
Those two function have just two dynamic variable, handle of reader and list of reader name.
Do anybody know how separated contact reader type from contactless reader type without insert any smartcard?
Please help me...
Thanks before....
|
|
|
|
|
Message Closed
modified 19-Feb-21 1:21am.
|
|
|
|
|
I seriously doubt Eka is still looking for an answer 11½ years later.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Hi
I use VC++8 environment to execute my first program in c ,but the following error appears (why???):
Project : error PRJ0003 : Error spawning 'rc.exe'.
my program is:
#include <stdio.h>
void main()
{
printf("Student \n");
}
Thank you
thank you
soso
|
|
|
|
|
Does this[^] help?
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Sometimes you just have to hate coding to do it well. <
|
|
|
|
|
anassamar wrote: Project : error PRJ0003 : Error spawning 'rc.exe'.
Does the file actually exist?
"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
|
|
|
|
|
Hi
How to make multipage tiff file ??
Thanks 
|
|
|
|
|
Check out: http://freeimage.sourceforge.net/[^]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
Peter Weyzen<br />
Staff Engineer<br />
<a href="http://www.soonr.com">SoonR Inc -- PC Power delivered to your phone</a>
|
|
|
|
|
Thanks for your replay ...
<code>CBitmap pBitmap[2];
pBitmap[0].LoadBitmap(L"1.tif");
pBitmap[1].LoadBitmap(L"2.tif");
CImageList imgl;
imgl.Create(500, 600, ILC_MASK | ILC_COLOR32, 0, 0);
imgl.Add(&pBitmap[0],RGB(0,0,0));
imgl.Add(&pBitmap[1],RGB(0,0,0));</code>
where i am going to right path ??
|
|
|
|
|
Hi,
I was just wondering if there is a way to find out in which function a release-version of your program crashes if you have the source code and a debug build available.
For example, your customer has a release version of test.exe, which uses to crash at the same offset all the time, say
"Application Failure test.exe 1.0.0.0 in test.exe 1.0.0.0 at offset 003f5d60"
is what he gets. Now I have the sourcecode, Visual studio, a debugversion of test.exe available. But what will the offset help me? Can I somehow find out to which function in my program code the address 003f5d60 corresponds?
|
|
|
|
|
|
Hi PJ,
Actually /MAPINFO:LINES was removed beginning with VS2005. It was probably removed due to the compiler optimizer.
Best Wishes,
-David Delaune
|
|
|
|
|
Thanks alot, this seems like a good start to me. However, I have a problem understanding what really happens here, I have a VC 6.0 project, and I get a crash report saying my app is crashing at
0038eb56
But the point is: my preferred load address in the map file says it is
00400000
To determine the line number, the document says to subtract the load address + 0x1000 from the crash address, which gives me:
0038eb56 - 00400000 - 0x1000 which will give a negative result.
So the crash address should always be greater than 00400000, or am I getting something wrong here?
|
|
|
|
|
|
If you can -- consider this alternate route -- catching your crashes and write a minidump file. You can set your own crashhandler with SetUnhandledExceptionFilter() and then using MiniDumpWriteDump.
Here's an example: Add Crash Reporting to Your Applications with the CrashRpt Library[^]
Users sends you the DMP -- which you can then load into the VC++ debugger -- and if you have the PDB file from that build.... you get what you need. It's very handy.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
Peter Weyzen<br />
Staff Engineer<br />
<a href="http://www.soonr.com">SoonR Inc -- PC Power delivered to your phone</a>
|
|
|
|
|
I'm trying to replicate the recipient text control from Outlook which converts the text typed into objects that contain the formats CF_TEXT, CF_UNICODETEXT and MsOffice8Recipent. I've created an IDataObject with the CF_TEXT format but I can't work out how to get it into the RichEdit control as an object. There is a sample on MSDN for inserting bitmaps that uses OleCreateFromFile() to create the object but I can't work out which OleCreate function to use for my object. OleCreateStaticFromData() returns invalid clipboard format and OleCreateFromData() generates the following exception: 'Unhandled exception at 0x7730de64 (ntdll.dll) in acc3st.EXE: 0xC0000005: Access violation reading location 0x0023ffff'. Can anyone suggest what I'm doing wrong?
|
|
|
|
|
I was going to comment on your question, but after checking the picture on your homepage, I think you are a wonderful and generous person, whose contribution to society is immeasurable!
|
|
|
|
|
Would you care to elaborate on that most bizarre response?
|
|
|
|
|
It's late, and the gun is scary! Sorry Steve, stupid English (feeble attempt at) humour!
|
|
|
|
|
The picture was taken on while on my brothers stag week and it's the first and only time I've fired a real gun. I'd no idea it would elicit that kind of a response!
|
|
|
|
|
The only one of these functions I ever used was OleLoadPicture() which I used to get a JPEG image loaded and displayed. This required the file to be read into memory first and then accessed via a LPSTREAM pointer.
You may find that OleLoadFromStream() offers similar capabilities. To be brutally frank I don't fully understand these functions, but I just did a lot of poking around until I got it to work.
|
|
|
|
|
Thanks for the info. It sounds like I might be able to use the OleLoad() function to do what I want. Someone really ought to write a book on what's going on inside OLE 
|
|
|
|
|
They did. It's called The NecronomiCOM .
|
|
|
|
|
Silly Hoplophobe.
The latest nation. Procrastination.
|
|
|
|