Windows Geolocation Service reference

isladogs

MVP / VIP
Local time
Today, 13:21
Joined
Jan 14, 2017
Messages
18,827
I've just tried enabling the Windows Geolocation Service 1.0 reference (geolocation.dll) unsuccessfully on 2 different PCs in Windows 10.
Error message : error in loading DLL

As this is built into Windows and enabled on my test PCs, I'm unclear what the issue is. I've tried re-registering the dll file but that was also unsuccessful - entry-point for DLLRegisterServer not found

Clearly my brain isn't in gear today. Any ideas?
 
Not much help, but ditto - Access 2016, Win 10 Version 10.0.17134

Odd.
 
This is all I have in mine

Win 10 1803 17134
attachment.php
Win 10 17134
 

Attachments

  • geolocation.PNG
    geolocation.PNG
    16.3 KB · Views: 708
Thanks both.
Gasman - can you enable the reference in Access?
 
Thanks both.
Gasman - can you enable the reference in Access?

I get 'Cant add a reference to the specified file'

That is with Browse and selecting the file.

However I also get the same error with ole32.dll and that does have function DllRegisterServer, as does shell32.dll but that registers correctly.
 
Thanks. I understand what your first reply meant now.
There are several libraries I can't load in Access but usually they seem fairly obscure. This is a central part of Windows. There is an older LocationAPI.dll reference but that has I believe been superceded with geolocation.dll in Windows 10. Either way, I can't get that to work either.

Not seen the DLLExportViewer before but have just downloaded it. How have you made use of it?
 
Just to view the functions in that dll and to find out which ones do have DllRegisterServer in them. That is why I used ole32.dll and shell32.dll as they have that function.

I *think* I have used it in the past, but a good while ago, for when a dll gets replaced/conflict, that sort of thing.
 
I do wonder whether the reference list is meant to just contain libraries that can be used in Access. Why include them in the list if they aren't available?

Anyone able to advise on a way forward?

I've also just posted the original question at UA in case anyone there can assist https://www.utteraccess.com/forum/index.php?act=post&do=new_post&f=54
I'll feedback here if I get an answer elsewhere
 
Last edited:

Users who are viewing this thread

Back
Top Bottom