• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 164
  • Last Modified:

Converting VB data types to C data types

I have a VB app that calls a c dll.  One of the parameters in the C dll is a char.  How do I call this function from the VB app so that it passes the correct data.
0
edhill
Asked:
edhill
1 Solution
 
RentRightCommented:
chr(character code)

if you want to pass an 'A'
chr(65)
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now