New issue maybe kernel32 related

33 views
Skip to first unread message

Mark Bannister

unread,
Feb 27, 2025, 1:43:27 PMFeb 27
to TheDBCommunity
I have one library that makes kernel32 calls.  That library no longer opens.  I’ve seen this happen before and restarting paradox makes it go away.

Now only two computers out of eight can run my application.  These two have not been restarted since this started.

I have been making network changes, I disabled smb1 on my Samba server and on the workstations.  I’m experimenting to see if this is feasible.  This should not affect this library.  The library is on the server, but it doesn’t open any database files.

Any thoughts?

TheDBCommunity

unread,
Feb 27, 2025, 1:51:14 PMFeb 27
to TheDBCommunity
Windows update broke the call?

Steven Green

unread,
Feb 27, 2025, 1:54:32 PMFeb 27
to TheDBCommunity
> Windows update broke the call?

that's always possible, of course.. but that would probably mean the dll itself (or whatever) has changed.. win10? win11? any meaningful error message?

I've noticed that my p11 is randomly throwing GP Aborts lately.. win10

Randall Haines

unread,
Feb 27, 2025, 2:33:05 PMFeb 27
to TheDBCommunity
Could be the 64k limit on library size when calling a dll?
We use this in the library open to keep us compliant.
method open(var eventInfo Event)
;Automatically check to make sure libraries that use DLLs are not over 64k code size
var
compileInfoDY   Dynarray[]   AnyType
endvar
compileInformation(compileInfoDY)
;compileInfoDY.view()
if compileInfoDY["CodeSize"] > 65636 then ; 65536 = 64k
   msgStop(
   "Attention",
   "CodeSize of this library "+getFileName()+" exceeds 64k (currently "+string(compileInfoDY["CodeSize"])+" bytes).\n\n"+
   "Libraries that use DLLs can't be over 65536 bytes (64k) CodeSize. ")
endIf
endMethod

Regards,

Randy Haines

Mark Bannister

unread,
Feb 27, 2025, 3:37:38 PMFeb 27
to thedbco...@googlegroups.com
I’ll try it.  But it just started so kernel32 would have had to change.

--
You received this message because you are subscribed to a topic in the Google Groups "TheDBCommunity" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/thedbcommunity/8xR_Q65vkko/unsubscribe.
To unsubscribe from this group and all its topics, send an email to thedbcommunit...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/thedbcommunity/a64fc867-8d9b-4d88-a1a4-eeee447e92bbn%40googlegroups.com.

Mark Bannister

unread,
Mar 1, 2025, 11:11:31 AMMar 1
to TheDBCommunity
OK, kernel32 must have changed with the last windows update.
Because this library gets called by almost every other library, and indirectly most forms, I recompiled all libraries and forms (that's a bit of handy code if you haven't written it yet.)

Steven Green

unread,
Mar 1, 2025, 11:14:58 AMMar 1
to TheDBCommunity
good catch.. there's a ton of stuff in my System32 folder dated 2/13/2025, including kernel32

Kevin Zawicki

unread,
Mar 1, 2025, 2:03:49 PMMar 1
to TheDBCommunity
To clarify, recompiling corrected your issues?

Mark Bannister

unread,
Mar 4, 2025, 8:33:42 AMMar 4
to TheDBCommunity
Yes, just had to recompile all libraries and forms.
Reply all
Reply to author
Forward
0 new messages