all groups > visual c > april 2004 > threads for april 8 - 14, 2004
Filter by week: 1 2 3 4 5
How to #include <someheader.h> in the managed code?
Posted by intersoft4you NO[at]SPAM yahoo.com at 4/14/2004 2:38:22 PM
Hi everybody,
Perhaps this question is obvious, but I spent whole day trying to make
it work to no avail.
Here is the scenario:
I am using VC++ .Net, Forms. I created a simple Form project, dropped
couple of controls on the form. Now I am trying to call
GetProfileSection(...) to read values ... more >>
BUG (VC7.1 and Whidbey): compiler allows access to private definitions in some cases
Posted by Maxim Yegorushkin at 4/14/2004 2:18:51 PM
Code to reproduce the bug (Comeau refuses to compile the code, but VC has
no complain about it):
template<class T, class S>
class M
{
private:
struct m_tag;
};
template<class T>
struct is_m
{
template<class U>
static char is_m_helper(U*, typename U::m_tag*);
static double is_... more >>
Debugging on Win9x?
Posted by Gernot Frisch at 4/14/2004 2:12:05 PM
Hi,
I have recompiled a VC+ 6 project to VC++ 7.1 (native code - am I OT
here?). Everything went smoothly, but now, after 6 month of work, when
I want to run the program for the first time on Win9x it crashes
before any window appears. I don't know what's wrong and I don't know
where or somet... more >>
.NET profiler?
Posted by Rajko at 4/14/2004 1:18:09 PM
Does anyone know any program which could be used as profiler for programs
written in .NET?
Thx, Rajko.
... more >>
error C3181: invalid operand for __typeof, expected a fully defined managed type
Posted by sach at 4/14/2004 10:40:13 AM
Hi,
I get this error=20
error C3181: invalid operand for __typeof, expected a fully defined =
managed type
Whenever I try to use Enum in VC++ .NET, which is actually defined in my =
VC++ library (unmanaged code)
Is there any way so that I can perfom "Enum::GetName" on the Enum of =
unmana... more >>
Generated Code In Header Files
Posted by Gaz at 4/14/2004 3:34:11 AM
When I add say, a click event handler for a button on a form, code gets
generated in the header file within the declaration of the form class
itself. If I am not mistaken this makes the code inlined which is not what
I want. Why handler code not generated in the cpp file?
Thanks.
... more >>
LINK : error LNK2020: unresolved token (0A0000AB) sscanf
Posted by Eric Twietmeyer at 4/13/2004 6:05:11 PM
Hello,
I am running into something very strange. I am writing a .NET assembly
using managed c++ (VS.NET 2003) and in this project when I attempt to make a
call to sscanf (from stdio.h) I get the error indicated in the subject line
when compiling.
Strangely, if I create a new "Hello World" ... more >>
Suggestions on C++ .NET mixed managed and unmanaged
Posted by John Olbert at 4/13/2004 4:21:04 PM
Could you suggests one or more books for .NET 1.1 (Vs2003) on mixing in the same file and mixing on the same project both managed and unmanaged C++ with also means to access C# from unmanaged C++
Thanks much
Please note I already have Richard Grimes book
--Joh
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Leveraging C++ functions compiled with /CLR from other .NET languages
Posted by Bern McCarty at 4/13/2004 1:55:42 PM
I have a DLL written in C++ (it's really C code that was adjusted to compile
OK as C++) that I compile successfully into IL with the /CLR switch of
Visual C 7.1. I use the resultant library successfully from other C++ code
(both native and managed) and it works fine. I would like to figure out th... more >>
Reflection: Determining a Method's Attributes from within the Method
Posted by Good Enchiladas at 4/13/2004 4:51:22 AM
Is it possible to determine a method's own attributes from within the method
without hardcoding the name of the method as a constant within the method?
Please tell me if it is possible and how it is done.
Thank you,
Kelly
... more >>
I dont understand..
Posted by Merrua at 4/13/2004 1:31:06 AM
I dont understand how to do this
I created a dialog based project and that is fine for most
of my programming project, but one dialog box is going to generate a graph, and as
far as i know from my books that requires a view?
I can add a view to my project but i dont see where i add a frame an... more >>
Windows Messenger interaction
Posted by Ioannis Vranos at 4/13/2004 1:22:22 AM
Is it possible to interoperate with Windows Messenger using .NET? For
example to create and register event handlers to various windows messenger
events like someone of your contacts to come online.
If yes please mention the relevant namespaces and/or classes.
Ioannis Vranos
... more >>
Converting a BSTR to System::Object, How???
Posted by Jim at 4/13/2004 1:06:02 AM
Hi
I am using mixed mode C++ and I wonder.... How could I convert a BSTR to a System::Object* type
Cheers,... more >>
Visual Studio 6 or .NET for C++?
Posted by Paul Schauble at 4/12/2004 9:02:56 PM
I'm about to move a moderately large program from a different
environment onto Windows. The program is written in C++
I have a choice of Visual Studio 6 or Visual Studio .NET 2002.
What are the pros and cons of these two environments for a straight C++
windows app. Does VS .NET get me a be... more >>
Help in Treeview
Posted by Anil at 4/12/2004 5:58:52 PM
I want to invoke LabelEdit event of TreeView/ListView(property set to true)
from another event what should I do?
The scenario is like windows explorer. If u click F2, selected node or item
will be editable. How to map that LabelEdit event with MenuClick event.
Please help me out.
... more >>
VC++ .NET 2003: Access violation with /O2 compiler switch; no AV with /O1
Posted by Binary at 4/12/2004 1:21:06 PM
VC++ .NET 2003: Access violation with /O2 compiler switch; no AV with /O
Hi
I'm in the process of narrowing down a problem, and I have reduced the code involved to the following
If someone could do the following and verify what I am seeing (and offer any insight!), I would appreciate it
Simply ... more >>
Open new thread
Posted by Hai Ly Hoang at 4/11/2004 4:11:08 PM
Hi
How to open a new thread in console application ?
Thanks
... more >>
VS EA 2003 & .NET compact framework
Posted by Ioannis Vranos at 4/11/2004 3:09:02 PM
Is there any way to develop .net compact framework applications from within
VS 2003? There isn't such an option in the new project options.... more >>
Retrieving data from modem
Posted by Taptu¶ at 4/11/2004 2:15:47 PM
Hi
How can I retrieve data from modem ? For ex. I have established connection
from dial-up and I want to get voice from modem and save it. Is it possible
?
Taptu¶
--
http://www.studio-spider.com
http://czarter.studio-spider.com
... more >>
Handle event for toolbar
Posted by Hai Ly Hoang at 4/11/2004 10:05:25 AM
Hi,
Using Resource Editor, I created a new button MyButton
Now, how to implement (by wizard) the button handler ?
Thanks
... more >>
Question: native new linkage error
Posted by dov_sheinker NO[at]SPAM yahoo.com (| at 4/11/2004 2:08:44 AM
Hi,
Need some help here.
I have a .NET class library in C++ (with CLR).
In this project I have a class with the __nogc keyword. When I use the
new operator within this class's code I receive:
error LNK2001: unresolved external symbol "void * __cdecl operator
new(unsigned int)" (??2@$$FYAPAXI@Z... more >>
Build a program
Posted by mrpeace_sam NO[at]SPAM yahoo-dot-com.no-spam.invalid at 4/10/2004 4:46:46 PM
Hi, I am a newbie here. I have no idea how to use MS VIsual .net to
compile my simple codes. Its so much different with the 6.0 version.
Can some1 help me please.
... more >>
Problem calling unmanaged C++ Library from C# through managed wrapper
Posted by Adam Clauss at 4/10/2004 1:17:44 PM
I have an unmanaged C++ library that I need to use through C#. I created a
Managed C++ class library and through it wrote a wrapper class to call what
I need.
However, one of the methods (an Initialize function in the unmanaged
library) crashes everytime I call it. Initialize calls another fun... more >>
Visual C++ optimizer bug (reported by a friend in the Computer Chess Club)
Posted by Dann Corbit at 4/9/2004 3:36:02 PM
When optimization is turned on (these settings will reproduce it along with others):
/Ox /Og /Ob2 /Oi /Ot /Oy /GT /GL /G6 /GA /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /GF /FD /EHsc /ML /Gy /Fp".\Release/bug.pch" /FAcs /Fa".\Release/" /Fo".\Release/" /Fd".\Release/" /W4 /nologo /c /TP
This... more >>
StrongNameIdentityPermission (C++)
Posted by Olaf.Baeyens NO[at]SPAM skyscan.be at 4/9/2004 11:26:12 AM
I am having a little bit of trouble with the syntax using attributes in
classes.
The compiler always complaints (VC ++ 2002) on StrongNameIdentityPermission.
:-(
The intention is secure my class so that it can only be inherited and
instantiated by software that has the strong key of my compan... more >>
Differences between Visual C++ 6.0 and .NET
Posted by Ken at 4/9/2004 10:26:05 AM
What are the differences between Visual C++ 6.0 and Visual C++.NET
Any books are good for beginner? (I can write in VB but I don't know any C++ language
(please suggest book name and publisher)... more >>
Debuging C++ via Excel
Posted by MFRASER at 4/9/2004 8:37:16 AM
I need some help. We have a dll that was developed in C++, OLEDB provider
that is used in house. This dll is access from Excel using the GUID. How
do I step from Excel into the C++ dll?
... more >>
error LNK2019: unresolved external symbol with Studio.NET 2003!
Posted by YAN KANG / SU at 4/8/2004 5:21:03 PM
Hi, All
I am migrating to Studio .NET 2003 from Studio 6.0 and Studio .NET 2002. When I compiled my code, which is compilable both in VC++ 6.0 and Studio .NET 2002, I have an error LNK2019 as the following
-------------------------------------------------------------------------
error LNK2019: ... more >>
Missing UITypeEditors?
Posted by NeoGeo at 4/8/2004 1:56:10 PM
Hello
I'm trying to use the ImageEditor attribute as explained in http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdrawingdesignimageeditorclasstopic.asp and http://www.thecodeproject.com/cs/miscctrl/extendedlistviews.as
EditorAttribute(__typeof(System::Dr... more >>
ASP.Net applications in VC++.Net
Posted by Harsha at 4/8/2004 8:16:03 AM
Hi
I have a question. I want to know whether it is possible to write ASP.Net applications in VC++.Net ?. or am I restricted to using VB.Net or VC#.Ne
Thanks in advanc
Harsha.... more >>
|