I tried a bit to do the conversion. Rather than LongLong you should use LongPtr in most places, however, I still did not get it to work. When creating a the object of clsMonthCal and using the ShowRangeCal to initate, I get as far as the WindowProc call (initiated by the apiCreateWindowEx call in the modCalendar.ShowMonthCalendar function) and Access simply crashes silently (App Event Log shows either a EventID 1000 or 1002).
I used the Win32API SafePtr reference (Win32API_PtrSafe.txt -see txt file for URL as wouldn't let me post with it inline) to determine what param and returns need to LongPtr and then extrapolated what local/global var's may need to be based on their receiving result of functions or placed as parameters. Attached are the rough outline of changes I made. If anyone would care to double-check and then help further trouble-shoot, that would be awesome.
I used the Win32API SafePtr reference (Win32API_PtrSafe.txt -see txt file for URL as wouldn't let me post with it inline) to determine what param and returns need to LongPtr and then extrapolated what local/global var's may need to be based on their receiving result of functions or placed as parameters. Attached are the rough outline of changes I made. If anyone would care to double-check and then help further trouble-shoot, that would be awesome.