-
- Visual studio 2005 professional version & excel 2002 version: automation error
by orange box
- 1 Replies
- Last post
by Damien Watkins - MSFT
- I studied automation using VSTO2005 as [ http://support.microsoft.com/kb/311546/en-us ]
but when I compiled, bug report as below
only express version possible
show me why. please~
1>d:\project\embed_excel\embed_excel\debug\excel.tlh(1150) : error C2371: 'FontPtr' : redefinition; different basic types 1> C:\Program Files\Microsoft Visual Studio 8\VC\include\comdef.h(322) : see
-
- CStringArray
by Hooper
- 6 Replies
- Last post
by Hooper
- Hi,
I am doing some additions to a MFC app that uses a few CStringArray's.
I use
ioNames[modNum].InsertAt( location, name);
because there is a possibilty that some locations in the arrays will not be used.
At some point later in the app it loops through all the locations to see if there are strings there
and then will display them. If I have not inserted a string in one of the lo
-
- Adding Existing Items to Project
by digitalkhaos
- 6 Replies
- Last post
by Pintu Shukla
- Greetings all,
I'm going to try to be a specific as possible so please bare with me. I'm using Visual Studio 2005 Standard Edition on Windows XP SP2. What I'm attempting to do is create a new C++ project using existing files and directories.
I've created an empty C++ Project. I have a directory structure containing 100's of C source files. I would like to add the entire directory str
-
- .net 2.0 initialization of mixed mode assemblies
by ulardon
- 2 Replies
- Last post
by ulardon
- Hello,
upgrading to Visual Studio 2005 and .Net 2.0 I have a problem with the initialization of mixed mode assemblies.
With Studio 2003 I habe used the way with /NOENTRY Linker setting and the Force Symbol Reference to __DllMainCRTStartup@12 . With the call of __crt_dll_initialize all the globals and static variables were initialized correctly. So, when a class was used as global, the const
-
- Unhandled Exception error
by SkyLander
- 3 Replies
- Last post
by Mike Danes
- I guess I have a couple questions, first is 0xcdcdcd the standard memory address for NULL Now my code is thist: dispenser table::dequeue() { dispenser * newDisp; dispenser * newDisp2; newDisp2=new dispenser; newDisp=new dispenser; newDisp=head; if (newDisp->next != NULL ) { newDisp=newDisp->next; } newDisp2=head; head=newDisp; return * newDisp2; } Pretty simple
-
- Is Visual Studio Professional trial version for commercial use?
by Mark Fine
- 1 Replies
- Last post
by crescens2k
- Is Visual Studio Professional trial version for commercial use
Is it legally allowed to use a Visual Studio trial version to develop commercial applications
I, as a freelancer, have a customer who needs a simple MFC application. I don't have Visual C++ yet. Is it OK to develop an application using Visual Studio trial version
Thank you,
Mark.
-
- C4013: 'fabsf'
by O.Z.
- 8 Replies
- Last post
by Giovanni Dicanio
- Hi, In Visual Studio 2003 I get warning C4013: 'fabsf' undefined; assuming extern returning int warning, but then project links ok. I have <math.h> included. Can this warning be worked around
-
- CDatabase error: could not delete from specified tables
by YaelS
- 3 Replies
- Last post
by TilakGopi
- I'm using with ODBC, I can't delete statment & I don't found examples for this topic.
Code Snippet
void CListViewDlg::OnRecordDelete(DWORD id)
{
CDatabase database;
CString sBuff;
CString sDsn;
sDsn = this ->SQLConnString;
try
{
if (!database.Open(NULL,FALSE, TRUE, sDsn))
{
return ;
}
CRecordset rs( &database );
CString
-
- Error in PlatformSDK files
by Asif110
- 7 Replies
- Last post
by Ben Voigt
- This is again a legacy code porting problem apprently there is something in my stdAfx.h file thats causing to generate syntax erros in PaltformSDK header files (winnt.h, windef.h, etc.) here is the complete code of my stdAfx.h file
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequ
-
- setting an environment variable on target computer
by W.J. Llope
- 3 Replies
- Last post
by webbes
- hi folks - my first post here.
i've successfully deployed my app to a clean computer. because of the libraries i'm using (root.cern.ch) i have no choice but to insure that a new environment variable is set on the target computer during the installation (i'm using MSI not clickonce). i also have to append to %PATH% on the target computer....
after quite some searching, i understand that i mus
-
- default destructor and list iterator
by jdr5
- 4 Replies
- Last post
by jdr5
- I came across a problem with a default destructor. The problem has been distilled down in the code at the end. I have an Iterator class that is used to access std::list<>'s. The original design was that a pure abstract base class was used to provide an interface. But if I define a pure abstract base class, bad things happen. From what I can see, the default destructor does the wrong thing a
-
- Can you share global variables between a DLL and a calling program?
by georgeob
- 14 Replies
- Last post
by georgeob
- Can you share global variables between a DLL and a calling program If so I would appreciate any tips. I tried putting the global variables in the DLL but it crashed when the VB porgram tried to call it.
-
- MFC .NET Interop problem with Unicode chars VERY URGENT
by Lidor
- 5 Replies
- Last post
by nobugz
- Hi, I have the following problem: I have an MFC program that hosts .NET control as activeX. The .NET control has an edit box. When I switch to Hebrew language and try to print text in the edit box I get gibberish. I have tried to find the reason and discovered( ) that the KEY_DOWN event is captured by the message pump of the host (MFC). The host send the event to the .NET control as KEY_DOWN. But
-
- How can I tell if an "inline" function really was?
by mapleval
- 2 Replies
- Last post
by mapleval
- Hi I'm using Visual C++ with VStudio 2005. How can I know whether my inline functions actually were inlined by the compiler (or not)
Thanks
-
- vc++ loadstring
by giuseppe500
- 3 Replies
- Last post
by mloskot
- have this string:"pippo is tall" and after im isert it in the stringtable get the id: IDSPIPPO Can i write: 4.AfxMessageBox(::loadstring(IDSPIPPO)) but the loadstring demand other 2 parameters after the id of the resource that i dont know thanks.
-
- Help please!
by Hellish
- 14 Replies
- Last post
by Hellish
- hello,
when i try to compile (build) a project it gives me this error:
Instance_ShadowfangKeep.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl HandleShutdown(class Socket *,unsigned long)" ( __imp_ HandleShutdown@@YAXPAVSocket@@K@Z )
it gives me 32 errors so a other error is like:
Instance_moltencore.obj : error LNK2001: unr
-
- Reproductor de DVD
by Wagimo
- 3 Replies
- Last post
by mauricio
- Hola a todos.
Me encuentro en este momento desarrollando una aplicacion con WPF que reproduce video, sonido.
En el proceso he tenido graves problemas que no me han permitido avanzar, uno de ellos es el no poder reproducir video digital (DVD). Si alguien pudiera colaborarme en ese punto le estaria infinitamente agradecido.
Atentamente
WALLAS.
-
- building dos application in visual studio 2005
by SVKmiRec
- 8 Replies
- Last post
by Simple Samples
- Hi! I have problem with building dos application in visual studio 2005. Compiler succeed but linker throws error : 7188EL.LIB : fatal error LNK1136: invalid or corrupt file Library is certanly good, in borlandc whole build succeed. If there is no way to build dos application in vs2005, is it possible in visual studio 6.0, and how Thanks very much for your time.
-
- Compiler Warning ""At least one of the arguments for ... can not be marshaled"
by MikhailGol
- 5 Replies
- Last post
by Damien Watkins - MSFT
- Hi,
I keep getting compilier warnings like this:
Warning 12 At least one of the arguments for 'COWSplineCalc.CalcSpline' cannot be marshaled by the runtime marshaler. Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.
The warnings started after I moved the project to VS2005 running under Vista.
I've found no documentation on the warning. Can
-
- cannot find dll
by brybot
- 12 Replies
- Last post
by Bite Qiu - MSFT
- I have a program written in C# and a DLL written in C++. The program works fine on my computer if I place the DLL in the same folder as the executable. I can even change the location of both files and it still works fine on my computer. As soon as I put it on another computer, I get an error saying it cannot locate the DLL. I have tried adding it as a resource which doesnt work, tried putting it i
-
- "How to debug Buffer Overrun Issues"
by Sam Hobbs
- 9 Replies
- Last post
by Chatura
- My program crashed with the error message:
A buffer overrun has occurred in TestLogger.exe which has corrupted the program's internal state. Press Break to debug the program or Continue to terminate the program.
For more details please see Help topic ' How to debug Buffer Overrun Issues '.
Yet when I search for "How to debug Buffer Overrun Issues&q
-
- Private access
by Shouvik
- 6 Replies
- Last post
by Shouvik
- Say if we ve certain private methods along with private data members and public methods. other than friend function is thr any other way we access these members(they being private only) directly. its one of the requirements in a project of mine. The real prob comes when accessing function. say we've classes ported to us in .obj format. then going for DMA using pointers is a risky n unreliable job.
-
- Issue compiling x64 natively
by Vimal Kaul
- 0 Replies
- Last post
by Vimal Kaul
- Sometime back we had ported our application binaries (exe's + libraries) to x64 using the VS 2005 x86_amd64 crosscompiler due to shortage of AMD64 boxes. The resultant binaries that were created were 64-bit and used to run perfectly on the AMD boxes.
Recently, due to our build dependency with another component, we have to move to native x64 builds. We had initally estimated that the only change
-
- VC++ 2005 redistributable
by Jay K
- 14 Replies
- Last post
by Nelson B
- Hi, I'm trying to get an MFC application compiled with VC++ 2005 to run on a machine with VC++ 2005 express. There seems to be a problem with the manifest (which I don't fully understand despite reading the info on msdn). The original error in the event log when I tried to run it said Microsoft.VC80.CRT not installed so I installed the platform SDK and also copied over the atlmfc directory from th
-
- Can anyone help me on how to write the code for device drivers.?
by BharatKumar
- 1 Replies
- Last post
by Bruno van Dooren
- kindly help me how to write the hardware interaction code using device drivers/interruptors.