dromenox Posted September 12, 2014 Share Posted September 12, 2014 How can I make communication between a AutoIt program and a C/C++ program that is running? Would like a basic example. Link to comment Share on other sites More sharing options...
JohnOne Posted September 12, 2014 Share Posted September 12, 2014 What C++ program? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
dromenox Posted September 12, 2014 Author Share Posted September 12, 2014 What C++ program? I will create it. Will be a console application. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted September 12, 2014 Moderators Share Posted September 12, 2014 So, without seeing what you're doing, we're supposed to guess at how they need to communicate??? "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
JohnOne Posted September 12, 2014 Share Posted September 12, 2014 You can communicate with your own C++ app in any way you see fit. Messages, MailSlots, Memory, File, Database. etc... So long as you have the necessary coding in both apps. But since you're trying to inject dll into not your app that is not going to work. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Luigi Posted September 12, 2014 Share Posted September 12, 2014 I know... You say communicate PHP and C++ in the same machine. May I suggest JSON. C++ have JSON. AutoIt too. >See. Visit my repository Link to comment Share on other sites More sharing options...
JohnOne Posted September 12, 2014 Share Posted September 12, 2014 If you want to use SQLite, >here is thread where I learnt how. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
dromenox Posted September 12, 2014 Author Share Posted September 12, 2014 So, without seeing what you're doing, we're supposed to guess at how they need to communicate??? It is a DLL that is injected into a process and will hook a function. I want the DLL send some things for the program in AutoIt to display in a GUI. For now just did the DLL, the program in AutoIt will then find a way of communication between them. Link to comment Share on other sites More sharing options...
JohnOne Posted September 12, 2014 Share Posted September 12, 2014 AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
dromenox Posted September 12, 2014 Author Share Posted September 12, 2014 The problem is that it calls the DLL without it being loaded into a process. This does not work when the DLL is injected into a process. Link to comment Share on other sites More sharing options...
JohnOne Posted September 12, 2014 Share Posted September 12, 2014 I've definitely read a thread on here which does exactly what you want. can't find it, it's in the depths of the forum a few years ago. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
dromenox Posted September 12, 2014 Author Share Posted September 12, 2014 I've definitely read a thread on here which does exactly what you want. can't find it, it's in the depths of the forum a few years ago. If this code had no errors that would be perfect, I would not need to use C ++. '?do=embed' frameborder='0' data-embedContent>> Link to comment Share on other sites More sharing options...
JohnOne Posted September 12, 2014 Share Posted September 12, 2014 Maybe, but I don't think that is the thread I read. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
dromenox Posted September 12, 2014 Author Share Posted September 12, 2014 Maybe, but I don't think that is the thread I read. Do you remember a word / title of the topic? Link to comment Share on other sites More sharing options...
dromenox Posted September 13, 2014 Author Share Posted September 13, 2014 If there were some way to call a function of the DLL that is loaded and not load it as DllCall do. Link to comment Share on other sites More sharing options...
JohnOne Posted September 13, 2014 Share Posted September 13, 2014 When you inject your dll you must have a pointer to it right? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
dromenox Posted September 13, 2014 Author Share Posted September 13, 2014 When you inject your dll you must have a pointer to it right? For now I'm using a DLL injector. After my own program will inject. I have not studied that part. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now