Calling a C++ function in BCX
Arlie Codina
Tue Aug 11 19:26:38 PDT 2009
Did this:
DECLARE FUNCTION generateKey LIB "Cryptor.dll" as string
dim key as string
key = generateKey()
print key
but upon compiling I got this:
test.c(122): warning #2099: Missing type specifier; assuming 'int'.
test.c(154): error #2140: Type error in argument 2 to 'strcpy';
expected 'const char *' but found 'int'.
P.S.
I don't have the source for Cryptor.dll. It's a 3rd party software licensed to our company.
More information about the BCX
mailing list