ok first of all, don't call "_asm int 3" from CINLoad. Put the following code at the top of your CINRun
#ifdef _DEBUG
char msg[256];
sprintf(msg, "Attach to process %d and press yes to debug.", GetCurrentProcessId());
if(MessageBox(NULL, msg, "Debug", MB_YESNO|MB_ICONQUESTION|MB_SETFOREGROUND)==IDYES)
_asm int 3;
#endif // _DEBUG
You might have to include stdio.h,windows.h for this. Compile, attach lsb file to VI and run the VI. It should pop up dialog box telling you process# you want to attach to.
Note down the process number, launch VC, goto "Debug>>Start Debug>>Attach to Process" and choose LV process number. VC should bring up your .c file. Now click yes to the dialog box to dismiss it.
Now you can step through your CIN code. enjoy and
good luck!!
ARafiq