Le 08/11/2009 23:19:03, Jim Watters a écrit :
>Jim Watters wrote:

>>>   
>>>     
>> That was my doing. I got to run and will look at it in about 4 
>> hours.
>> In the mean time, can you test changing the two functions in
>sys_ansi.h 
>> I expect HWND is undefined.
>> void SetWindowOwner(PVOID Owner);
>> void CenterDialog(PVOID hDlg);
>I have attached a patch. Does this work for you?
I've the same error message with the patch applied


Regards

Jean-Luc




>The two functions of question are exposed for use with GUI build of 
>libPano13 but are not reliant with the CMD version.
>
>-- 
>Jim Watters
>http://photocreations.ca
>
>
>--~--~---------~--~----~------------~-------~--~----~
>You received this message because you are subscribed to the Google
>Groups "hugin and other free panoramic software" group.
>A list of frequently asked questions is available at:
>http://wiki.panotools.org/Hugin_FAQ
>To post to this group, send email to [email protected]
>To unsubscribe from this group, send email to
>[email protected]
>For more options, visit this group at
>http://groups.google.com/group/hugin-ptx
>-~----------~----~----~----~------~----~------~--~---
>
>

------texte cité en attachement "HWND.patch"------
>Index: sys_ansi.c
>===================================================================
>--- sys_ansi.c (revision 1137)
>+++ sys_ansi.c (working copy)
>@@ -25,8 +25,8 @@
> //------------------ Public functions required by filter.h
>-------------------------------
> 
> 
>-void SetWindowOwner(HWND Owner) {return;}
>-void CenterDialog(HWND hDlg) {return;}
>+void SetWindowOwner(PVOID Owner) {return;}
>+void CenterDialog(PVOID hDlg) {return;}
> 
> void filter_main( TrformStr *TrPtr, struct size_Prefs *spref)
> {
>Index: sys_ansi.h
>===================================================================
>--- sys_ansi.h (revision 1137)
>+++ sys_ansi.h (working copy)
>@@ -41,8 +41,8 @@
>                                                                       
> \
>                       return( FALSE );
> 
>-void SetWindowOwner(HWND Owner);
>-void CenterDialog(HWND hDlg);
>+void SetWindowOwner(PVOID Owner);
>+void CenterDialog(PVOID hDlg);
> 
> #define               kSetRemapPrefs_dlg                                      
> "REMAP" 
> #define               kSetRemapPrefs_InRect                           
> 350
>



Attachment: pgpfIzUHMyOnn.pgp
Description: PGP signature

Reply via email to