Page 1 of 1

Windows 7 64-bit - known problems?

Posted: Wed Feb 02, 2011 4:21 pm
by Karbon
I'm just moving to PureBasic 4.51 and the only userlibs I use are Paul's from PureVision (PVGadgets).

I'm using the 32-bit version of PB (though it's running in 64-bit version of Windows), just like I was with PB 4.4

When compiling a piece of code that uses PVGadgets I get this :

POLINK: error: Unresolved external symbol 'SYS_FreeArray'.
POLINK: error: Unresolved external symbol 'SYS_AllocateArray'.

At first I thought PureVision might have been installing the 64-bit library but if I xcopy my purebasic folder to a VMWare machine running a 32-bit version of Windows 7, everything compiles and links just fine.

I've spoken with Paul and he says it all works for him so I'm at a loss as to what could he happening. I've completely uninstalled and reinstalled PureBasic and PureVision a number of times to verify everything is fresh and keep getting the same thing.

Does anyone have any ideas?

Re: Windows 7 64-bit - known problems?

Posted: Wed Feb 02, 2011 6:23 pm
by ABBKlaus
in PB4.51 it must be _SYS_FreeArray@4 and _SYS_AllocateArray@20 !
So most likely its a third party lib that has to be recompiled with PB4.51.

BR Klaus

Re: Windows 7 64-bit - known problems?

Posted: Wed Feb 02, 2011 6:33 pm
by Karbon
The only problem with that being true is that the exact same userlib and purebasic (I xcopied the whole PB directory) works on Windows 7 32-bit.

Re: Windows 7 64-bit - known problems?

Posted: Wed Feb 02, 2011 7:07 pm
by ABBKlaus
have you searched your harddisk for the pvgadgets library ? i bet its a leftover from an older version, maybe virtualized by Windows ;-)

BR Klaus

Re: Windows 7 64-bit - known problems? (Fixed!)

Posted: Wed Feb 02, 2011 7:34 pm
by Karbon
Yep, spot on. It was virtualized.. I had to use a 3rd party search to find it though - the virtual folders weren't searched by the built-in Windows search.

Thanks!

If anyone is interested as I was in how you turn virtualization off :

Click start and type "secpol.msc" in the search box, hit enter.

Local Policies > Security Options > UAC: Virtualize file and registry write failures to per-user locations - Set to DISABLE.