c++builder-10-seattle

Use OpenSSL in C++Builder

蹲街弑〆低调 提交于 2019-12-10 10:23:42
问题 I'm compiling an app in C++Builder 10 Seattle, and trying to use OpenSSL for RSA work. I followed this tutorial: How to Use OpenSSL to Generate RSA Keys in C/C++ Here is the code: #include <stdio.h> #include <openssl/rsa.h> #include <openssl/pem.h> bool generate_key() { int ret = 0; RSA *r = NULL; BIGNUM *bne = NULL; BIO *bp_public = NULL, *bp_private = NULL; int bits = 2048; unsigned long e = RSA_F4; // 1. generate rsa key bne = BN_new(); ret = BN_set_word(bne,e); if(ret != 1){ goto free_all

Linking fails [ilink32 Error] Fatal: Unable to open file 'TYPES.OBJ'

。_饼干妹妹 提交于 2019-12-06 16:29:35
问题 I have been updating code fomr an old legacy project build using C++ Builder 2010 to compile with C++ Builder 10 Seattle . I have mostly had to change paths, a lot of dupIgnore to TDuplicates::dupIgnore , reimport some components like MSXML and MSMQ etc. First for a bunch of subprojects that the main project uses in the form of bpl's and dll's and finally the code of the main project compiles. But... it fails a linking :P [ilink32 Error] Fatal: Unable to open file 'TYPES.OBJ' I have tried to

Linking fails [ilink32 Error] Fatal: Unable to open file 'TYPES.OBJ'

匆匆过客 提交于 2019-12-04 22:11:42
I have been updating code fomr an old legacy project build using C++ Builder 2010 to compile with C++ Builder 10 Seattle . I have mostly had to change paths, a lot of dupIgnore to TDuplicates::dupIgnore , reimport some components like MSXML and MSMQ etc. First for a bunch of subprojects that the main project uses in the form of bpl's and dll's and finally the code of the main project compiles. But... it fails a linking :P [ilink32 Error] Fatal: Unable to open file 'TYPES.OBJ' I have tried to find info about potential issues and many mention making sure System is supplied in the Unit Scope