Oxygen Basic

Programming => Bugs & Feature Requests => Topic started by: jcfuller on February 28, 2018, 02:53:41 AM

Title: DLL examples
Post by: jcfuller on February 28, 2018, 02:53:41 AM
Are the DLL examples 32/64 working with the latest compiler? Might be an operator issue on this end :)

James
Title: Re: DLL examples
Post by: Charles Pegge on February 28, 2018, 04:27:21 AM
Hi James,

We have an RTL64 wide string problem. I think it's the concatenator output.
Title: Re: DLL examples
Post by: jcfuller on February 28, 2018, 06:00:35 AM
Charles,
  Ah ha thank you. That might be the cause of some issues I haven't reported yet.
As in:
Code: [Select]
use rtl64
string s = "james"
wstring ws = s
print ((wstring)ws)
James

Title: Re: DLL examples
Post by: Charles Pegge on February 28, 2018, 10:44:24 PM
The Cat is in good health, I am glad to say. The problem is with MessageBoxW which fails to link in the import table. So I have patched a GetProcAddress specifically for this function into RTL64.

It will do for now, but I will need to establish the cause of the import failure eventually.


[attachment deleted by admin]