Author Topic: 64 bit issue  (Read 546 times)

0 Members and 1 Guest are viewing this topic.

jcfuller

  • Full Member
  • ***
  • Posts: 143
64 bit issue
« on: January 11, 2018, 02:20:21 AM »
Charles,
  This is the same test piece I sent you via email with the changes needed for RegisterClassEx use. I am posting here because email services often flag exe's in zip attachments.
The exe is included in the zip.  I tested it on the Virus Total site and only one "Cylance" out of 67 flagged it.
See if your virus scanner flags it.
I do not write 32bit any more so I hope you can find the problem.

For lurkers the static controls do not have the main window's background.

James

Charles Pegge

  • Admin Support Member
  • *****
  • Posts: 3721
    • Oxygen Basic
Re: 64 bit issue
« Reply #1 on: January 11, 2018, 03:45:03 AM »
Hi James,

It won't run on my windows10 PC. When I try to unblock it, Windows destroys the file. I don't think it's Mcafee. So I will try some deconstruction to isolate the problem.

Charles Pegge

  • Admin Support Member
  • *****
  • Posts: 3721
    • Oxygen Basic
Re: 64 bit issue
« Reply #2 on: January 13, 2018, 07:52:30 AM »
It was a calling convention mismatch with lookahead declarations. Hard to pin down, but now fixed.

Download OxygenProress.zip for oxygen.dll

https://github.com/Charles-Pegge/OxygenBasic

jcfuller

  • Full Member
  • ***
  • Posts: 143
Re: 64 bit issue
« Reply #3 on: January 13, 2018, 08:36:48 AM »
Charles,
  I'm amazed at my age, I have not lost my renowned bug discovery ability :)
  Good job!  One more step closer to BETA.
James

Arnold

  • Hero Member
  • *****
  • Posts: 648
Re: 64 bit issue
« Reply #4 on: January 14, 2018, 01:07:42 AM »
Hi Charles,

I noticed you uploaded oxygen.zip with date of Jan 13, 2018. Can this oxygen.dll be used with the latest Final Alpha release? I would like to work a little bit with this release to check if there is anything which should be considered for Oxygen in progress.

Roland

Charles Pegge

  • Admin Support Member
  • *****
  • Posts: 3721
    • Oxygen Basic
Re: 64 bit issue
« Reply #5 on: January 14, 2018, 04:36:06 AM »
Hi Roland,

There is an adjustment to OpenglSceneFrame.inc, moving 3 declarations outside WndProc. All declarations must now be located in global space. You can still isolate them with namespace, of course.

Code: [Select]
  ! Initialize(sys hWnd)
  ! Release(sys hWnd)
  !*wglSwapIntervalEXT(int b) extern
« Last Edit: January 14, 2018, 04:45:00 AM by Charles Pegge »

Arnold

  • Hero Member
  • *****
  • Posts: 648
Re: 64 bit issue
« Reply #6 on: January 15, 2018, 05:05:29 AM »
Hi James,

at Sourceforge I noticed dlg2src.zip of March 2017. Is this the latest state? I think the combination of Resed as a visual designer and dlg2src to create the code is a brilliant idea. And as your project can produce the code for different languages which can be compared it is a really helpful tool. Theoretically you could create a 32-bit executable also?

You provided three .rc files with your poject. May I (mis)use them for the dynamic dialogs project too?

Roland

jcfuller

  • Full Member
  • ***
  • Posts: 143
Re: 64 bit issue
« Reply #7 on: January 15, 2018, 06:11:44 AM »
Arnold,
  With my set up and the tools used to create dlg2src, 64bit Dlg2Src is the only option.
I think it is the latest version: 1.0.2.0
Yes you may abuse the rc files any way you want!!

James