all groups > visual c > july 2003 > threads for july 22 - 28, 2003
Filter by week: 1 2 3 4 5
How to: embeded VC++ for Xscale processor
Posted by Jano at 7/28/2003 2:59:11 PM
Hi all,
I'm pretty new to the embeded VC++, I have version 3 and
was able to develop an ARM version of my little app.
However I need one for the new Dell pocket PC with the
Xscale processor. How do I do that ? Do I need to get a
different SDK ? If so from where can I get it ? I coul... more >>
LNK1181
Posted by Michael at 7/28/2003 2:17:37 PM
I am trying to write a simple C testcase for a C DLL
using Visual C++ 6.0. The link step fails with
LINK : fatal error LNK1181: cannot open input
file "c:\my.obj"
I do not have any files my.* on my disk or in my project.
If I look under the link tab of my project settings, I
can se... more >>
pointer to pointer to a managed class
Posted by Itay_k at 7/28/2003 1:35:13 PM
Hello,
I want a member in my class that will save pointer to pointer to
System::Drawing::Image class.
When I write on my class code:
System::Drawing::Image **bmp;
I get this error message:
error C3160: 'bmp' : cannot declare interior __gc pointer or reference as a
member of 'RCClientNS:... more >>
Simple MAPI
Posted by Larry Eaton at 7/28/2003 10:40:18 AM
According to MSDN there is MAPI example code
in a file SIMPLE.CLI
I cannot locate this file. Can anyone direct
me to the location of this?
It doesn't appear to be anywhere in
ftp://ftp.microsoft.com/developr/mapi/samples... more >>
Porting Linux C application to .Net
Posted by Sunanda at 7/28/2003 9:55:58 AM
Hi,
I am a newbie to .Net.
I have an application in running in linux, a set of .c
and .h files.
I also have a makefile in linux to create the executable.
I want to port this to windows (.Net environment).
I want my application to be portable so that I can
develop in .Net environme... more >>
simulating mouse input
Posted by perlen at 7/28/2003 8:34:07 AM
I'm trying to write a program that simulates mouse input.
I want to be able to send mouseclick- and mousemove -
messages to other applications. I tried it using the
Journalplayback-Hook, but it didn't work properly because
it hung itself up. the other thing why that doesnt work
for mi is be... more >>
Converting a managed string to const WCHAR*
Posted by Kieran Benton at 7/27/2003 1:21:30 PM
Hi,
Sorry to post this, I feel like a right fool but Im under serious time
pressure! Afraid I'm a newbie to managed C++ (Ive had to resort to it as Im
wrapping some COM objects for C# use).
Any ideas how to get this working?
void Configure(int port,String* filename,int maxclients)
{
/... more >>
Parameters visible in C# as 'ref' args ?
Posted by Steve Terepin at 7/26/2003 11:53:22 AM
I've been trying to make a Managed C++ method that appears with the =
following signature in C# :
void Func ( ref bool cancelRequest )=20
.... but if I declare it in C++ as simply=20
void Func ( bool & cancelRequest )
.... it appears in the C# world as ( bool * ).
I've tried ador... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
DOS Application
Posted by Mike Mayer at 7/26/2003 3:01:01 AM
I've made an little mathe program, i want that the program
make z.B: x ^ 1/2 (x high 1/2) how could i say that to
the compiler ?
please send an answer !!! ... more >>
C4346: dependant name is not a type.
Posted by bvm at 7/25/2003 6:12:59 PM
Not sure of the best way to go about this but I have a
question to ask/bug to report.
#include <list>
using namespace std;
template< class __type >
class Brian {
list< __type > *vert;
list< __type >::iterator end;
};
Fails to compile with the offending line being list<
__type >::... more >>
Passing Arrays from VB to C++DLL
Posted by Kurt Richardson at 7/25/2003 3:56:54 PM
Hi all
Sorry to bother you with what is probably a really
trivial question for you C++ experts. My programming
skill are pretty amateur, but I'm pretty good at VB.NET.
However, I'm wanting to realise some of the speed
benefits of writing some of my routines in C++ and
accessing them f... more >>
Debugging stack overflows..
Posted by Søren Johansen at 7/25/2003 2:45:03 PM
Hi,
I am getting a stack overflow exception. I was wondering how to to debug
this situation with vc.
I know that the problem is not based on (unintended or intended) recursion
and the call stack at the time of the exception is rather small. Thus, there
must be some variable declared on the st... more >>
Do we have to keep the object alive while doing pinvoke?
Posted by cppdev9 NO[at]SPAM yahoo.com at 7/25/2003 11:56:07 AM
Hello,
After reading a few articles,
http://blogs.gotdotnet.com/cbrumme/PermaLink.aspx/e55664b4-6471-48b9-b360-f0fa27ab6cc0
http://blogs.gotdotnet.com/anathan/commentview.aspx/8ec0b7b2-6290-4500-a8c7-1b6c677214cb
i have the following question:
__gc class C
{
C(){ ptr = new Unmanaged(); ... more >>
ATL Service Web Serice Using XML as Input and Output
Posted by FS Liu at 7/25/2003 11:11:19 AM
Hi,
I am writing ATL Service application (XML Web service) in
VS.NET C++.
Are there any sample programs that accept XML as input and
XML as output
in the web service?
Thank you very much.
FS Liu
... more >>
__gc Array Aggregate Initialization Does Not Work As Advertized -- Why?
Posted by Robert A Riedel at 7/25/2003 10:53:43 AM
This is a repost of a question that received no answer. In a module =
DATA.CPP, when attempting to initialize a __gc array as follows:
//
// Begin sample ...
//
//
// Yes, I include all of the correct assemblies, including MSCORLIB.DLL =
and
all of
// the other .NET related paraphernal... more >>
recvfrom buffer, VC Net sees only the first character, any ideas????
Posted by D.Frangiskatos at 7/25/2003 6:23:07 AM
Hi,
I have been working for a few months in project that deals
raw sockets. However recently, and while trying to examine
the contents of the buffer used in recvfrom i was a bit
confused. The buffer was allocated using malloc as it can
be seen next:
do
{
..............
char *RecvBuf... more >>
Deploying C++
Posted by brm NO[at]SPAM morrisb.fsnet.co.uk at 7/25/2003 5:37:12 AM
Hi,
I have a project that uses the c runtime libraries a bit of opengl and
nothing else. If I build the .exe for release using Visual Studio 6 I
can copy the .exe onto Win98,NT and 2K/XP and run it with no probs.
If I build the same .exe using Visual Studio.NET and drop the .exe
onto the ab... more >>
iostream
Posted by Shane Ragone at 7/25/2003 5:13:37 AM
What happened to iostream.h in VS .NET? Are we now to
code:
#include <iostream>
instead of:
#include <iostream.h>
All my past code that used iostream.h will no longer
compile. It seems that I have to go through all my code
and replace iostream.h with iostream. Is there any good
r... more >>
How to use MFC4.2 dll's with VC++ .NET 2003
Posted by vijaychegu NO[at]SPAM indiatimes.com at 7/25/2003 4:11:12 AM
Hi all,
I have two simple question.
1)
When i build a simple mfc app using VC 7.1 it uses mfc 7.1 dll's.
Is there a way i can force it to build the app with mfc42 ?
bcoz i cannot use this app with out supporting dll's.
If i can do it, i can just give my app and not bother about
distribu... more >>
obtaining vc++ 7.1 compiler
Posted by John Harrison at 7/24/2003 7:54:25 PM
Hi,
I have a copy of Visual Studio 2002 Professional. What is the best way to
get hold of the new VC++ 7.1 compiler? I could upgrade to VS 2003 Pro, but
expensive. Could I buy VC++ 2003 Standard, that would be cheaper but would
it work with my existing VS 2002 Pro?
I live in the UK not in t... more >>
Separate resource for standalone class
Posted by Mihajlo Cvetanovic at 7/24/2003 5:49:48 PM
I have a class that uses a string table and some dialogs, but should
be reusable, ready for localization, and should not be for MFC-only
applications. How do I do that without making separate dlls?
... more >>
input/output redirection in debug
Posted by ES Kim at 7/24/2003 3:24:58 PM
Hi,
I am using VC++ .NET 7.0.
I'd like to debug my console program,
using redirection of input/output for convenience.
Help menu tells me it's possible to specify a file
name as a command-line argument like '< file',
but I couldn't make it.
What have I done wrong?
--
ES Kim
... more >>
NTDLL.DLL
Posted by Tim Peer at 7/24/2003 12:22:58 PM
Are the debug symbols for 'c:\WINNT\system32\NTDLL.DLL'
available anywhere? I am debugging a multi-threaded
application and it appears to get hang in NTDLL.
Any help would be appreciated.
Thanks! ... more >>
Mixed Mode Slow?
Posted by Jos Vernon at 7/23/2003 5:31:38 PM
I've been trying a mixed mode project but I'm having speed problems.
I was using a DLL and linking into it from C#. I thought I'd try and stick
the C# functionality and the raw unmanaged code into a mixed mode project.
It works but it's incredibly slow. All the optimization settings are the
... more >>
VC++ 7.1 compiler bug with default parameters
Posted by johnmadsen_usenet NO[at]SPAM hotmail.com at 7/23/2003 5:08:17 PM
This bug is easier to just show than to explain I think...
namespace M {
template <class T> struct A {
void f(int a = T::foo()) { } // line 5
};
}
namespace N {
struct B {
static int foo() { return 5; }
};
}
int main() {
M::A<N::B> x;
x.f();... more >>
ADO.NET connection string
Posted by Duncan Winn at 7/23/2003 3:33:26 PM
I am trying to connect to an INTRBASE database through the MS OleDb.NET
provider, however I am unsure of what to use for the connection string. How
can I find this out???
... more >>
Deploy VS C++ 7 Console Application ??
Posted by elvin at 7/23/2003 2:29:13 AM
Hi! How to deploy VS C++ 7 Console application that i write
(no compile error), i copy the entire release folder to
client pc, but when i click the exe application, it prompt
missing vc70*.dll files. I have no problem to run VS C++ 6
exe application in client side. So, did i need to use the
... more >>
Attempted to access an unloaded AppDomain
Posted by Matt Fausey at 7/22/2003 3:35:09 PM
I've been plagued with an "Attempted to access an unloaded AppDomain" for
several months now. We have a .NET Email Component such that for some
ASP.NET customers that user our DLL will get this error occasionally. Our
DLL is strongly named, so I am confused as to how this could be happening.
It ... more >>
private property
Posted by Simon at 7/22/2003 2:45:48 PM
Is possible to make visible on property page a private property inherited
from a usercontrol ?
Ex
public class A : UserControl
{
private:
__property set_Visible( bool visibled)
{
....
}
__property bool get_Visible();
{
....
}
}
public cl... more >>
re: typedef TypeInfo* TYPEINFO [];
Posted by Charlie Herbert at 7/22/2003 12:43:02 PM
Could the expert explain what the "typedef" here means:
typedef TypeInfo* TYPEINFO [];
TYPEREFINFO GetTypeInfo( String * strname )
{
...
}
Thanks,
Charlie... more >>
Visual C++ .net certification
Posted by ahmed fathi at 7/22/2003 7:25:18 AM
what should i do to be Microsoft certificated in Visual
C++ .net ... more >>
Further to transparency
Posted by Ben Taylor at 7/22/2003 7:10:29 AM
Further to my previous post on Transparency, is it
possible for an ActiveX control to get the DC of its
container, so it can just draw to that?
... more >>
Transparency
Posted by Ben Taylor at 7/22/2003 6:27:45 AM
Hi,
I am building an ActiveX control, which I would like NOT
to be windowless (e.g. the common dialog control in Visual
Basic being an example of one that is windowless, I don't
want one like this), i.e. I want it to draw and have size,
etc. but be largely transparent. I can sort of mimic
... more >>
VC++7 application deployed to NT4
Posted by Cliff Cooley at 7/22/2003 5:16:19 AM
Does anyone know of any issues regarding the deployment
and running of a VC++7 (non-mamanged) application built on
a Windows 2003 server ?... more >>
|