DiscussionsIssue archiveOther usage issues

Archived discussion

external C programs using API provided with OpenCascade

Other usage issuesTue, 08/16/2005 - 22:182 replies

Browse this forum
QuestionAuthor

How can I call OpenCascade functions from external C programs? For example, I want to write a C program that reads and verifies the validity of a STEP file (using the STEPControl_Reader class). Is this possible? What header files should I include?

Thanks,
Peter
[email removed]

Discussion

2 archived replies

Posts are displayed in their archived order.

01Commenter-1

I think you cannot.
you have to create a C wrapper to the C++ code, and calling those C functions.

Commenter-1

02Commenter-2

How about if the external program is in C++?