I have an application that I wrote in VB3. This application has to run under win3.x, win95 and NT (Win16 and Win32 platforms).
The problem is:
I used the WritePrivateProfileString API at this application, declared as one of the kernel.dll , to write to INI file. It works fine. BUT under Win32 the INI files are missing some of the data and are very mess.
Is there a way to do one application for Win16 and Win32 platforms using this API?
(I know that this API declared in Kernel - for Win16 and for win32 in Kernel32)
Does someone has a solution?
((Currently I use:
Declare Function WritePrivateProfileString Lib "Kernel" (ByVal lpApplicationName As String, ByVal lpKeyName As String, ByVal lpString As String, ByVal lplFileName As String) As Integer