From: Aldo C. <da...@pe...> - 2001-01-05 09:12:03
|
chris mccraw wrote: > hey *, > > i'm extremely new to perl dev under win32 (i've done my share of > it under unix in the past tho) so i'm sure this question has an > answer somewhere obvious and if you could direct me towards the > answer/resource from which the answer is available, i'd be > extremely indebted. > > in the absence of an available PPM of the latest version of the > Win32-GUI module i tried to install it myself...unfortunately i > lack make, and using cpan to install it fails miserably for many > reasons (i tried under cygwin since i have make/cc there but i > should have realized that was not going to work from the start...). > is there some easy "copy everything over to the Lib directory" > type install for those of us lacking make (where can i find this > nmake.exe many modules refer to?) and an MS dev environment? > the 502 tarball seems to be lacking the dll anyway... > (i've also never used xs stuff before if that wasn't obvious =)) well, the module needs compilation: you need not only make, but also a compiler. Micro$oft VisualC++ is not free, it should be possible to use cygwin's gcc but I haven't played with it very much. if you want to test it, you're very welcome. you need to download the Perl source and compile it under your cygwin environment, then try to compile the module. > also, what's up with the sourceforge lists? the links to > browse the archives point to nonexistent geocrawler pages (as > of approx 10am CST today) and the subscribe/unsubscribe pages > link to archives that are on sourceforge but nonexistent also. the lists are scheduled to archive weekly, so I guess you have to wait (at least) a week for the archives :-) also note that past message (from the per...@ht... mailing list), unfortunately, will not be archived in the same place. > since i saw traffic in the httptech archive from this morning > i guess this list is still semiactive... yes, it is. but PLEASE PLEASE PLEASE use the new address for posting instead: per...@li... everybody who was subscribed to the old list should have been subscribed to the new one (thanks Joe! :-), you should have received a message with the subject: [perl-win32-gui-users] List moved if you are subscribed to this list and didn't receive this message, please contact either me or Joe (pe...@ht...). otherwise, PLEASE PLEASE PLEASE once again, from now on use ONLY the new address to post. cheers, Aldo __END__ $_=q,just perl,,s, , another ,,s,$, hacker,,print; |
From: chris m. <ch...@ti...> - 2001-01-05 15:43:05
|
On Fri, Jan 05, 2001 at 10:15:41AM +0100, Aldo Calpini wrote: > well, the module needs compilation: you need not only make, but > also a compiler. Micro$oft VisualC++ is not free, it should be > possible to use cygwin's gcc but I haven't played with it > very much. if you want to test it, you're very welcome. > you need to download the Perl source and compile it under your > cygwin environment, then try to compile the module. thanks to your ppm, this is not a big worry for now. thank you very much for your info, though...i was quite confused. i think i misunderstood what the Win32::GUI module could do, though...i want to manipulate preexisting windows (of an app i have no source code for) instead of making my own--specifically i need GetWindowRect($window_id); instead of $mywindow=new Win32::GUI::Window; $mywindow->GetWindowRect; does anyone know if such functionality exists in another module or anywhere? thanks much in advance for your help =) |
From: Reini U. <ru...@sb...> - 2001-01-05 19:12:14
|
Aldo Calpini wrote: > it should be possible to use cygwin's gcc but I haven't played with it > very much. if you want to test it, you're very welcome. > you need to download the Perl source and compile it under your > cygwin environment, then try to compile the module. Aldo, i'm still trying to fool around with cygwin and mingw, but at first have to build a new mingw-perl 5.6.1, because with this it will be much easier. (it can use the msvc headers and libs, and not the cygwin/w32api) but at first I have the solve the current cygwin perl-5.6.1-1 problem with gdbm. some notes: ctl3d.h will not work. I added a lot of PL_ prefixes so far, but it's still not ready. gcc is MUCH stricter than cl, it barfs with a lot of errors so far. and some constants are still not defined in the cygwin w32api. sample: GUI.xs: In function `void DrawSplitter(HWND__ *)': GUI.xs:734: ANSI C++ forbids implicit conversion from `void *' in assignment GUI.xs:735: ANSI C++ forbids implicit conversion from `void *' in assignment GUI.xs: In function `LRESULT InteractiveGraphicMsgLoop(HWND__ *, unsigned int, u nsigned int, long int)': GUI.xs:1710: warning: negative value `-1' passed as argument 3 of `PostMessageA( HWND__ *, unsigned int, unsigned int, long int)' GUI.xs: In function `LRESULT WindowMsgLoop(HWND__ *, unsigned int, unsigned int, long int)': GUI.xs:1829: warning: NULL used in arithmetic GUI.xs:1843: warning: NULL used in arithmetic GUI.xs:2646: warning: NULL used in arithmetic GUI.xs:2676: warning: negative value `-1' passed as argument 3 of `PostMessageA( HWND__ *, unsigned int, unsigned int, long int)' GUI.xs: In function `LRESULT MsgLoop(HWND__ *, unsigned int, unsigned int, long int)': GUI.xs:2724: warning: NULL used in arithmetic GUI.xs:2794: warning: negative value `-1' passed as argument 3 of `PostMessageA( HWND__ *, unsigned int, unsigned int, long int)' GUI.xs: In function `void ParseWindowOptions(SV **, SV **, long int, long int, i nt, tagPERLCREATESTRUCT *)': GUI.xs:3100: `SS_PATHELLIPSIS' undeclared (first use this function) GUI.xs:3101: `SS_ENDELLIPSIS' undeclared (first use this function) ... -- Reini Urban http://xarch.tu-graz.ac.at/autocad/news/faq/autolisp.html |
From: Aldo C. <da...@pe...> - 2001-01-08 10:09:01
|
Reini Urban wrote: > Aldo, > i'm still trying to fool around with cygwin and mingw, > but at first have to build a new mingw-perl 5.6.1, because with > this it will be much easier. (it can use the msvc headers and > libs, and not the cygwin/w32api) > but at first I have the solve the current cygwin perl-5.6.1-1 > problem with gdbm. I am also trying to fool around with cygwin, but I didn't even could produce a working Perl build :-( I'm trying to build the Perl 5.6.0 source tree under a precompiled cygwin install, and it seems everything goes well, I have a perl.exe but everytime it is launched it says that the application failed to initialize properly (0xc0000005). should be something stupid like access denied to some shared library, but I can't track it down. BTW, I gave libmsvcrt.a to Configure when it was asking for my C library, dunno if it's correct... PS. this thread should probably be moved to the Perl-Win32-GUI-Hackers mailing list ;-) cheers, Aldo __END__ $_=q,just perl,,s, , another ,,s,$, hacker,,print; |
From: Aldo C. <da...@pe...> - 2001-01-09 10:02:38
|
Aldo Calpini wrote: > I am also trying to fool around with cygwin, but I didn't > even could produce a working Perl build :-( well, I finally solved the problem, it was really a WKP (Well Known Problem :-). if anybody it's interested, the solution is available at: http://sources.redhat.com/ml/cygwin/2000-08/msg00256.html you need to download dll_entry.o, then do: ar cru /usr/lib/libcygwin.a dll_entry.o ranlib /usr/lib/libcygwin.a then rebuild perl, and everything goes smooth :-) I'll try to work on porting Win32::GUI under GCC (if time permits). cheers, Aldo __END__ $_=q,just perl,,s, , another ,,s,$, hacker,,print; |