all groups > visual c > june 2007 > threads for june 8 - 14, 2007
Filter by week: 1 2 3 4 5
framework or not framework
Posted by rodchar at 6/14/2007 1:03:03 PM
hey all,
Regarding Visual Studio .Net 2005 can you still build applications that
don't require the .Net Framework (I guess this would be called Unmanaged
Code?). I'm asking because I'd like to create a very light toolbar that can
work on many different computers and respective browsers (wheth... more >>
Calling Legacy C function from Managed C++
Posted by briankirkpatrick NO[at]SPAM cox.net at 6/14/2007 11:40:41 AM
Forgive me if my post seems a little amateurish...
I'm requesting assistance from some of you smart folks out there to
get the managed calls write that meet the specification in the esa.h
for Esa_Init. When I make a call, VS2005 reports
"AccessViolationException" and refers to the 4th paramet... more >>
Get Text from ListView Control - Managed C++ NET
Posted by Pantokrator at 6/14/2007 5:06:45 AM
Hi,
I've searched the web and MSDN but couldn't find adequate information
on retrieving the text of a subitem of a listviewitem.
What I want to do is simple. I have a listview control with 2 columns
and a large number of listviewitems.
Every time I click on a row (one of the listviewitems), I... more >>
Dynamic debugging problem
Posted by alexis.meilland NO[at]SPAM gmail.com at 6/14/2007 4:59:04 AM
Hello,
Well, I have a problem with a dynamic debuging.
My program is winform program written in Managed c++.
I compile dynamically a dll in vb.net. It works well. To execute a
function in my dll I use the invoke function. It works well.
However, I would like, if there is a runtime error... more >>
Position of mouse click on PictureBox image
Posted by Ris at 6/13/2007 11:15:00 PM
Hi,
I have an image displayed in a PictureBox and the displayed image is resized
and centred. When I click on the image, I can get the coordinates relative to
the PictureBox but I would like the coordinates to be relative to the image.
I've tried using PointToClient but this gives me wrong ... more >>
Windows Event when files are added to a folder
Posted by Benry at 6/13/2007 6:53:05 PM
Without having a reference to a specific folder, is there a way that
Windows fires an event when files in a folder are modified? I'm using
C++.NET 2.0 for programming a service, and would like this to be the
starting point. I have a shared folder which is the login folder of
an FTP server. On... more >>
VC6 <-> C#(net 2.0) interaction
Posted by Elmar at 6/13/2007 4:49:02 AM
Hi there.
We maintain a big VC6 project that we currently can´t convert to VS2005 for
various reasons. For our current project we need to establish a communication
channel between this VC6 project and another project that is running on
VS2005 C# and NET 2.0.
All our efforts so far were ... more >>
Will VC++ face out ?
Posted by Kid at 6/12/2007 11:21:01 PM
Hi I have many questions
Does VS Orcas still has VC++ , do you think that VC++ will face out by
dotnet or Java ?
Can C# support standard or Win32 C/C++ class lib dll and COM ?
Can dotnet and Java do device IO control with drivers ?
Can dotnet and Java avoid disassembly for commercial ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Displaying an image on ATL Dialog
Posted by Michael Bray at 6/12/2007 2:10:45 PM
I'm trying to display an image on an ATL Dialog form in VS2003... I think
I am able to load an image (a GIF) w/ CImage.Load, and I'm trying to call
the SetBitmap followed by Invalidate on the CStatic that I get, but no
image appears... I'm doing this in OnInitDialog(...). any help?... more >>
/clr option creates multiple Win32 threads
Posted by robintw at 6/12/2007 2:20:00 AM
Hi,
While debugging my application I have noticed that occasionally a message
saying "Win32 Thread xxxx exited with code 0 (0x0)" appearing in the debug
window. I investigated this some more and found that, according to the
threads window, there were four Win32 threads in my program! I had ... more >>
managed threading / native exception handling question
Posted by osudude at 6/11/2007 10:32:45 PM
What happens in the following scenario?
1.Via a DLL interface, a managed thread kicks off a potentially long running
FOR loop operation encapsulated by a native C++ dll. This FOR loop has C++
try/catch logic and allocates memory using calloc.
2. The managed thread is aborted before step 1 c... more >>
Generic with template as member variable
Posted by Boris at 6/11/2007 10:23:40 PM
I have a class which should like this ideally:
generic <typename T>
public ref class ManagedClass
{
T ^managedMember;
UnmanagedClass<U> *unmanagedMember;
};
I actually would like to specify the type U depending on the type T. As
far as I understand there is no direct support for this... more >>
Opening Movie is suddenly blurry
Posted by Greg at 6/11/2007 9:54:11 PM
The opening movie is suddenly blurry in Rise of Nations. I think I've either
accidently deleted a Windows System filter or one or more video filters has
become corrupted.
I've checked and I suddenly cannot see "avi" or "mpg" video files either -
in Nero. But WMP still plays these fine.
What... more >>
"Any CPU" build for C++/CLI
Posted by Dirk at 6/11/2007 12:00:00 AM
Hello
Can I create a C++/CLI assembly with /clr:pure that is platform agnostic? C#
projects use "Any CPU" as the default platform and the output can be loaded
into a 32-bit or 64-bit process.
I have a VS solution with a C++/CLI dll and a C# exe which uses this dll.
When the exe runs on W... more >>
CCommandLineInfo's ParseParam not getting called
Posted by otengo NO[at]SPAM gmail.com at 6/10/2007 6:24:14 AM
Hi,
I've followed simple steps ie: Created a class (call it mycommandline)
inheriting from CCommandLineInfo. Than overrided the ParseParam
method. Created a mycommandline object and passed to ParseCommandLine
method of my CWinApp inside its InitInstance method. Now I pass
command line arguments... more >>
CD writer/CD drive
Posted by Pam at 6/9/2007 5:18:00 AM
I can no longer write anything to CD. Also although I have 2 CD drives in my
computer, only 1 is listed in Device Manager. When I try to write to CD
through Windows it prompts me to put in a CD even when one is already there.
When I try to save audio files through Itunes it says that there ... more >>
Cannot access disposed object
Posted by Amit Dedhia at 6/8/2007 2:56:35 AM
Hi
I am having problem working with Timers in C++/CLI (the .NET version
of C++)
I have an application which has several forms with pictureBox controls
on it. There is a background timer executing every 250ms and it
generates a display image (using some real time data) and pastes those
on t... more >>
|