My Oracle Support Banner

E1: PKG: Package Build Warnings with Visual Studio 2022 Version 17.2.4 to 17.3.3 – C4191 Type Cast Unsafe Conversion From ‘FARPROC’ to <Variable_Name> (Doc ID 2904877.1)

Last updated on OCTOBER 31, 2022

Applies to:

JD Edwards EnterpriseOne Tools - Version 9.2 and later
Information in this document applies to any platform.

Symptoms

Tools Release 9.2.7.0 or later and Visual Studio 2022.

When attempting to build a package utilizing Visual Studio 2022 [17.2.4 to 17.3.3], several objects come back in warning with C4191.
    Line  2: b0000182.c(416): warning C4191: 'type cast': unsafe conversion from 'FARPROC' to 'VstCalcTax_Proc'
    Line  4: b0000182.c(427): warning C4191: 'type cast': unsafe conversion from 'FARPROC' to 'VstCloseDb_Proc'
    Line  6: b0000182.c(438): warning C4191: 'type cast': unsafe conversion from 'FARPROC' to 'VstCreateConnHdl_Proc'
    Line  8: b0000182.c(449): warning C4191: 'type cast': unsafe conversion from 'FARPROC' to 'VstCreateHdl_Proc'
    Line 10: b0000182.c(460): warning C4191: 'type cast': unsafe conversion from 'FARPROC' to 'VstDebugHdl_Proc'
    Line 12: b0000182.c(471): warning C4191: 'type cast': unsafe conversion from 'FARPROC' to 'VstGetAttrib_Proc'
    Line 14: b0000182.c(508): warning C4191: 'type cast': unsafe conversion from 'FARPROC' to 'VstGetDatabaseInfo_Proc'
    Line 16: b0000182.c(556): warning C4191: 'type cast': unsafe conversion from 'FARPROC' to 'VstGetMessageCallBack_Proc'
    Line 18: b0000182.c(614): warning C4191: 'type cast': unsafe conversion from 'FARPROC' to 'VstOpenDb_Proc'
    Line 20: b0000182.c(625): warning C4191: 'type cast': unsafe conversion from 'FARPROC' to 'VstRegisterCommit_Proc'
 

Changes

Visual Studio 2022 with version 17.2.4 to 17.3.3.

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.