| | |
convert these C++ codes to VB .NET ?
Please support our C++ advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Jul 2007
Posts: 5
Reputation:
Solved Threads: 0
Dear Friend,
How to convert these codes into VB .NET ?
Tks,
hendy
===============================
How to convert these codes into VB .NET ?
Tks,
hendy
===============================
C++ Syntax (Toggle Plain Text)
BYTE cmd[NumMsg][7]={{0x00,0xA4,0x00,0x00,0x02,0x02,0x47}, {0x00,0xA4,0x02,0x00,0x02,0x01,0x02}, {0x00,0xB0,0x00,0x00,0xff,0x00,0x00}}; BYTE DataLength, pData[10], ResponseDataLength; BYTE pResponseData[100]; INT16 TimeOut=50, i, CardFrameSize; char pdata[500]; char *ATS_ATQB; CardFrameSize=0; pdata[0]='\0'; ResponseDataLength=0; if (PICC_RATS(rHandle, 4, &ResponseDataLength, pResponseData)>=0) { CardFrameSize=pResponseData[1]&0x0f; } for (i=0; i<ResponseDataLength; i++) { StrMsg.Format(" %02X", pResponseData[i]); strcat(pdata,StrMsg); } ACR120_API INT16 AC_DECL PICC_RATS(INT16 rHandle, UINT8 FSDI, UINT8 *atslen, UINT8 *ats);
![]() |
Similar Threads
- convert to C# from C++ (C++)
- sending sms using vb.net (VB.NET)
- Need help with ms access and vb.net (VB.NET)
- 1 .Exporting data from Dataset to XLl sheet in VB.net Windows Application &vice versa (VB.NET)
- Translating from Matlab to C (C)
- URGENT!: Saving Database information from ASP.NET Button (ASP.NET)
- Anyone a VB.NET Guru? (VB.NET)
- My first attempt at ASP.NET... (ASP.NET)
Other Threads in the C++ Forum
Views: 1347 | Replies: 0
| Thread Tools | Search this Thread |
Tag cloud for C++
6 add api array arrays beginner binary bitmap c++ c/c++ calculator char class classes code compile compiler console conversion convert count data delete desktop directshow dll encryption error file forms fstream function functions game getline givemetehcodez google graph homeworkhelper iamthwee ifstream input int integer java lazy lib linkedlist linux loop looping loops map math matrix memory microsoft newbie news node number output parameter pointer problem program programming project proxy python random read recursion recursive reference return sort string strings struct studio system template templates test text tree unix url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets





