palaniyappanBala / pyboxed

Automatically exported from code.google.com/p/pyboxed
0 stars 0 forks source link

import emb in emoduls.py #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. running starter.py

What is the expected output? What do you see instead?
not sure

What version of the product are you using? On what operating system?
latest

Please provide any additional information below.
I am not sure how this suppose to work. I looked at your notepad example and i 
was able to inject the dll into notepad but i can't get it to print anything to 
the log file. maybe a little tutorial would help. I have looked at your slides 
from trooper11 conference and apparently you did a firefox demo but no 
instructions are included which makes it hard to follow. I would appreciate any 
help. Thank you.

Original issue reported on code.google.com by omalr...@gmail.com on 15 Jul 2011 at 2:12

GoogleCodeExporter commented 9 years ago
Hi there,

I got some more reports by people who experienced no log output being 
generated. 
I think it is related whether some system DLLs (MSVCRT) are present on your 
system or not. I have just uploaded two new Pybox.dll's for Python versions 
2.6.5 and 2.7.2 which work atleast in my test system. Just replace the 
Pybox.dll in your DLL folder with the version according to your Python 
installation.

Original comment by daniel.p...@googlemail.com on 29 Nov 2011 at 6:28

GoogleCodeExporter commented 9 years ago
Hi.
In module "emodules.py" we can see the following code:

#native pybox module
import emb

But there is no module named "emb"!

Also, a small tutorial would be very useful. Thank you for your work!

Original comment by arepo.ar...@gmail.com on 20 Dec 2011 at 1:29

GoogleCodeExporter commented 9 years ago
Hi there,

"emb" is the module that is exported by the DLL file and which allows control 
interaction between the python and native C code. 
Have a look at 
http://code.google.com/p/pyboxed/source/browse/trunk/DLL/PyBox.cpp there you 
can see that "emb" is exported in line 627 (Py_InitModule("emb", 
embeddedMethods);). Methods of "emb" are defined in line 533 ff.

I have also thought about doing a tutorial, maybe youtube showing installation 
in a fresh VM from scratch or something.

Original comment by daniel.p...@googlemail.com on 28 Jan 2012 at 11:33