Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetPrivateProfileString initialization
Message
From
05/10/2004 17:15:23
 
 
To
05/10/2004 17:07:04
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00948943
Message ID:
00948948
Views:
19
I have found that if I put this code at the top of my class, that is works:
    Private Declare Unicode _
            Function GetPrivateProfileString _
            Lib "kernel32" _
            Alias "GetPrivateProfileStringW" _
            (ByVal lpApplicationName As String, _
             ByVal lpKeyName As String, _
             ByVal lpDefault As String, _
             ByVal lpReturnedString As String, _
             ByVal nSize As Int32, _
             ByVal lpFileName As String) As Int32
What I don't understand is that I never had that code before and all was working ok.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform