We have a vi that uses a CIN. It takes in a specified font and string
and x,y origin and calculates the rectangular area of the given text.
We have been using this VI since LabVIEW 4. Unfortunately, it will not
work in LV6.1 and causes the compatexport.cpp error documented at NI.
It works in 6.0.2, but not in 6.1. I believe that this VI was
downloaded from somewhere, but the name was changed long ago. I'm
wondering if anyone has a simiar VI that works with LV 6.1.
When I choose the create .c file I get:
/*
* CIN source file
*/
#include "extcode.h"
/*
* typedefs
*/
typedef struct {
LStrHandle Font_Name_;
int16 Size;
LVBoolean Strikeout_;
LVBoolean Italic_;
LVBoolean Underline_;
LVBoolean Outline_;
LVBool
ean Shadow_;
LVBoolean Bold_;
uInt16 desired_font_application_;
} TD1;
typedef struct {
int16 horizontal;
int16 vertical;
} TD2;
CIN MgErr CINRun(LStrHandle text, TD1 *_user_specified_font_, int32
*var3, TD2 *origin_0_0_);
CIN MgErr CINRun(LStrHandle text, TD1 *_user_specified_font_, int32
*var3, TD2 *origin_0_0_) {
/* ENTER YOUR CODE HERE */
return noErr;
}