all groups > visual c > january 2007 > threads for january 15 - 21, 2007
Filter by week: 1 2 3 4 5
C++/CLI and Boost.Filesystem
Posted by gfaraj NO[at]SPAM gmail.com at 1/21/2007 12:30:31 PM
Has anyone tried to use Boost.Filesystem with C++/CLI? I'm trying to
get some code that worked correctly in my native application to work on
my C++/CLI program. The code is in a header file in a native C++ static
library.
inline void execute_files(std::string const& dir, std::string
const... more >>
ATL service exe problem
Posted by Sandy at 1/21/2007 11:09:17 AM
HI All,
I'm a newbe to ATL. I got stucked with a problem, I have a ATL service
exe created sometime back in 1998 using VC++ 6.0 ( or older) which
works as expected in Windows NT, I dont have all the source code of the
exe. I just have all the .cpp and .h files. The .dsp and .dsw files are
missi... more >>
What is a *Page*?
Posted by Abubakar at 1/19/2007 8:34:29 PM
Hi,
I'm viewing this stack overflow help page (
http://support.microsoft.com/kb/315937 ) at the ms support site. I cant say
I understand the concept of a "page" the way its used in this
example/explanation. I mean I only am aware of the *simple*, *general*,
paging concept, the one that is... more >>
best way to check the installation of mfc80 side by side
Posted by Dieter Pelz at 1/19/2007 4:47:15 PM
Hallo,
what is the best way to check the installation of mfc80 and vcrt sidebyside
assemblies?
Best Regards,
Dieter Pelz
... more >>
VS2005 C++ code analysis reporting non-errors
Posted by ajryan at 1/19/2007 11:01:33 AM
When I build my native/unmanaged C++ ATL+MFC app with /analyze I
receive several errors like this:
Error 1 _com_issue_error (SY_FUNCTION), offset: 0 symbol
The project builds fine without /analyze
It looks like a dumb output parser is just looking for the substring
"error" in the /analyze o... more >>
error PRJ0050: Failed to register output.
Posted by Adarsh at 1/18/2007 8:03:00 PM
Hello All,
I am designing an ActiveX control in visual studio 2005 Vc++.After adding
some memeber functions to it,its giving the error as
"Error 6 error PRJ0050: Failed to register output. Please ensure you have
the appropriate permissions to modify the registry."
How to solve this pro... more >>
msvcr80.dll was not found
Posted by Adarsh at 1/18/2007 8:01:00 PM
Hello All,
I have written some video streaming code in VC++2005 to stream video from
video server.Its Successfully compiling with no errors.but when i try to run
it its giving error
"This Application has failed to start becuase msvcr80.dll was not
found.reinstalling this application may ... more >>
Creating wmv Movie Clips
Posted by Adarsh at 1/18/2007 7:58:39 PM
Hello all,
I am designing an appliaction to stream video from video server in vc++6.I
have created buffer for storing the bitmap bits of video in application.Can i
create .wmv movie clips from these buffer?
In visual studio 2005 i can use Windows media format sdk for this
purpose.How can... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
C2666 error with functions/c'tors taking variable parameters
Posted by John Shell at 1/18/2007 2:55:05 PM
Hello, all.
The following code results in a C2666 error (2 overloads have similar
conversions).
class FSVec2D
{
public:
FSVec2D()
{ // code omitted
}
FSVec2D(double first, ...)
{
va_list args;
va_start(args, first);
double d = first;
... more >>
threading question: is this code going to work perfectly?
Posted by Abubakar at 1/18/2007 2:05:43 PM
Hi,
I created 2 functions which run in seperate threads. what they do simply is
that thread1 starts and does something while the thread 2 waits for it. Then
after thread1 is done, it resumes the second thread by calling SetEvent and
itself goes into wait condition by calling WaitForSingleOb... more >>
VC++ 2005 Threading for Complete Morons
Posted by cory.laflin NO[at]SPAM sbcglobal.net at 1/18/2007 1:35:22 PM
Hi. I have what I believe to be a very simple task I'm trying to
accomplish in VC++ 2005 and I simply can't make it work. I have a good
working knowledge of C, a basic-to-middling knowledge of C++, and a
novice-level knowledge of OOP in general and Visual Studio in
particular.
I am not a fu... more >>
Application has requested runtime to terminate it in an unusual way
Posted by mikes1962 at 1/18/2007 12:16:25 PM
I am developing a Dialog based application using visual c++ .net 2003
running on XP, and when I run I periodically get the following error
message.
"The application has requested runtime to terminate it in an unusual
way"
The error doesn't always occur. and when I run within the IDE the err... more >>
Simple code doesn't work on two systems
Posted by Sourcerer at 1/17/2007 7:00:10 PM
I wrote this very simple code in .NET VC++. I compiled it on my system, and
tried to run it on my friend's computer (he doesn't have the compiler). We both
have Windows XP Professional. I have .NET framework 2.0, and he had 1.0 and it
didn't work; then he installed 2.0 and it still didn't work... more >>
drag drop from app to explorer with delayed file creation
Posted by Nick at 1/17/2007 7:11:27 AM
Hi,
I am developping an app using managed C++. I want to be able to do a
drag drop from the app to windows explorer. The files to be dropped
onto explorer do not exist yet, the files are to be created by the app
when the user does the drop into explorer.
I have done some searches and found ... more >>
Display a time span in days
Posted by Frank at 1/17/2007 3:08:36 AM
I have a time saved in a time_t variable.
I'd like to be able to display the number of days since then but can't find
anything built-in that will help.
Failing that I'd like to display the date (only the date) that corresponds
to the saved time_t variable.
Thanks for any help
... more >>
Is Visual c++.NET 2005 a compromise compared to C# or VB.NET ? advice needed
Posted by s33k3r at 1/16/2007 11:28:30 PM
hi all
I've been assigned the task of designing a distributed application from
scratch. I have no legacy applications to integrate or support. But I'm
faced with the question : Is visual c++.net a compromise when compared
to C# or VB.NET.
Considering the fact that even COM+ enterprise servi... more >>
is it possible to programmatically detect Visual C++ 2005 SP1?
Posted by Jonathan Wilson at 1/16/2007 9:33:28 PM
Is there some way I can do something like this
#if <running on Visual C++ 2005 SP1>
//SP1 code here
#else
//other code here
#endif... more >>
Newbie: Convert from string to integer
Posted by Paul Hemans at 1/16/2007 9:24:48 PM
Hi I am trying to take input from the console and put it into an integer.
The code below is my attempt, it works, but is there a way that .Parse can
be used without referring to an existing variable (whose value would be
irrelevant anyway).
#include "stdafx.h"
using namespace System;
in... more >>
overriding C runtime functions with my own implementation
Posted by Jonathan Wilson at 1/16/2007 8:33:38 PM
I have the following:
1.A C++ dll (with no managed code whatsoever) compiled with visual C++ 2005
that links to libcmt.lib as its runtime library.
and 2.A piece of binary code (also compiled with visual C++ 2005) that I
cant change or have changed which calls a certain c runtime function (for ... more >>
Can I delay windows automatically shuting down my app?
Posted by Frank at 1/16/2007 4:04:08 PM
My program gets a WM_QUERYENDSESSION message and asks the user if it is OK
to shutdown.
While he's thinking about it, Windows displays a box saying the program is
not responding, and if not answered shuts down my program.
I need to delay that while until the user answers my program's dialo... more >>
pause the execution of code in one routine while letting the app respond to keyboard
Posted by Frank at 1/15/2007 3:24:15 PM
I'm using Sleep(100) and that works OK.
However, it would be better if my app continued to receive and process
keyboard messages.
How can I pause the execution of code in one routine while letting the app
respond to keyboard input?
Thanks
... more >>
mixing managed code with native code
Posted by rhossi at 1/15/2007 9:56:43 AM
I have an Assembly using IJW that uses a third party native library.
There are quite a few function calls that uses callbacks and pointers.
One of those takes a delegate: bool enumXXX(char * someData, unsigned
long lparam);
Inside the passed delegate I need to cast from unsigned long to
Lis... more >>
Constant MissingManifestResourceExceptions
Posted by wsmbill at 1/15/2007 6:41:55 AM
My company has been using Borland's IDEs for years and we're just now
migrating to Microsoft. I'm in the process of learning visual c++ by
trial and error.
I have created a test GUI app, and things are going well except any
time I try to set a custom icon or image on a control (like a button ... more >>
A bunch of afx.h errors after moving to vc express
Posted by Efi Merdler at 1/15/2007 1:01:56 AM
Hello,
I developed my previous project (an MFC project with managed
extensions) on VC.NET standard edition, it took some time to configure
it but eventually it worked.
Now I'm configuring a new machine with VC express.
1.I installed SP 1.
2. I copied the project to this new machine.
3. I fo... more >>
|