Last month's Visual C++ Developers Journal had an article on embedding Perl in Visual C++. If you work with other VC++ developers, I would suggest asking one of them to lend you the magazine, barring that, I would be happy to photocopy the article for you and mail it to you. In the meantime, I will see if I can lift the code from their website and post it here for all to peruse.
HTH,
Maurice
Update: The code associated with the article is several pieces long, and I would prefer not to post it, but I would be happy to email it to whoever would like it. It's in zip format, so if you don't have Zip, I'll put it into a Self-Extractor for you, or, I can unzip and email the individual pieces, just let me know!
| [reply] |
Hi,
If you get the photocopy,please mail it to me too.
mailto:utility@cmmail.com
Thank you.
| [reply] |
This would be awesome.
Let me know if you find it.
I'll try to find it also.
| [reply] |
Well, I did not find anything on the VCDJ website. I would be really pleased to get that article mailed then. Let me know how you think we will do that.
Thanks a lot for your input.
| [reply] |
| [reply] |
Say what?? MSVC++ is horrible. It does annoying things like assigning the same memory address to a loop control variable and the last element of an array. By my experience, CodeWarrior produces MUCH faster code.
| [reply] |
Indeed, the MSVC++ compiler couldn't even be said to be ANSI compliant (we'll not get into the issues I've had with variable addresses... *shudder*) Probably your best bet would be to embed the perl interpreter in your program, ala perlman::perlembed. Hope this helps! ~Cybercosis | [reply] |