Can I run a DLL from an exe with parameters? [closed] - c++

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I would like to know if I can run a DLL function from a exe?
(C++ if it's important)
And If I can can I do it with parameters?
This isn't really code but the concept is the same
Run Calculator(time,0,int,max)
I would like to run something like that, using parameters to open up the dll in a certain way. Is it even possible?
Bonus Point for anyone who can give me an example in code :)

You can have just about any function you like in a DLL, and call it, just as you would call any library function. And have as many parameters as you like.

Related

The first function is called in MFC Aplication [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 days ago.
Improve this question
I'm new to MFC C++ and have a big MFC Project. It's in single document type and contains lots of classes such as doc.cpp, view.cpp, MainFrame.cpp ...Of course, It also contains lots of threads, functions in other classes. But i dont know exactly the way that project works, the way these threads are called. What is the first function, class is called? I try to find in default class of that project and have no clue.
I need an instruction or document explain step by step how a mfc project work. Can i have your help?

Can I call a C++ function from python and python function from C++ without library file like .so ...? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 days ago.
Improve this question
I search the Python/C api and I write the my code. But this code shouldn't have .so like library files. İs it possible? If possible please show me to way.
I use CFFI,cython,pybind11 this is have the same way.

C++ in powershell [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I am in an environment which has no C++ compiler software installed, and I was wondering if it was possible for me to compile C++ code without having to install anything.
From within PS run help add-type -full and look for the F# example (example 7 on my system). Assuming you have a C++ compiler that follows the "CodeDom" model, you can mirror the F# example.
Of the two alternatives you gave, I'm going to go with "blindly obvious"

How to make a MATLAB function to be run in html? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I've developed a MATLAB code that I think it is useful to be used by researchers. How can I embed it in a website to be used free?
It gets two integers and return a set of integers
Also it is possible to convert it to c++, If it helps.
Thanks
Submit your m-file(s) to Matlab Central File Exchange, this is the perfect place for it.

Using DLL in C++ Win32 applicaiton [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I have the library called Serial.dll that containts the file Serial.def that looks like this:
EXPORTS
ValidateSerial
GenerateSerial
I want to import the function GenerateSerial in my C++ Win32 application. I searched on the internet topics about using DLLs but I can't get the idea... Can anybody help me?
The info you provided only tells two funciton names. You can obtain their address doing LoadLibrary and GetProcAddress. But to make any use of them you need to know the proper signature, and the rules for the arguments and return values.
Without documentation (or a .h file) you can't go very far.