Hi Steve,
    Thanks, the python versions I had read up on when finally finding the 
correct PyInstaller version, 2.0, for it uses those versions and stores them 
where needed when compiling. I was having issues when using 2.5 or 2.7 version 
of Python but once I found the correct PyInstaller version and from the correct 
web site, all the errors, finding the MSVCRT.dll file went away...

        Bruce


Sent: Friday, June 21, 2013 2:47 PM
Subject: Re: Registering A Dll For VB


Bruce,

FYI, python 2.5 was built against the 2005 runtime, 2.6 and 2.7 were built with 
2008, and 3.x is built against 2010.

However, if you're concerned with operations blocking or impairing the 
responsiveness of your app, then you'll likely want to put your typical 
GUI-handling event handlers in one thread and processing in another.

Steve



On 6/21/2013 2:16 PM, BX wrote:

  Hi Steve and Rick,

      Just got home and read all the comments and yes Steve you have to be 
careful for as I had stated, studio changed that run time dll each new version 
they came out with. The original Python one only uses the MSVCRT with no 
number, but as both progressed, into Python 2.6 and later, along with studio 
from 2010 and later they started adding numbers to that dll and those run times 
have to be compatible, but I suspect it depends on what you want from it.

      For I discovered that some of it is reverse compatible and I was really 
only interested in the input command, and the display command, which are 
MSVCRT.getch and print respectively in Python.

      It is not a big priority since I can use the hotkeys since there the 
hotkey is assigned to the given window you want it in, which is perfect for 
what I need. The rest is how not to use up CPU time while waiting for an input.

      I will check on that link Steve, but I suspect I have already read it. 
      Rick, I will take a look at what you suggested since I have not yet 
experimented with projects in a major scale, just simple events and such at the 
moment. I was searching for the documentation on how to set up, make a DLL and 
was certain I had all that information from the knowledge base at the beginning 
of the semester when searching for the information on how to compile C++ 
programs and run programs without using the IDE. For it seemed the DLL stuff 
was with the needed command utilities to compile from the command prompt which 
I did all semester in the C++ course. For all my programs were written using 
that and all of them are now stand alone programs or .exe files. I had to 
upload both the text or .cpp files along with the .exe because of the issue 
with notepad changing back and forth from ANSI to Unicode formats which seem to 
happen at random. My professor was using a non-Windows compiler and it did not 
like Unicode formats, but Studio was all fat dumb and happy with either format.

      I just want to spend the summer working with DLL's and what I could 
extract from them.

      Yes Rick, it would be nice to get at least some of the commands from that 
library, but as Steve hints at, Script was designed to prevent people from 
using certain commands that would give hackers the ability to hack your 
computer and act as a local user...

      I did read up on the memory stuff this week and it does gives examples on 
how to set it up and make sure you call the proper command to destroy them, so 
no memory build up happens and lock up the system if still referenced...

      It is my learning tool, using games as my motivation, then the rest comes 
from there; just like the text book examples do.

      I got an email from someone to make the cuckoo clock program as a stand 
alone without a screen reader and that could be done using the same commands, 
just spelled differently and having it all come for a simple web page that is 
running all the time; I think that is kind of how things are done anyway, for 
lots of the commands are almost identical, just spelled a little differently.

      that person is an assistive technology person who was asking, since some 
of his students do not have a screen reader program.

      But, once the DLL is mastered then more hooks can be made and who knows 
what I can write at that point for Windoweyes.

      Thanks guys, will start reading again.

          Bruce

Reply via email to