[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Convert C header declarations to VB module declarations

Posted on 1999-10-25
3
Medium Priority
?
329 Views
Last Modified: 2010-05-18
I am looking for anyone who has sufficient knowlege of both C and VB to take a C header file with DLL calling declarations in it and convert it to a VB module with the same declarations to allow calling the DLL functions.
I can provide the C sample calling code and header file.
Please contact me on phil@watin.com.au if you are interested and I will send the C files.
Phil
0
Comment
Question by:watin
3 Comments
 
LVL 3

Expert Comment

by:Iexpert
ID: 2158874
Padraig@Brady001.iol.ie
0
 

Accepted Solution

by:
Fantino earned 600 total points
ID: 2160834
It would be very easy to wrap the your c functions in com using the ATL Object Wizard, and call your C functions from VB using

Set objAny = CreateObject("C.Func.1")
objAny.CFunc1(parm1, parm2, parm3)

This would be the most effiect way in my eyes.
0
 

Author Comment

by:watin
ID: 2164355
However I would need a C compiler which I don't have and don't have time to learn how to use.
0

Featured Post

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.

591 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question