all groups > visual c > march 2005 > threads for march 15 - 21, 2005
Filter by week: 1 2 3 4 5
line graph plotting using vc++
Posted by wayne at 3/21/2005 10:24:04 PM
Hi,
May i know how can i plot line graph using VC++? Apparently i have a
list of data to b plot into a line graph... how can i do that in VC++?
thanks alot
--
wayne
------------------------------------------------------------------------
Posted via http://www.codecomments.com
-... more >>
MSDN question
Posted by Jonathan Wilson at 3/21/2005 8:53:26 PM
Is it possible to "disable" certain parts of the MSDN documentation (for
example, all stuff pertaining to FoxPro or to Windows CE) so that it doesnt
show up in my index?... more >>
Using ADO.NET with exisitng MFC Application
Posted by Hari at 3/21/2005 11:51:47 AM
Hi Friends,
Please help me for make a solution for the following
problem :
- I would like to use SQL server 2000 with my exisitng
MFC based data acquision/presentation application. I
prefer to use the ADO.NET as the interface (with new its
nice design and features).
As an experiment... more >>
wtf wrong with msdn in .net 2003? I can't find stuff I _know_ is there..
Posted by silangdon at 3/21/2005 11:13:08 AM
<rant> I've spent 30 minutes trying to find information on the CString
left function. in VC6 you get MFC class & a complete list of
operators. And an overview. This seems to be entirely absent or hard
to find.
I _hate_ it when software gets worse, not better.
</rant>... more >>
Question under MFC...
Posted by NewbieStats NO[at]SPAM hotmail-dot-com.no-spam.invalid at 3/21/2005 1:36:37 AM
Hey...
Ive been making a Program with Microsoft Visual C++ 6.0...
Ive made it so that my Main interface window has buttons, and ive made
other CDialog resources but I dont know how to make it so when i click
on the Button on the main interface itll open another CDialog
window...
How woul... more >>
Performance counters and LARGE_INTEGER values
Posted by Bob Altman at 3/20/2005 8:56:56 AM
Hi all,
QueryPerformanceCounter returns a LARGE_INTEGER, which the documentation
states is equivalent to a signed 64-bit integer. My question is, can
QueryPerformanceCounter return negative values, or is its output restricted
to positive values? TIA!
... more >>
BSTR to char* and vice versa
Posted by Urs Vogel at 3/19/2005 6:48:01 PM
Hi
What's sthe best approach to convert char[] or char* strings to a BSTR and
vice versa? I would like to omit OLE2A macros and allocate the memory
myself, or is the the only way? Any hints?
Thanks, Urs
... more >>
C++ Web Application & Web service creation
Posted by Les Dunn at 3/19/2005 3:07:38 PM
I have a C++ application that I have built using MS VC++ .NET. I would like
to set it up/convert it for multiple users to run it from the web. I have
posted this to the 'microsoft.public.dotnet.framework.webservices' forum but
no response.
What do I need to do to make this available to users... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
how to call vc6 dll from vc2005
Posted by indiana at 3/19/2005 10:03:03 AM
Thanks in advance. I have a vc6 dll that is currently called by a vc6 exe
and want to call it from a vc2005 dll. The vc6 exe using the following header
[DllImport("cMath.lib")]
extern "C" __declspec(dllimport) int Estimate (int Task2Do,...);
Can someone please point me in the right... more >>
ETI in VC71?
Posted by Arkadiy at 3/19/2005 8:15:36 AM
Hi all,
I was under impression that the ETI bug was completely fixed in VC71.
However, recently I ran into a problem that makes me think otherwise.
The following minimal example demonstrates the problem that looks very
similar to ETI:
------------------------------
template<int n> struct Y... more >>
verwenden von .ini dateien in vc++ 2005 express edition
Posted by lan-pille NO[at]SPAM freenet.de at 3/18/2005 2:40:47 PM
Hi,
ich suche schon eine ganze Weile eine Möglichkeit mit Microsoft Visual
C++ Express Edition Beta 1 .ini-dateien zu lesen uns zu schreiben, ich
habe es schon mit "GetINIEntry" und "GetPrivateProfile" versucht aber
davon funktioniert nichts, kann mir jemand helfen?
Danke schon mal im Vorra... more >>
Accessing hardware information
Posted by Stephen Corey at 3/18/2005 12:39:40 PM
How can I access the hardware information of a system, like hard
drive(s) model & serial numbers, video card model, etc...?
Thanks!... more >>
another .2003 issue to be verified
Posted by Stefan Slapeta at 3/18/2005 12:05:50 PM
VC 2003 calls f(char const*) for the following code, but it should call
the function template as f(char const*) is no perfect match (because of
decay).
Please could someone analyze the behaviour in VC .2005?
Thanks, Stefan
template <typename T>
void f(T const&)
{
// this one shou... more >>
one more function template bug in VC 2003
Posted by Fender Mussel at 3/18/2005 10:12:52 AM
Please could someone verify if this bug is fixed in VS 2005? (the code
should compile, but it doesn't in VC 2003)
Thanks, Stefan
template <typename DerivedT>
struct base
{
template <typename T>
DerivedT f (T const&) const
{
return DerivedT();
}
};
st... more >>
Which process has a file open
Posted by George at 3/18/2005 6:19:10 AM
Is there a windows API call which will tell me which process has a file open?... more >>
FindWindowEx - undeclared identifier/not a member of global namesp
Posted by Simon Matthews at 3/18/2005 4:25:06 AM
Hi,
I'm trying to find a window handle using FindWindowEx. I get an error
undecalred identifier if I use FindWindowEx() and not a member of global
namespace if I use ::FindWindowEx()... Even though FindWindow() works
perfectly well.
I have imported <windows.h> but being quite new to C++... more >>
list box
Posted by wayne at 3/18/2005 2:25:38 AM
hi,
how can i read a list box from the first entry to the last? cos i
understand that the cursor will be at the end and hence i wont b able
to use GetCurSel().
thus how can i pick up the content of the list box from the top to the
bottom?
thanks
--
wayne
---------------------... more >>
Radio Buttons don't work.
Posted by Peter Aitken at 3/17/2005 3:06:55 PM
I am working on a VC++ program in VS.Net 2003. I am following the
instructions in the help for putting a group of radio buttons on a form.
1) Put 3 radio buttons on the form.
2) Make sure they are seqential in the tab order.
3) For the first one in the tab order, set the Group property to tru... more >>
Is there a simpler way?
Posted by Fred Hebert at 3/17/2005 2:01:05 PM
I am trying to learn VC.NET and convert some Borland C++ applications. The
syntax differences are killing me...
Is there an easy way to convert a hex string, entered by the user, to a
binary string and back? This is the actual code I am trying to convert.
HexToBin(KeyEdit->Text.c_str(), ... more >>
converting C# windows forms app to Managed C++
Posted by nebiyou1 NO[at]SPAM gmail.com at 3/17/2005 1:26:20 PM
Is there a way to convert a C# win form app to a Managed C++? Perhaps
by importing the resx file. Thank you in advance for your help.
Neb
... more >>
Can a service running as NetworkService see logged on users?
Posted by Stephen Corey at 3/17/2005 10:42:06 AM
I've got a windows service running as NetworkService on a WinXP Pro
machine. Is there a way for it to find the Active Directory account of
the logged on user? I don't mind switching the service to run as a
"Domain Admin" if needed, but I *need* to find out the LDAP path for the
user.
Than... more >>
VC++: .NET 'String' to 'char *' and non-.NET Classes
Posted by Frank R Eid at 3/17/2005 10:27:01 AM
Hi all;
A) What's the simplest way to convert a 'String' to 'char *' (and the other
way araound) ?
B) I have some C++ classes that I cannot easily convert to .NET (because
they still are to be used in non-.NET apps). Are there any critical issues
why i cannot use these 'as is' in my .... more >>
text file and list box
Posted by wayne at 3/17/2005 3:21:07 AM
hi,
how can i load a text file into a list box, so that when i run th
program, the list box will have a list of items in it?
thank
-
wayn
-----------------------------------------------------------------------
Posted via http://www.codecomments.co
------------------------------------... more >>
Problem with C++ string marshalling in .NET 2.0
Posted by Travis at 3/16/2005 9:11:02 PM
I'm working on a project where we're building a .NET wrapper to IBM's MQ
Workflow C++ API.
My original intention was to wrap the Workflow API with a managed C++
assembly that in turn could be consumed by .NET clients. I've developed a
proof of concept app in .NET 1.1 that validated this.... more >>
debugging multithreaded app
Posted by Bruno van Dooren at 3/16/2005 8:15:57 PM
Hi,
i was debugging a multithreaded app, when i stumbled across some weird
behavior of the debugger.
in the destructor of my main object i send a stop event to the worker
thread, and then wait until that thread has finished.
m_Stop = true;
while(GetExitCodeThread() == STILL_RUNNING)
... more >>
MFC classes thread-safe?
Posted by MechSoft at 3/16/2005 3:57:02 PM
Could someone kindly tell me if all MFC classes are thread-safe? Thank you!... more >>
from VC++ to C# translation - newbie
Posted by Matias Woloski at 3/16/2005 3:18:40 PM
I need to translate this to c#.
It's for a capturing screen shots on IE.
http://cvs.sourceforge.net/viewcvs.py/*checkout*/iecapt/IECapt/IECapt/IECapt.cpp?rev=1.2
I don't know how to start. Should I use p/invoke? How I handler the WM
messages? How do I create the hidden IE window?
Is it pos... more >>
.net and flash
Posted by Rick at 3/16/2005 12:54:21 PM
hi guys!!
i saw recently a document explaining how to send ""events"" from a flash swf
to a .net app using C#, now im interested in know if is possible to send
"events" from my app .net using C# o VB or J# to the same flash movie
without use a web server, flash remoting, orbe or aspx, php... more >>
Release build seg faults at vector.push_back above certain size, b
Posted by whocares at 3/16/2005 8:15:05 AM
hi everyone.
i'm currently experiencing a strange problem under vc++ 2005 express. i hope
someone has a hint for me, i'm kind of lost atm.
i'm using a vectors of pointers in my code.
using the release build i can add and remove elements aslong as i stay below
a certain vector size (13 in ... more >>
multithreading
Posted by kavitha.nallamothu NO[at]SPAM catalytic-dot-com.no-spam.invalid at 3/16/2005 7:37:16 AM
Hi
I have written a program which receives mails from server using POP3.
it's downloading sequentially. now i want to use the multithreading
in this regard where i can create threads for each and every
mail...and download those mails simaltaneously.
if u have any idea please help me out.
Regar... more >>
VC++2003: Methods implemented outside class body are never inlined for templates that are instantiated with __declspec(dllimport)
Posted by Felix I. Wyss at 3/15/2005 4:38:47 PM
Good Afternoon,
I recently noticed that some very simple methods of a template declared and
used in a DLL library get inlined when used by the DLL itself, but not by
other DLLs and EXEs. After some investigating, I narrowed this down to a
very odd behavior (bug?) of the VC++.NET 2003 compiler... more >>
Access to this group is on the web
Posted by Daryl at 3/15/2005 1:52:03 PM
This is a monthly reminder that via the web you can easily access
microsoft.public.dotnet.languages.vc without a newsreader at
http://www.ugroups.com/Computers/viewforum.php?f=17
This message from www.ugroups.com is intended for those who might be interested in free web based access to the... more >>
virtual inheritance question
Posted by Bruno van Dooren at 3/15/2005 12:10:28 PM
Hi all,
i am having a problems with inheritance.
consider the following:
class A
{
public:
A(int i){;}
};
class B: virtual public A
{
public:
B(int i) : A(i){;}
};
class C: virtual public B
{
public:
C(int i) : B(i){;} //raises error C2512: 'A::A' : no appropriate
... more >>
LoadLibrary fails - one or more arguments are invalid
Posted by tomrmgc at 3/15/2005 11:47:11 AM
I have a dll that was working in VC6, but isn't loading after being built in
VC71. LoadLibrary() returns null and the error code (from GetLastError()) is
-2147483645 "One or more arguments are invalid".
If I use LoadLibraryEx(dll,NULL,DONT_RESOLVE_DLL_REFERENCES) it loads fine
(returns non... more >>
Mixing setlocale() and c++ locales
Posted by J Trauntvein at 3/15/2005 9:08:15 AM
I was working with a co-worker the other day to work through the
process of formatting numeric values by imbueing C++ iostreams with
locales. His program's initialisation code had a call to
setlocale("",LC_ALL) which I believe sets up locale information for the
C run time library but is not sup... more >>
|