all groups > visual c libraries > november 2003
Filter by week: 1 2 3 4 5
Serial Port Communications
Posted by Joe at 11/30/2003 9:41:26 AM
I am trying to get data from the serial ports and use it
in my program. Anyone know how to best to do this. I am
using Visual C++ 6.0 to develop.... more >>
peverify error
Posted by Gideon at 11/26/2003 11:13:34 AM
hi all,
i'm trying to make my mc++ code verifiable:
i'm getting this error when running peverify on my dll:
[IL]: Error: [HRESULT 0x80131417].
any ideas?
thanks,
g.
... more >>
registry problem
Posted by lewis0820 at 11/21/2003 10:43:57 AM
when i set the value in "ScreenSaveTimeOut", the value does change, but the
value in "display property . screen save program . wait(w)" doesn't change,
what's the matter?
... more >>
Compiling for a standalone app
Posted by TGF at 11/21/2003 9:07:56 AM
Hello,
How do you build a *.exe app without having to depend on other dll's such as
'mscoree.dll', etc... I have an application I want to build, but I want to
make sure that any needed dll's are compiled into the *.exe file itself.
--
TGF
... more >>
Calling Win32 DLL from VB6 Function
Posted by Joe Hoggood at 11/18/2003 2:14:06 PM
Seems I can't call a Win32 DLL exported function from a VB6 function. I can
call it successfully from a VB6 Form_Load event. Strange. Any ideas? Here's
the exported C++.NET function and VB6 Function.
// Win32DLL.cpp : Defines the entry point for the DLL application.
#include "stdafx.h"
#i... more >>
exe file
Posted by question at 11/18/2003 10:06:55 AM
the program which i build to exe file was open also
through the command line but just for a second and then
dissappear, i just have to say that if i run the program
through the compialer the program ends with a messege
"press any key to continu" in this case the user had
enogh time to see w... more >>
how to build exe file
Posted by question at 11/18/2003 3:01:54 AM
i try what you said and i really got an exe file
but when i try to clik on the exe file the file was open
for a second and closed by himself... more >>
i from the previous massage
Posted by question at 11/18/2003 1:36:57 AM
i forgot to mention that i have a microsoft visual c++
version 6.
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Calling VC++.NET DLLEXPORT Function in VB6 (Error 453: Can't find DLL entry point xx in yy.dll)
Posted by Joe Hoggood at 11/17/2003 4:24:42 PM
I am trying to call a VC++.NET exported function (Win32 DLL) in VB6. When I
try to call this exported function from VB6 I get the following error: Error
453: Can't find DLL entry point xx in yy.dll
VC++.NET cpp/h source:
// Win32DLL.cpp : Defines the entry point for the DLL application.
#in... more >>
How to use STL under VC++
Posted by Kelvin at 11/16/2003 5:36:45 PM
To all,
I've tried to use the data structures in STL of standard
C++ lib, but compile errors such as "vector is an
undefined variable/type"
here's the snippet
#include <vector.h>
.... other include file(s)
int t_main () {
vector<int> vInt;
vInt.push_back(100);
vInt.push_bac... more >>
Help on .NET Assemblies
Posted by Gideon at 11/14/2003 11:27:28 AM
hi all.
i try to compile c++ code into a .NET assembly that would be integrated into
C#.
all my c++ types and objects are not __gc, so in the assembly they all seem
to inherit from System.ValueType; in the object browser, the members of my
c++ classes do not show, hence when i instantiate an ob... more >>
Form background
Posted by German at 11/12/2003 10:55:15 AM
Hi.
I'm using VC++ 7.0 do develope my MFC dialog based application.
Is there some way how to set background for my form? Just like property.
Drawing in runtime is unwanted. There's no problem to set background in C#
project, but in MFC project I din't find any way.
And the second minor questi... more >>
How to write plugins using VC++
Posted by Kelvin at 11/11/2003 10:21:44 PM
To all,
I've got another question. Does anybody know how to write
plug-ins using VC++??
Actually, my friends and I will develop a Photo enhancing
system, and so we'll need some technique to allow
additional packages/plugins to attach the system. (maybe
need to integrate commercial plu... more >>
What's the best way to make a managed .dll that uses unmanaged classes and code?
Posted by 0to60 at 11/11/2003 6:29:41 PM
I'm trying to create a .dll with VS.NET 2003 Architect that contains a math
computational component. I need the guts of the thing to be in native code,
as performance is key for that part. But, I need a .net wrapper because
this "calculator" is actually a component used by an enterprise app wri... more >>
Performance of VC++ Data Structures
Posted by Kelvin at 11/11/2003 12:16:42 AM
to All,
I'm a newbie in VC++, can anyone tell me about the
performance in various Data Structures (eg. Enum, map,
list, vector, hash, arrayList)?
I would like to know performance on CPU and Memory Usage.
eg. Mem usage may involve the mem usage on
creating/deleting an element in the st... more >>
Duplicate Definitions
Posted by Kent at 11/10/2003 1:04:44 PM
I moved a VS 6.0 COM project to .NET 2003. It compiles
and links OK in the debug configuration. When trying to
build a release version, I get the following error:
LIBC.lib(crt0dat.obj) : error LNK2005: __osplatform
already defined in atlmincrt.lib(atlinit.obj)
Has anybody run into thi... more >>
HOWTO create a copy of one database
Posted by Lars Grøtteland at 11/10/2003 8:31:25 AM
Hello!
Was wondering how I can create a copy of one database? FYI I'm not
interrested in the data, just the fields and triggers, and so on.
Which way is the easiest? Do I create a script and run it from there? Is it
smart to have it inside a SP?
Any idea would be greatly appreciated.
I... more >>
#including .h files from a .dll project, I can't get it to work!
Posted by 0to60 at 11/7/2003 8:44:25 PM
I have a .dll project with both __gc and __nogc classes, managed and
unmanaged code. In my unmanaged code, I want to call sqrt() from math.h.
So, I've #included <math.h> in the .cpp file, but I'm getting an unresolved
external symbol linker error. I have the same code in an .exe project and
it... more >>
Buffer overrun w/ new libraries
Posted by Brian Corcoran at 11/7/2003 8:40:37 AM
Hi,
I'm dynamically calling the HTMLHelp function and getting
a Buffer Overrun in the VC++ runtime library. This
terminates the application. It only happens when
building for Release (VS .NET 2003). The thing is, the
code is unchanged from when it worked with VC++ 6.0.
The Help file i... more >>
Repost: Re: DllImport for Windows CE for pocket PC device development
Posted by Kenric Li at 11/5/2003 11:39:15 AM
Hi Chris and BJ,
I am working in the same library too. I tired to use the Visual C++ to link
to this win ce.net dll, and from Visual C++, I can see the method and build
with the following code:
// This is the main project file for VC++ application project
// generated using an Applicat... more >>
Using ATL server 7 for web services.
Posted by Andy at 11/4/2003 4:10:51 PM
I have an ATL 7 web service. I need to call methods in an MFC extension
DLL.
I have wrapped the extension DLL with a 'normal' (_USERDLL) MFC dll and
linked my web service to the normal DLL. There is code in the
InitInstance() of the MFC application in the 'normal' DLL which calls the
initiali... more >>
|