Could someone explain to me how to make a link between C++ and SKILL?
I have to develop a program in SKILL. But I do some text treatment in C++. So how I can load my SKILL program, and then lunch my C++ program? I have, in the SKILL program, to have a position with text file from C++.
Ask me if you want more details.
It depends upon the integration needed. If your C++program can run as a batch operation with well established I/O with Skill, I would treat it is a seperate binary and have your Skill program launch it via something link the Skill system API. The I/O would typically be based upon files and/or command line arguments. This appoach is typically the fastest to get running and is pretty easy to debug. Also if you have never written Skill before it would be the best approach.
If your C++ code needs to tightly interact with your Skill code then the axlDll approach might be the best. It requires that you turn your C++ code into a dll. See the Allegro Skill reference manual for more info.
To create a dll go to google and type in the following search term "creating a dll", then select "I'm feeling lucky". This assumes you have a copy of Visual Net 2005 from Microsoft, you need this IDE to create a dll that is compatible with Allegro
To bind the dll to Skill read the chapter in the Allegro Skill Reference manual. Search cdsdoc for axlDllOpen and read that entire section.