Hi,
im at uni doing a project using the FTDI USB chip. It allows you to connect to it using a dll and control its logic pins.
I can connect to it fine in visual basic 6. But im trying to get it working in vb.net so i can start getting familiar with .net and vb.net does multi-threading.
Ive copied the code from vb6 directly to vb.net and it seemed to compile fine so im assuming there are no language differences. But when i try to use the code i get errors returned from the dll and it wont allow me to connect.
Is there anything i should be doing or is the dll just not compatible with .net - but i thought dlls were usable by any language?
ive attached my code that just opens and closes the connection to the FTDI chip for you to have a look at.
Has anyone got any electronic books on vb.net, advanced features such as API calls, dll imports, mutli-threading? my book doesnt cover it.
Many Thanks
im at uni doing a project using the FTDI USB chip. It allows you to connect to it using a dll and control its logic pins.
I can connect to it fine in visual basic 6. But im trying to get it working in vb.net so i can start getting familiar with .net and vb.net does multi-threading.
Ive copied the code from vb6 directly to vb.net and it seemed to compile fine so im assuming there are no language differences. But when i try to use the code i get errors returned from the dll and it wont allow me to connect.
Is there anything i should be doing or is the dll just not compatible with .net - but i thought dlls were usable by any language?
ive attached my code that just opens and closes the connection to the FTDI chip for you to have a look at.
Has anyone got any electronic books on vb.net, advanced features such as API calls, dll imports, mutli-threading? my book doesnt cover it.
Many Thanks