Hello All,
I'm new to this forum and i have a question about the function CreateWindowEx in vba.
I have managed to make it work on W7/64bits with Access2013/64bits....(and on 32bit versions)
(see the sample database...)
But when i try this database on W10/64bits with Access2013/64bits CreateWindowEx does not return a valid pointer.
Please view the sample database .accdb joined to this message.
Please just unzip the sample base and run it...then clic on the central button to create the sample window.
Essentialy it does this :
lhwndWindow = CreateWindowEx(WS_EX_DLGMODALFRAME, CLASSNAME, TITLE, WS_POPUPWINDOW Or WS_CAPTION, 500, 50, 500, 500, 0&, 0&, 0&, 0&)
And it fails on my W10/64bits computer with Access2013/64bits installed. (lhwndWindow = 0)
Can anyone tell me why it is different in W10/64bits and how i should solve this issue ?
Is it an antivirus issue ?
Many thanks in advance....