Click here to Skip to main content
15,898,374 members

Comments by Member 14630688 (Top 9 by date)

Member 14630688 15-Feb-20 7:26am View    
So to use ActiveX Labels I need MS Office? That's not fair. There might be some Microsoft tool which will install those necessary dll's or registries
Member 14630688 13-Jan-20 0:16am View    
I tried doing this. sscanf(fline,"N0010 (TOOL NAME: %s)",tname);

The actual line in text is 'N0010 (TOOL NAME: 10R1)'

In tname I get "10R1)" I dont want the last brace ')' I just want output to be '10R1'
Member 14630688 26-Dec-19 8:01am View    
I have tried debugging.Issue is not with the code.This software works perfect on other 64 bit systems but there client system where it is crashing. Actuall this code is to abort the file transfer process.
Member 14630688 26-Dec-19 5:50am View    
What if I install VS 6 on a pc which doesn't have MS office on it and build the code?
Member 14630688 26-Dec-19 0:31am View    
This is the code where my application crashes. I have tried debugging this code but it works perfectly fine on my pc


void CPDncView::OnAbortall()
{

int iRet=AfxMessageBox("Are you sure you want to abort all machines",MB_YESNOCANCEL);
if(iRet==IDNO)
return;
if(iRet==IDCANCEL)
return;

int prevActChan = iActiveChannel ;

for (int j = 0 ; j <= 16; j++ )
{
iActiveChannel = j;
sio_AbortWrite(objChannelInfo[iActiveChannel].iPortNo);
if (objChannelInfo[iActiveChannel].bChannelStatus==_FREE)
continue;
objChannelInfo[iActiveChannel].bAbort = TRUE;
bExitFlag[iActiveChannel]=objChannelInfo[iActiveChannel].bChannelStatus=_FREE;
objChannelInfo[iActiveChannel].iTranRece = 0;
int i = SetEvent(hEvent[iActiveChannel]);
sio_AbortRead(objChannelInfo[iActiveChannel].iPortNo);
bDirect = FALSE;
//arDirect[iActiveChannel]=0;
::Sleep(1000);
//objChannelInfo[iActiveChannel].im_direct = 0;
}
iActiveChannel = prevActChan ;

}