22 Jun 2012 05:32
trying latest mingw version
2012-06-22 03:32:34 GMT
2012-06-22 03:32:34 GMT
I am looking for some help. I am on Windows XP 32bit platform
I was using an old MinGw (the included in Bloodshed Dev-C++ (v126.96.36.199)), developed a printer driver with that, it works ok.
But then, I wanted to do the 64bit version of the same driver same functionality, so as a first step I downloaded the last MinGW, and give it a try.
As a first stage I just wanted to be able to compile just the same 32bit driver with the new MinGW. And that is my current goal.
When compiling, first dropped the error 'Boolean' not declared, so I wrote the declaration for it (old mingw version don't show that error), as it was in some TIFF / JPEG third party source, was easy.
Then, it dropped a lot of "obsolete conversion const TCHAR...." errors, so I study what was, and fixed all those (was classic _T("xxxxx") in function's call that for some security reason don't like like possible security holes).
Then, it returns none error, and can compile it. But when I installed, it return an error message when subscribing in the printer spooler (maybe opening the port or creating the printer instance). the error message is "incorrect arguments". This error is shown when the installer runs "rundll32 printui.dll,PrintUIEntry /if /b "FlulpyPrinter" /f "$INSTDIR\flulpy.inf" /r "FlulpyVirtual Printer" /m "FlulpyVirtual Printer" the same installer's script that works.
Ok, Then, taked all the source as it was, and compile it with the MinGw that is included in Bloodshed Dev-C++ , compiled, tested, OK, works perfectly, so, I didn't fucked up the source code, something else must be.
Then using the libraries (spool, fstream, etc), of the folder in Dev-C++, but using the latest version of mingw's BIN files for compiling, and the driver don't works again, so the libraries aren't the problem, and minGW bins seems to be the problem.
So, my question: I wonders if I needs to be aware of more changes between the "minGW bin file of the version in Bloodshed Dev-c++ v188.8.131.52 package" VS "minGW bin file of new version"?
Thanks in advance.
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ MinGW-users mailing list MinGW-users@... This list observes the Etiquette found at http://www.mingw.org/Mailing_Lists. We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated. _______________________________________________ You may change your MinGW Account Options or unsubscribe at: https://lists.sourceforge.net/lists/listinfo/mingw-users Also: mailto:mingw-users-request@...?subject=unsubscribe