Click here to Skip to main content
15,905,679 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralProblem accessing C++ Win32 Dll from Managed C++/C# application Pin
s.m.shah6-Mar-08 23:19
s.m.shah6-Mar-08 23:19 
GeneralRe: Problem accessing C++ Win32 Dll from Managed C++/C# application Pin
toxcct6-Mar-08 23:30
toxcct6-Mar-08 23:30 
GeneralRe: Problem accessing C++ Win32 Dll from Managed C++/C# application Pin
s.m.shah6-Mar-08 23:41
s.m.shah6-Mar-08 23:41 
GeneralRe: Problem accessing C++ Win32 Dll from Managed C++/C# application Pin
toxcct6-Mar-08 23:56
toxcct6-Mar-08 23:56 
GeneralData in Memory Pin
Anu_Bala6-Mar-08 22:37
Anu_Bala6-Mar-08 22:37 
GeneralRe: Data in Memory Pin
CPallini7-Mar-08 0:29
mveCPallini7-Mar-08 0:29 
GeneralRe: Data in Memory Pin
Koder7-Mar-08 9:17
Koder7-Mar-08 9:17 
Questionabout return values.. Pin
savitri6-Mar-08 22:29
savitri6-Mar-08 22:29 
hi everyone,
good afternoon to all.rajesh is right i am girl not guy ok.. i have one function called writecard(),
long CACR120RWBLOCK1Dlg::writecard(BYTE BLCK, CString strData)
{
int ctr;
int x;
//writecard(BLCK,strData) = -1;
BYTE dout[15];
for (ctr=0;ctr<=15;ctr++)
{
dout[ctr]=atoi("");
}
x=strlen(strData);
for(ctr=0;ctr<=x-1;ctr++)
{
dout[ctr]=strData[ctr+1];

}
retcode = ACR120_Write(rHandle, BLCK, dout[0]);
//writecard(BLCK,strData) =retcode;
return retcode;
}
this function i am using in my main write function or in write function i am calling this function. but i am getting one problem is that the value of retcode is not assigning in main write function.please tell me how can write this function. in main write function is like this:
void CACR120RWBLOCK1Dlg::OnWrite()
{
BYTE BLCK;
BYTE ResultSN[11];
BYTE TagType[50];
BYTE ResultTag;
char SN[100];
int ctr;
int x;
//writecard()
BYTE dout[15];
BLCK =0;
sec = 2;
BLCK = sec * 4 + BLCK;
//retcode = ACR120_Write(rHandle, BLCK, dout[0]);
writecard(BLCK,m_MemId);
if(retcode >= 0)
{
}
else
{
messagebox();
}
}
please help me out.....
thanks in advance.
savitri:Confused | :confused:
GeneralRe: about return values.. Pin
toxcct6-Mar-08 22:33
toxcct6-Mar-08 22:33 
GeneralRe: about return values.. Pin
Rajkumar R6-Mar-08 22:53
Rajkumar R6-Mar-08 22:53 
GeneralRe: about return values.. Pin
Maxwell Chen6-Mar-08 23:08
Maxwell Chen6-Mar-08 23:08 
QuestionRe: about return values.. Pin
Rajesh R Subramanian6-Mar-08 23:15
professionalRajesh R Subramanian6-Mar-08 23:15 
GeneralRe: about return values.. Pin
Maxwell Chen6-Mar-08 23:17
Maxwell Chen6-Mar-08 23:17 
GeneralRe: about return values.. Pin
Rajkumar R6-Mar-08 23:56
Rajkumar R6-Mar-08 23:56 
GeneralRe: about return values.. Pin
toxcct6-Mar-08 23:58
toxcct6-Mar-08 23:58 
QuestionRe: about return values.. Pin
savitri6-Mar-08 23:25
savitri6-Mar-08 23:25 
GeneralRe: about return values.. Pin
toxcct6-Mar-08 23:28
toxcct6-Mar-08 23:28 
GeneralRe: about return values.. Pin
savitri6-Mar-08 23:49
savitri6-Mar-08 23:49 
GeneralRe: about return values.. Pin
toxcct6-Mar-08 23:54
toxcct6-Mar-08 23:54 
GeneralRe: about return values.. Pin
Rajesh R Subramanian6-Mar-08 23:59
professionalRajesh R Subramanian6-Mar-08 23:59 
GeneralRe: about return values.. Pin
toxcct7-Mar-08 0:06
toxcct7-Mar-08 0:06 
GeneralRe: about return values.. Pin
BadKarma7-Mar-08 1:02
BadKarma7-Mar-08 1:02 
AnswerRe: about return values.. Pin
Rajesh R Subramanian7-Mar-08 0:02
professionalRajesh R Subramanian7-Mar-08 0:02 
GeneralRe: about return values.. Pin
toxcct7-Mar-08 0:07
toxcct7-Mar-08 0:07 
GeneralRe: about return values.. Pin
Rajesh R Subramanian7-Mar-08 0:08
professionalRajesh R Subramanian7-Mar-08 0:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.