|
Here are a few links -
http://www.codeproject.com/KB/COM/nettocom.aspx
http://www.blong.com/Conferences/BorConUK2002/Interop2/COMNetInterop.htm#CCW
|
|
|
|
|
Hi Thanks Again
Is it possible to access the DLL/EXE without making a COM object
For Example:
Just Execute an EXE from the C++ project( like starting a separate Process)
thanks.
|
|
|
|
|
If you only want to execute an EXE, you can use http://msdn.m[^]icrosoft.com/en-us/library/ms682425(VS.85).aspx to do this.
To access a C# DLL from C++, you will still need to create a COM Callable Wrapper (CCW).
|
|
|
|
|
I want to create a dialog based application in MFC to access a database containing 3 tables and run a query to display the filtered data of a single table.
can smebody help me with the code.????
Thanks in advance....!!!!
|
|
|
|
|
There are tons of examples here at CP (e.g., this one), as well as Google.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
Hello,
i am using Microsoft Visual Studio 2008 on Windows 7 and i'm programming in Visual C++ (using MFC).
Now i have the following problem:
I have a CDialog with an CComboBox on it (placed with the ressource-designer and assigned an variable of type CComboBox). In OnInitDialog() i want so assign an V-Scroll bar on the combobox, so the user can scroll down if the box is full of items. In my code i do this
m_cComboBox.ModifyStyle(0, WS_VISIBLE | WS_CHILD | WS_BORDER | WS_VSCROLL | CBS_DROPDOWNLIST);
The problem ist with WS_VSCROLL.
After compiling (with filling the combobox in the source code) and starting i can not use the combobox by clicking on the 'drop-down-arrow' on the right side. The combobox does not drop down. Whenever i click on the text area of the combobox (area left to the drop-down-arrow) instead it works - then the combobox drops down and shows the items.
This problem i have noticed only since Windows 7.
Why does the drop-down-arrow of the combobox not work? Does anyone have a solution?
Thanks.
modified on Thursday, November 12, 2009 2:18 PM
|
|
|
|
|
hollesser001 wrote: ...so the user can scroll down if the box is full of items.
Unless I'm not understanding you, that happens by default.
Are you using CBS_DROPDOWN , CBS_DROPDOWNLIST , or CBS_SIMPLE ?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
I am using an CBS_DROPDOWNLIST. With this option the combobox ist read only and the user only can choose an well definied item.
The problem occures only with an CBS_DROPDOWNLIST.
> Problem still open. Please answer!!
modified on Thursday, November 12, 2009 4:28 PM
|
|
|
|
|
In the resource editor, did you manually "grow" the drop list size ?
If you click on the "down arrow" of the combobox, extra resizing handles appears,you can now grow the drop list.
This signature was proudly tested on animals.
|
|
|
|
|
Yes, i used the "down arrow" in the ressource editor.
But i need to set WS_VSCROLL anyway because there is an V-scroll-bar needed if there are a lot of items in the combobox so that the defined drop-down-area (that i have set in the ressource editor) does not suffice.
What i found out: On Windows 7 you don't have to set WS_VSCROLL any more because the combobox has a V-scroll-bar in base setting. But on XP and VISTA it is necessary and i must support all operation systems (XP, VISTA and Win 7).
> Problem still open. Please answer!!
|
|
|
|
|
|
Hello! I have a problem to make a detection, I need to locate multiple objects (people) was planning to use the algorithm of Viola and Jones extended version of Lienhart (included in OpenCV), can I make a massive detection (crowd, each one people) of objects with these algorithms? (I know it is mainly used for face detection) or exist another solution whithin OpenCV?
Can anyone help me? I no need a source code, just help me to choose an algorithm to do this o una solución
modified on Thursday, November 12, 2009 9:55 PM
|
|
|
|
|
Possibly you may find better luck on the algorithms forum [^].
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
oops! jeje thanks! I will try
|
|
|
|
|
Are there any tutorials or guides on how to do this? If so, what/where are they? Thanks in advance.
Don't steal, the government doesn't like competition.
-Ron Paul
|
|
|
|
|
i saw long ago an article here about a setup creator.
but there is was no such thing as the "run time" compilation of code unto an executable module.
the article was merely about an application that packages certain files in an exe by appending them to the end of a pre-existing exe resource and create an exe file that will in turn, ie at its execution, read what was attached to it and copy it to target directories specified in certain meta data.....good luck.
Easy Profiler : Now open source !
http://www.codeproject.com/KB/cpp/easyprofiler.aspx
|
|
|
|
|
this is the article :
Easy Installer[^]
Easy Profiler : Now open source !
http://www.codeproject.com/KB/cpp/easyprofiler.aspx
|
|
|
|
|
This question needs to use of OOP methodology in implementing a simple data encryption/decryption technique. The encryption technique will use the X-OR bitwise operator (^) and a random generator. Your program should first obtain a message up to 80 characters long from the user and then encrypt the message. It should then offer the user an option to either view the encrypted message or view the original message. The original message should be password protected – that is, the user should enter a correct password in order to view the original message. Set your password as “UECS1633”. The number of attempts to enter the password should be limited to three.
class will group all related variables and functions together. Must use the constructor and destructor functions also.constructor will be used to dynamically allocate memory and initialise class data members, while the class destructor will be used to free memory allocated by the constructor.
Sample output:
Enter a message to encrypt (up to 80 characters) => HELLO WORLD
Option:
1. View encrypted message
2. View original message
3. Exit
Enter option => 1
Message : îüêêïΣôïûêÇ
Display original message (y/n) => Y
Enter password => UECS1623
Invalid password!!! 2 attempts(s) left!!
Enter password => UECS1633
Message : HELLO WORLD
Message destroyed!!
|
|
|
|
|
And, what have you already done ? Where are you stuck ?
|
|
|
|
|
Actually its an assignment from my University. I have not study those things yet. So i have no idea how to start. Can u help me out here..
|
|
|
|
|
puvancooldude wrote: I have not study those things yet
What have you studied? Biology?
|
|
|
|
|
Not yet study encryption technique using the X-OR bitwise operator (^)...
|
|
|
|
|
Encryption specifics aside, you indicated earlier, "So i have no idea how to start."
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
puvancooldude wrote: Actually its an assignment from my University. I have not study those things yet. So i have no idea how to start. Can u help me out here..
no.
There are so many wrong answers in there...
1- University ? what courses do you have ?
2- Did you attend your classes ?
3- Did you do any exercises your classes set up for you ?
4- Did you asked questions to your teacher/teaching assistant if you did not understand the topics ?
5- ...
This signature was proudly tested on animals.
|
|
|
|
|
Electronic and communication engineering. M attending the classes now. Yup m doing the exercises but the topic that involve this question is not yet being thought. My lecturer ask me to try study first by own before he teach the topic. The due date is 2 weeks from yesterday. So m trying to study by own first...
|
|
|
|