How to Create the CAPL DLL and integrated it into CANOE
来源:互联网 发布:js post 下载文件 编辑:程序博客网 时间:2024/06/12 22:19
Open CAPL DLL Demo project with visual studio
Location: C:\Users\Public\Documents\Vector\CANoe\8.5(x64)\CANoe Sample Configurations\Programming\CAPLdll\VS 2005 Project
Add your Implementation in capidll.cpp file
Note: you also can add the Implementation to other Cpp file,but need to include some Header file
If the function need to be exported, do below things
1. Add Key word for the function CAPLEXPORT farCAPLPASCAL
2. Find below table then add your functiondescription in it
1st: The function name of CAPL
2nd: The function name which want to be exported
3rd: The Class Name of DLL
4th: The description of function
5th: The Type of result value
L :long,
V:void,
B:Array,
D: int
6th: The number of input parameter
7th: The Type of input parameter
8th: If the input parameter contains Array, we should use\001 to file it, for other type we can use \000
9th: The name of input parameter
Compiling the project and ouput CAPL DLL
To integrated the CAPL DLL
To Use #Pragma toload the DLL, FOR My dll there are 3 function can be used by CAPL
To Defined the automatic Test case to visit these functions
- How to Create the CAPL DLL and integrated it into CANOE
- How to Create and Use the DLL
- How to create a DLL library in C and then use it with C#
- How to install the glut libraries and dll's into windows
- [转] How to install the glut libraries and dll's into windows
- Create stored procedure and integrate it into linq to entities
- CANoe CAPL语言Step2
- Skype to be integrated into the TVs from Panasonic and LG
- What is junction object and how to create it?
- how to create image file and format it
- How to create Web Deployment Package and install the package
- How to create a StackOverflowException. And how to figure out where it is happening.
- How to create Navigation Collection ,publish it as a pagelet and add to homepage ?
- Magento. How to create an attribute and apply it to products
- How to create Web Service dll
- How to create .lib file when you have .dll and .h files onle
- How to create .lib file when you only have .dll and .h files
- How to burn subtitles into the video
- ACM 广搜优先 Knight Moves
- prime模板
- 001_汇编语言基础知识
- Qt入门之基础篇 ( 一 ) :Qt4及Qt5的下载与安装
- 数据库Access004
- How to Create the CAPL DLL and integrated it into CANOE
- String类中toString()函数分析
- leetcode 40. Combination Sum II
- 爬取网易云音乐MP3链接脚本
- js基础
- h头文件、lib库文件及dll动态库文件之间的关系
- struts-jquery-ajax
- Plank开机自启动导致 注销、登录选项错乱
- assert函数用法总结