本文共 1099 字,大约阅读时间需要 3 分钟。
Location: C:\Users\Public\Documents\Vector\CANoe\8.5(x64)\CANoe Sample Configurations\Programming\CAPLdll\VS 2005 Project
Note: you also can add the Implementation to other Cpp file,but need to include some Header file
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
To Use #Pragma toload the DLL, FOR My dll there are 3 function can be used by CAPL