Hi Guys,
I have recently been tasked my a client to make changes to their DB system that I development for them a long time ago, around 2006. We are moving them to windows 10 and the new PC's are all 64bit, but the original DB is 32bit.
Most of the database forms and functions work ok, as I have applied the ptrSafe to the modules, however, I the modCalendar module, and cannot compile the project, as the module throws a type mismatch error:
Code:
' Determine Access Version
' **************************
' For A97 MUST USE AddrOf
' **************************
'If Val(SysCmd(acSysCmdAccessVer)) < 8 Then
'wc.lpfnWndProc = AddrOf("WindowProc")
'Else
wc.lpfnWndProc = GetFuncPtr(AddressOf WindowProc)
'End If
it errors on: GetFuncPtr(AddressOf WindowProc)
So my questions are:
1. how can I safely remove this module, as I can use the date picker on the forms now?
2. How can I find forms or modules that rely on this, and vice versa, to safely remove?
3. Once I can compile this version, I should then be able to save in 64bit using save as option?
Sorry if this seems like a basic question, it is so long since I did any of this work I am trying to get up to speed again now.