sithara,
I also follwed the directions on page 3-14 of the Using External Code in LabVIEW manual except not including the Win32 directory instructions since this directory has been removed in LabVIEW 6.0.0 and above. I used the same set of instructions that you did as well. Are you building for the right configuration? Did you set the settings for debug, but are building under release? Also, make sure to include the four files (cin.obj, labview.lib, lvsb.lib, and lvsbmain.def). Without these files, the .lsb file will be created, but it will not work. My guess is that you are building in the wrong configuration because you should see a message that the custom build went successfully and you do not show that message in your post.
Randy Hoskin
Applications Engine
er
national Instruments
http://www.ni.com/ask