PRB: Native Function Import Is Incompatible with Unicode and Auto Modifiers (326208)
The information in this article applies to:
- Microsoft Visual J# .NET (2002)
- Microsoft Visual J# .NET (2003)
This article was previously published under Q326208 SYMPTOMS In a Visual J# .NET application, a J/Direct DLL import statement for function 'X' results in a different
function version from the same DLL import statement for function 'X' in a
Visual J++ application. This occurs when the following criteria are met:
- You import the function with a Unicode or auto
modifier.
- The DLL that contains function 'X' also contains a function
named 'XW', where the 'W' suffix indicates the Unicode version.
- The application is running on a Unicode
platform.
CAUSE The Visual J# .NET application always imports the method
with the 'W' suffix, if it exists. The Visual J++ application imports the
method without the suffix in this scenario. STATUSThis
behavior is by design.
Modification Type: | Major | Last Reviewed: | 8/7/2003 |
---|
Keywords: | kbprb KB326208 |
---|
|