I just want to make a driver in the LabVIEW for my own device, I had follow the "Using External Code in LabVIEW" manual and maden a empty dll projecte to finish the development. But after I got a .lsb file and put it into my vi,it doesn't work well. There are a messagebox show "0x100012d3" commond call the "0xcccccccc" memory, it couldn't be "written". I don't know what had caused this. Can you tell me? and I want to debug it,but the VC++6.0 ask me to enter the Executable file,but you know the code is for builting a dll,how can I debug it? I eager to get your answer quickly. Thank you very much.The appendix is my main code.