all groups > visual c > april 2006 > threads for april 22 - 28, 2006
Filter by week: 1 2 3 4 5
Is there anybody how to create hidden folder in public folder or system?
Posted by Vic.Dong at 4/28/2006 11:23:41 PM
Hello:
Is there anybody how to create hidden folder in public folder or system?
I have a any problem.
I cannot create hidden folder in public or system folder.
Is there anybody who knows the answer to create hidden folder ?
B.R.
Vic
... more >>
deleted namespace?
Posted by iwdu15 at 4/28/2006 12:55:02 PM
hi, i used VS2003 for my C++ apps and i recently downloaded the 2005 Express
Edition of C++. I tried a simple console app to see what was different, and i
noticed they deleted the old "system" namespace. like how you could do
"system("pause");" and such...what happened to that?
--
-iwdu15... more >>
Calling java (.jar) from C++?
Posted by cada0310 at 4/28/2006 11:16:02 AM
Hi there,
I have a need to call a java database library from C++ applications. Can
anyone point me in the right direction on how to accomplish this?
Thanks.
... more >>
GetCurrentDirectory is not working for real application path
Posted by Hasan O. at 4/28/2006 12:00:00 AM
Hi ,
I have a simple program thats open some file a.txt. When program starts it
gets GetCurrentDirectory and finds / opens the a.txt file. But if i create
a shortcut on desktop it couldnot find real working directory. How can i do
this ?
this is not working for shortcuts
char buf[2001];... more >>
Managed Wrapper for unmanaged Constructor with inputs
Posted by bidalah NO[at]SPAM yahoo.com at 4/27/2006 7:53:45 AM
Hi all,
Basically I need to create a managed wrapper for the class "A" below:
class A : public CModule
{
public:
A(B& bees);
virtual ~A();
.....etc. (it's actually a very big class)
}
As you can see, the constructor above takes an input which is a
reference to another unmanaged c... more >>
STLPort in VC++ - Compile problems
Posted by PangFromChina at 4/26/2006 8:38:08 PM
Platform:window 2000 professional, VC++6.0 +SP5
STLport: STLport 5.0.2
While test STLport following "STLport README for Microsoft Visual C++
compilers." of README.msvc(readme.txt), there is a error:NMAKE: fatal
error U1077: 'cl': return code '0x2'stop.
I can build STLport without any err... more >>
how to inject system process SERVICES.EXE as system restart?
Posted by Vic.Dong at 4/26/2006 7:14:40 PM
Hello. all:
I want to inject a DLL of my custome hook dll to system serice SERVICES.EXE
application as every OS restart?
B.R.
VIC
... more >>
The "ResolveNativeReference" task failed unexpectedly
Posted by Tony Wong at 4/26/2006 4:31:56 PM
I have a C++ project (assembly) and a C# project (client that uses the C++
assembly). These projects used to work when compiled under VS 2003 but when
I upgraded my projects to VS 2005 I got the following error when I compile
the C# client,
--------------------------------------------------... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Expression: map/set iterators incompatible
Posted by Shiraz at 4/26/2006 12:44:02 PM
Me and my colleagues have been working on a problem since yesterday and can’t
seem to find a solution to it. It relates in a good measure to iterators and
the way we’re using them in our project. I will first give you a little
introduction to our main task. We had at our hands entire modul... more >>
[repost] Static initialization of native code in CLI/native mixed environment
Posted by bvisscher NO[at]SPAM bellsouth.net at 4/26/2006 11:29:51 AM
I posted this recently in microsoft.public.vc.language and was
redirected
here.
I also searched this ng and found some relavant threads.
The most relavent I found was:
http://groups.google.com/group/microsoft.public.dotnet.languages.vc/browse_frm/thread/dac4c07f8678cc0a/32919fdc1ee07313?q... more >>
winMM mscoree combo problems
Posted by Eric T at 4/26/2006 10:04:36 AM
Hello friends, I'm in charge of some pure VC++ code but we're adding new
features using managed C++ (7.1). On two of three developer machines the
execution of this code has become impossible recently -- we don't know what
changed. Depending on my lib files list order I get different errors. ... more >>
C++ vs. C# (new to windows programming)...
Posted by Volker Hetzer at 4/26/2006 12:00:00 AM
Hi!
After messing around for some time with Tcl/Tk and VBScript,
we've finally reached the point where we need to put some speed
into our applications.
So, our typical application looks like this.
We've got this huge CAD tool, called Mentor Expedition, which
understands VBScript and JScript ... more >>
DLL Help
Posted by Abhishek at 4/26/2006 12:00:00 AM
I need to know if there is a there is a way to find out which exe or dll
called a certain dll.
I need to find out the exe's name (xyz.exe).
any links would be helpful.
regards
Abhishek
... more >>
Interface stuff does not compile
Posted by solved by design at 4/25/2006 9:58:26 PM
Hi all!
I have this clases:
interface class i1
{
void m(void);
void m2(void);
};
interface class i2
{
//void m(void);
void m3(void);
};
ref class pepe:public i1,public i2
{
virtual void m(void){;}
virtual void m2(void){;}
virtual void m3(void){;}
};... more >>
Rationale for C++/CLI Value Types not having a default constructor
Posted by Edward Diener at 4/25/2006 7:43:22 PM
Given
value class X
{
public:
// Not allowed: X():i(100000),s(10000) { }
// Allowed
void InitializeDefaults() { i = 100000; s = 10000; }
private:
int i;
short s;
}
How can:
1)
X x;
x.InitializeDefaults();
be better semantically than
2)
X x;
for setting the default v... more >>
C++/CLI reference
Posted by Edward Diener at 4/25/2006 7:11:29 PM
Why is there no C++/CLI reference in the VC++ docs for VS2005 ?... more >>
How to use SaveFileDialog?
Posted by Rob at 4/25/2006 3:55:01 PM
Hi, I have recently installed Visual Studio 2005 and although I'm starting to
understand the 64 bit differences, I seem to have run into another problem.
I would like to implement a simple "Save As.." dialog box, which back in the
day I remember was extremely simple, but now I can't find how ... more >>
Implementing assign operator ( = )
Posted by Edward Diener at 4/25/2006 11:38:52 AM
Since implement the assign operator for reference types eliminates the
ability to assign a reference object to a reference variable of the same
type or base class of that type, I assume that implementing the assign
operator ( = ), to assign the value of a type from one object to another
rath... more >>
Replacement for #pragma comment(exestr, "this is a string")?
Posted by chris_doran NO[at]SPAM postmaster.co.uk at 4/25/2006 10:45:53 AM
/COMMENT has been removed from the linker that comes with VS2005, and
use in source code of:
#pragma comment(exestr, "this is a string")
gives the message:
warning LNK4224: /COMMENT is no longer supported; ignored
and doesn't put the string in the exe file.
Has anyone found a replac... more >>
ODBC Bulk Insert
Posted by Mike C# at 4/24/2006 10:39:15 PM
Am looking for an ODBC SQLBulkOperations wrapper for VC++; in particular I
need to perform bulk Insert operations. Anyone know where I can find this?
Thanks
... more >>
C++/CLI comparing two clr poiinters for equality
Posted by Edward Diener at 4/24/2006 1:46:29 PM
Now that operator overloading allows to ref classes to be compared for
equality using == syntax, how does one compare the actual ref pointers (
^ ) for equality instead ?
As an example:
SomeRefObject ^ obj1(..initialized somehow);
SomeRefObject ^ obj2(..initialized somehow);
if (obj1 =... more >>
Finding out if a trivial event has handlers
Posted by Edward Diener at 4/24/2006 12:00:00 AM
When I try to find out if a trivial event has handlers, by comparing the
event to nullptr, I get compiler error C3918. So my natural question is
how does one test a trivial event for handlers ?... more >>
function does not take number parameters in namespace
Posted by kuoxin at 4/24/2006 12:00:00 AM
hi,
i create several new class in the my namespace, these class have the
same name of functions that are be referenced each other. the vc 2005
complier spawns the c2660 error.
source code:
// gcChar.h file
namespace gc{
class gcChar{
public:
gcChar():ch_(0x0){};
gcChar(GCCHA... more >>
Comparing object instances
Posted by Abubakar at 4/23/2006 5:24:32 PM
Hi,
(using native/unmanaged vc++ 2k5)....
How do I compare one object instance to another.....
like in C# *is* operator is used... how is it done in native c++.
Regards,
Ab.
... more >>
Cannot get intellisense to work with VS 2005 and C++/CLI
Posted by cnathaide NO[at]SPAM yahoo.com at 4/23/2006 2:55:22 PM
Hi,
I am new to Visual C++ (I have been using C# for the last 4 years) and
would like to make the transition to C++.
On my first project, I cannot get intellisense to work (either in a *.h
file or a *.cpp file). I have tried troubleshooting using the methods
recommended i.e. closing the pro... more >>
VS 2005 C++ and sphelper.h - SAPI
Posted by Dan at 4/23/2006 9:11:02 AM
Our applications that use this file no longer compile due to new restrictions
in the VS 2005 C__ compiler.
c:\program files\microsoft speech sdk 5.1\include\sphelper.h(769) : error
C4430: missing type specifier - int assumed. Note: C++ does not support
default-int
c:\program files\microso... more >>
Testing for nullptr for a ref object
Posted by Edward Diener at 4/23/2006 8:37:45 AM
For a ref object x, can I say "if (x)" rather than "if (x != nullptr)"
to test that x is pointing to something ?... more >>
Inherit a form from other form
Posted by solved by design at 4/22/2006 4:59:58 PM
Hi all!
Is that possible, linke in C#? How? I cannot find how do it.
Thanks in advance.
--
Leyendo:
El vizconde de Braguelonne (Dumas)
-------------------
Estadísticas BOINC: http://www.boincsynergy.com/images/stats/comb-3905.jpg
-------------------
Las mujeres son como los perros, m... more >>
Screen font size - user set ?
Posted by TOM at 4/22/2006 1:45:33 PM
I have an application that does not behave too well when the user
changes the
Display Properties -> Appearance -> FontSize
after clicking Display from the Control Panel
to "Large Fonts" or "Extra Large Fonts"
(WinXP defaults to "Normal").
Two questions:
1) In C++.NET (V1.1) -... more >>
Error C3699 Indirection Caret
Posted by Bob Palank at 4/22/2006 8:35:55 AM
Given the following from MSVC Help:
// C3699.cpp// compile with: /clr /cusing namespace System;int main() {
String * s; // C3699
// try the following line instead String ^ s2}
So how do we handle such a major change with new C++ students when the
current books show astericks ?
Th... more >>
casting in generic
Posted by 3nc0d3d NO[at]SPAM gmail.com at 4/22/2006 4:02:06 AM
I have needed to cast a pointer with different types for get a value.
I have try to use generic, but there are cast exception.
For example the following method:
generic<typename T> void XClass::GetValue(T gValue)
{
int iValue=34234234;
void *vValue=&iValue;
gValue=(T)*vValue;
}
ca... more >>
10000 Interview Questions And Answers(C,C++,JAVA,DOTNET,Oracle,SAP)
Posted by softwareengineer2006 NO[at]SPAM gmail.com at 4/22/2006 2:29:36 AM
10000 Interview Questions And Answers(C,C++,JAVA,DOTNET,Oracle,SAP)
I have listed over 10000 interview questions asked
in interview/placement test papers for all companies between year
2000-2005
in my website
http://www.geocities.com/allinterviewquestion/
So please have a look and make use of... more >>
|