Sign in to follow this  
Followers 0
brunomusw

Use DllCall or translate code?

5 posts in this topic

Hi..

I have a chip that is an USB to Serial converter, but it has a dll that i can program the chip for direct acess the chip's I/O.

The problem is that i don't know how to get start with this, i don't know if i acess direct the dll using the DllCall or if i translate the VB or Delphi code to autoit (how i already saw some topics about this)...

Here are the description of the Dll (driver).

http://www.ftdichip.com/Documents/ProgramGuides/D2XXPG34.pdf

And here are the examples code for VB or Delphi...

http://www.ftdichip.com/Projects/CodeExamples.htm

I think using the DllCall and create functions like Nwfu put on this topic:

http://www.autoitscript.com/forum/index.ph...=28112&st=0

Could be a good choice, could be like this?

I hope you could give me some tip to start...

Thanks...

Bruno

Share this post


Link to post
Share on other sites



Took a quick glance at the D2XX module for VB, and it would appear that you could translate the DECLARE statements into AutoIt DllCall functions fairly easily.

Share this post


Link to post
Share on other sites

Took a quick glance at the D2XX module for VB, and it would appear that you could translate the DECLARE statements into AutoIt DllCall functions fairly easily.

You mean to use this archive from VB?

http://www.ftdichip.com/Projects/CodeExamp...D2XX_Module.zip

Isn't easier to declare the functions direct using the DllCall like Nwfu said on this topic ?

http://www.autoitscript.com/forum/index.ph...=28112&st=0

Thnaks...

Bruno

Share this post


Link to post
Share on other sites

Yes, you would do it exactly like the post you referenced. Did you miss the word "translate" in my post?

Share this post


Link to post
Share on other sites

Yes, you would do it exactly like the post you referenced. Did you miss the word "translate" in my post?

Thanks....

I miss other thing in the other post... :D

Bruno

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0