ima:(read error at address 18446744073709551615)

Just starting out? Need help? Post your questions and find answers here.
LiK137
Enthusiast
Enthusiast
Posts: 279
Joined: Wed Jun 23, 2010 5:13 pm

ima:(read error at address 18446744073709551615)

Post by LiK137 »

Hi,
very strange problem on Windows 7 64 bit with PureBasic 5.6x 64bit

Program compiles and works perfect without any problem on Windows 7,10 64Bit OS.

BUT After Windows AutoUpdates (disabling Windows Update feature is the only way which is not preferable) I receive "Invalid memory access. (read error at address 18446744073709551615)" when working with dll PROCEDURE which receives pointer of a string and RETURNS status.

I disabled windows update but want to know whether this is known issue or not.

Thank You very much
User avatar
mk-soft
Always Here
Always Here
Posts: 5335
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: ima:(read error at address 18446744073709551615)

Post by mk-soft »

Without code you can't say much.

However, there is an error that occurs sporadically.

No assignments should be made outside of procedures at dll´s
This also includes assigning values to global variables.

Global iVall.i = 100
Global sPath.s = GetUserDirectory()

It is sufficient to encapsulate them in a procedure.

Code: Select all

Procedure Init()
  Global iVall.i = 100
  Global sPath.s = GetUserDirectory()
EndProcedure : Init()
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Post Reply