Author Topic: DLL examples  (Read 1616 times)

0 Members and 1 Guest are viewing this topic.

jcfuller

  • Guest
DLL examples
« 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

Charles Pegge

  • Guest
Re: DLL examples
« Reply #1 on: February 28, 2018, 04:27:21 AM »
Hi James,

We have an RTL64 wide string problem. I think it's the concatenator output.

jcfuller

  • Guest
Re: DLL examples
« Reply #2 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


Charles Pegge

  • Guest
Re: DLL examples
« Reply #3 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]