In my quest I stumbled upon oodExecutable.hpp and found this:
#ifndef oodExeuctable_Included
#define oodExeuctable_Included
Too many beers :)
Staffan
On Thu, May 16, 2013 at 8:18 PM, Staffan Tylen <staffan.ty...@gmail.com>wrote:
> Many thanks for pointers.
>
> Staffan
>
>
>
> On Thu, May 16, 2013 at 8:01 PM, Mark Miesfeld <miesf...@gmail.com> wrote:
>
>> On Thu, May 16, 2013 at 10:33 AM, Staffan Tylen
>> <staffan.ty...@gmail.com>wrote:
>>
>>> I'm playing around with the sample program runRexxProgram.cpp, which I
>>> compiled and tried to use to invoke some ooDialog code but got the
>>> following message in return:
>>>
>>> Error 48.900: The ListView::setView() method requires comctl32.dll
>>> version 6.0 (XP) or later
>>>
>>
>>
>> Some, more and more as time goes by, of the ooDialog methods require that
>> the common control library is version 6.0 or later. Those methods won't
>> run if the library is less than 6.0. This is the case here.
>>
>> To load version 6.0 and later the executable has to be compiled with a
>> manifest specifying that. Executables that do not contain a manifest at
>> all can not load 6.0
>>
>> The make file for this runRexxProgram.cpp doesn't use a manifiest.
>>
>>
>>>
>>> Also, when compiling I got the following:
>>>
>>> cl : Command line warning D9035 : option 'Wp64' has been deprecated and
>>> will be removed in a future release
>>> runRexxProgram.cpp
>>> C:\Program Files (x86)\Windows Kits\8.0\include\um\winnt.h(8037) :
>>> warning C4312: 'type cast' : conversion from 'LONG' to 'PVOID' of greater
>>> size
>>> C:\Program Files (x86)\Windows Kits\8.0\include\um\winnt.h(8048) :
>>> warning C4312: 'type cast' : conversion from 'LONG' to 'PVOID' of greater
>>> size
>>> C:\Program Files (x86)\Windows Kits\8.0\include\um\winnt.h(8059) :
>>> warning C4312: 'type cast' : conversion from 'LONG' to 'PVOID' of greater
>>> size
>>> C:\Program Files (x86)\Windows Kits\8.0\include\um\winnt.h(8071) :
>>> warning C4311: 'type cast' : pointer truncation from 'PVOID' to 'LONG'
>>> C:\Program Files (x86)\Windows Kits\8.0\include\um\winnt.h(8084) :
>>> warning C4311: 'type cast' : pointer truncation from 'PVOID' to 'LONG'
>>> C:\Program Files (x86)\Windows Kits\8.0\include\um\winnt.h(8097) :
>>> warning C4311: 'type cast' : pointer truncation from 'PVOID' to 'LONG'
>>>
>>> Any ideas?
>>>
>>
>> The warnings would indicate that the compile environment may not be set
>> up correctly. The makefile is old and hasn't been changed.
>>
>> The Wp64 option was used to help migrate 32-bit code to 64-bit. The
>> warnings are coming from Microsoft's own code, so if you were sure the
>> compiler environment was set up correctly you could probably ignore them.
>>
>>
>>> ooDialog: ooDialog Version 4.2.3.9152 (an ooRexx Windows Extension)
>>>
>>
>> I see you are using ooDialog 4.2.3. I'm not sure why you are trying
>> runRexxProgram. If it is just for learning or experimentation, fine.
>> However, if you are looking for alternate executable to launch ooDialog
>> programs, 4.2.3 includes ooDialog.exe that you could use to launch ooDialog
>> programs.
>>
>> You could also look at how that is built to see how to add a manifest to
>> an executable.
>>
>> --
>> Mark Miesfeld
>>
>>
>> ------------------------------------------------------------------------------
>> AlienVault Unified Security Management (USM) platform delivers complete
>> security visibility with the essential security capabilities. Easily and
>> efficiently configure, manage, and operate all of your security controls
>> from a single console and one unified framework. Download a free trial.
>> http://p.sf.net/sfu/alienvault_d2d
>> _______________________________________________
>> Oorexx-users mailing list
>> Oorexx-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/oorexx-users
>>
>>
>
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users