all groups > visual c > september 2007 > threads for september 8 - 14, 2007
Filter by week: 1 2 3 4 5
event handling
Posted by dragonslayer008 NO[at]SPAM hotmail.com at 9/14/2007 1:25:05 PM
I am writing a custom control in C++/CLI. In the Visual Studio
designer, I clicked to handle the paint event. This worked fine
except that Visual Studio put the function definition in the header
file instead of the .cpp file. Is it okay if I move it to the .cpp
file? Or is this potentially a... more >>
dependecies for mfc exe
Posted by Alex at 9/14/2007 8:54:10 AM
Hi all,
I developed an mfc based application. Now, I need to create setup for
this application. Now, I need to finde what are all the supporting dlls/libs
for this application? I checked with dependency walker then created setup
with 5 dlls.
But, it is not working at my test bed.... more >>
set_difference algorithm in .NET generic collections?
Posted by Duncan Smith at 9/14/2007 5:22:41 AM
Just before I have to implement my own.. I don't suppose the .NET
framework has an equivalent of the STL set_difference algorithm
yet...?
For e.g. If I have two containers: CompareSet={1,2,3} ToSet={2,3,4}
then diff(CompareSet,ToSet) = {4} and diff(ToSet,CompareSet) = {1}
Thanks,
D... more >>
ProgID in .NET?
Posted by Boris at 9/14/2007 12:00:00 AM
As many of you know probably you can use ProgIDs in COM to instantiate COM
objects. The ProgID has the form Project.ClassName.Version. Thanks to
version it is possible to instantiate COM objects from different versions
of the same library. I wonder now if this is possible in .NET, too?
W... more >>
Generic IDictionary confusion
Posted by vcquestions at 9/14/2007 12:00:00 AM
trying to design an effiecient interface, where I can pass an
IDictionary<int,string^> to a method. int is some id and string^ is
some
value that is initialized to null by a caller.
The callee function needs to update the value based on the key.
in native code I'd have passed a std::map an... more >>
/clr:pure doens't compile at release mode with unmanaged functions
Posted by Horacio_Nu=F1ez_Hern=E1ndez at 9/13/2007 1:12:57 PM
Hi,
I have been writing a wrapper with /clr:pure set, while I using the
debug mode it was fine, when turned the mode to release it begins show
me the same errors that when we try to use unmanaged functions
whithout specify the input libs to the linker,
thanks in advance,
regards
hnh
... more >>
ListBox usage question
Posted by caracolito1975 NO[at]SPAM gmail.com at 9/12/2007 12:27:27 PM
Hi to every one!!!!
For some time now I'm programing in .NET and I have a question in
using ListBox
I need to databind a collection to a ListBox. My code is something
like this:
using namespace System;
using namespace System::Windows::Forms;
ref class MyClass
{
public:
MyClass(... more >>
WaitForSingleObject blocked whereas a thread has returned
Posted by JsCharly at 9/11/2007 11:46:00 PM
Hello,
When closing my multithread application, before stopping the main thread I
wait, in this main thread, for a secondary thread to exit. I use for it the
function WaitForSingleObject which never end.
When debugging I can check that this secondary thread is returning zero and
exiting... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
a simple ofstream open question
Posted by Abubakar at 9/11/2007 6:23:18 PM
Hi,
If I write the following code:
ofstream f;
f.open("c:\\hello.txt", ios::binary | ios::out);
how do I check if the file is successfully opened and ready to write ?
Should I do a f.is_open() check ?
Regards,
...ab
... more >>
String problem VS 2005
Posted by SQACSharp at 9/11/2007 1:06:09 PM
How can I "convert" from a char to a string. I'm trying to display in
the console the Classname and the text in the notepad window.
Start notepad and type some text before running the following code.
#include <windows.h>
#include <iostream>
#include <winuser.h>
using namespace System;... more >>
tlbexp command
Posted by George at 9/10/2007 11:42:06 PM
Hello everyone,
I find that we can use tlbexp command like *tlbexp <dll name>* to export tlb
file for a C# COM assembly, but can not use it to export tlb file for an
unmanaged C++ COM DLL. Is that correct?
I am wondering how to export tlb file of an unmanaged C++ COM DLL?
thanks in ... more >>
Stepping into vc++ dll from c#
Posted by mk at 9/10/2007 6:56:06 AM
I need to debug a native vc++ dll used in a c# app winforms app. The c# app
employs DllImportAttribute, and static extern int, to define the functions it
calls from the vc++ dll.
The vc++ dll is not referenced, nor does it use com to communicate, rather
it registers the windows handle with t... more >>
debug/release exe is not working...
Posted by Alex at 9/9/2007 8:34:02 AM
Hi all,
I have devloped an application in vc++ 2005. I can debug this
application. And I can see the output also while debugging (F5, F10, F11).
But, I could not run this application (debug/release exe) by double
click on the exe.
How to resolve this issue?
--
Thanks ... more >>
|