all groups > visual c > april 2006 > threads for april 8 - 14, 2006
Filter by week: 1 2 3 4 5
invalid variant
Posted by Vigj at 4/14/2006 1:16:02 AM
Hi all,
I'm working on an interoperability project
I have a huge c++ MFC application that supports a plug-in interface
I'm developing a plug in in C#
sometimes the c++ pass invalid variants to the plug-in interface.
between the c++ and c# i have a dll (in c++ ) that instances the objects in
... more >>
Project seetings being ignored in VS2003 - is this a bug?
Posted by Bit byte at 4/13/2006 4:26:17 PM
I am pretty close to the end of my tether at the moment.
I have a project which requires some header fies - which happen to be
located in another folder (the relative path from where my sources are
is simply (..\include).
For the life of me, I can't get VC7 to 'grok' the headers during a
... more >>
test
Posted by Bit byte at 4/13/2006 4:10:23 PM
NAnt linking problems : LNK1256
Posted by harleybl NO[at]SPAM gmail.com at 4/13/2006 8:53:32 AM
Hello,
I have a C++ mixed mode dll ( unmanaged/managed ) that wraps a C#
dll to provide some functionality for Microsoft Excel. I am able to
compile my solution fine in Visual Studio .NET 2003 and it links and
works with no errors. There is a desire at my company to have things
checked out... more >>
Managed C++ MAKE_DELEGATE and LostFocus event in VS2005
Posted by Carmon at 4/13/2006 8:19:03 AM
I am using Managed C++ with a CFormView and a MaskedTextBox and have used
MAKE_DELEGATE to sink the LostFocus event of this control.
I have other events I've sinked off this control and they all work fine,
however, the LostFocus does not fire.
I found Scribble online and they do the same t... more >>
Outlook issues
Posted by Rob D. at 4/12/2006 11:30:02 AM
Hi,
I move from using Outlook Express to Outlook 2003.
In Express, when I type the first few letters of a recipients name in the
To... field, the whole e-mail address will show up. THe problem is this does
not happen in Outlook 2003. What do I have to do to have the recipients names
au... more >>
Release Configuration in Managed C++ does not suppress Debug Class
Posted by adhingra at 4/12/2006 9:17:01 AM
I stumbled upon something which does not make sense "Debug class methods are
not automatically suppressed by the managed c++ compiler when the project is
build in release mode"
Create a a Project (Windiows Forms or Console) in VS2005 using Managed C++
and put a Debug:;Assert(false) or Debu... more >>
Class View bug - fyi
Posted by lactaseman NO[at]SPAM gmail.com at 4/12/2006 8:30:55 AM
I have just started spending serious time in the new studio 2005
C++/CLI arena writing some code assembly that will attache to a much
larger C# caode base. In keeping with the highly used namespaces in
C#, I have been making sure I organise my interfaces and class into
correct namespaces.
.... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
directly opening a file in notepad
Posted by Eric D. Anderson at 4/11/2006 9:16:49 PM
ok im programming in C, but I'm wondering if there is a way to open a =
file like "test.txt" in notepad without having my compiled .exe file on =
the same drive as the test.txt file
--=20
Eric D. Anderson... more >>
Linker options documentation online
Posted by Chris Stankevitz at 4/11/2006 5:04:06 PM
Is there online documentation for my version of link.exe (specifically,
command line options available)? If yes, where is it?
This is my version:
Microsoft Visual C++ .NET 2003 7.1 69462-270-0000007-18536
I found online docs for newer versions. And spent about 10 minutes using
MSDN sear... more >>
compiler errors
Posted by Z.K. at 4/11/2006 12:57:17 PM
I am new to the Visual Studio.net platform and I was trying to compile a
program that I downloaded from the net and keep getting a ton of errors. It
looks like it can't find some of the libraries: The list of errors is below:
'Accelerometer.exe': Loaded
'C:\Downloads\Phidgets\Accelerometer\Ac... more >>
Compiler / Framework bug?
Posted by Thomee Wright at 4/11/2006 12:55:02 PM
How to reproduce:
Create a new Visual C++ CLR Empty Project
Add a new C++ with the following:
int main (array<System::String^> ^args)
{
//bool workaround = true;
while (true)
{
try { }
catch(...) { }
}
}
Expected result: program runs forever without doing anything
Actual r... more >>
Silencing compiler warning D9025
Posted by John Harris at 4/11/2006 7:27:01 AM
We have some C++ code that has a makefile which contains both /W2 and /W3.
Due to the way the makefiles are written to be shared across multiple
projects, it's not trival to eliminate the duplicate compiler warning-level
directives. I'm trying to find a way to silence the following warning
... more >>
How to Debug a Windows Service
Posted by Sunil Varma at 4/11/2006 3:17:58 AM
Hello all,
I wrote a Windows Service in VC.NET 2005
I want to debug the solution.
I tried as mentioned in the following link.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbconintroductiontontserviceapplications.asp
But, when I started the service I got a me... more >>
Unhandled exception
Posted by Wangbo at 4/11/2006 2:07:39 AM
Hi, all
I encounted a very strange problem in my App, in debug mode, when I exit
my App, it often told me something like "Unhandled exception at ..., user
breakpoint", press F5, it skiped this problem. But if I run it without
debug, everything is OK, Can anyone help me?
Thanks!
bo ... more >>
Need suggestion how to perform time critical operation?
Posted by dc2000 at 4/10/2006 8:56:01 PM
Hello everyone:
I am normally not an advocate of increasing the priority of a running
process or of a thread but it looks like I have to choice. I'm writing a
small app that plays a line-in signal via speakers using low level Digital
Audio API and as you can imagine it is quite time criti... more >>
Need MFC Help
Posted by Snapple at 4/10/2006 4:37:56 PM
Hey all,
I need some help with MFC, I have a multiline CEdit with AUTOVSCROL
option.
Now... it works though when I do UpdateData the scrollbar goes up t
the sta
rt and displays the start of the text, I am creating the CEdit
dynamically
and I tried using LineScroll option to make it go to th... more >>
0xC0000005 Access Violation Help?
Posted by Umar Alam at 4/10/2006 11:56:02 AM
Hi,
I am writing a windows socket program and it contains some threading in it
as well. I connect the client to the server and they talk fine until i spawn
a thread that takes care of the client while my server tried to accept
another connection.
while the functon that is being run by ... more >>
[MC++] LinkLabel usage
Posted by ricecake NO[at]SPAM gehennom.net.invalid at 4/10/2006 10:04:58 AM
I am having problems getting my LinkLabel hyperlink to work properly.
Every time I click on it, I get the following exception:
System.ComponentModel.Win32Exception: The requested lookup key was not found in any active activation context
at System.Diagnostics.Process.StartWithShellExecuteEx(P... more >>
Add reference withing an vc++ ActiveX Control
Posted by OfurGørn at 4/9/2006 8:50:01 AM
I am creating an ActiveX control that should contain a reference to a certain
COM interface.
I have written before a C# application containing this COM interface but my
problem is that it seems not to be possible to add a reference to my COM
interface within my vc++ ActiveX controller.
Perha... more >>
Windows Registry
Posted by Eric D. Anderson at 4/8/2006 12:09:19 AM
I'm writing a program in C and I am wondering if there is a way to write =
to the registry?=20
For example, just to throw a line out there(cause its the only path I =
can think of off the top of my head)...if I wanted to write to =
"HKEY_CLASSES_ROOT\exefile\shell\open\command" how would I go ... more >>
|