winapi - GetProfileInt() is failing -


in application, using following win32 api before loading mapi32.dll. win32 api: ::getprofileint(_t("mail"), _t("mapi"), 0);

this api consistently failing on windows 8.1 italian 64-bit pc.

but, api succeeding on other pcs windows 8.1 english(us) 64-bit pc, windows 8.1 japanese 64-bit pc.

kindly provide kind fixing above issue.

to find mapi32.dll in either of these paths:

c:\windows\syswow64\mapi32.dll

c:\windows\system32\mapi32.dll

or use this

getwindowsdirectory(buf, 260); lstrcat(buf, text("\\syswow64\\mapi32.dll")); ... 

to access old win.ini settings, in registry key:

hklm\software\microsoft\windows nt\currentversion\inifilemapping\win.ini

but there nothing there mapi, it's 20 years out of date.


Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -