-
- installer class
by vistapolar
- 1 Replies
- Last post
by Bite Qiu - MSFT
- I want to develop a setup file for a c++ proyect. To this purpose I created a "setup and deployment" proyect. After that, I created an installer class in the c++ proyect with this default code:
instalador2.h:
#pragma once
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::
-
- OleCreatePropertyFrame Bug?
by Raananan
- 1 Replies
- Last post
by Bite Qiu - MSFT
- Hello,
I'm having some problems with the OleCreatePropertyFrame function.
I'm using this function to show the property page of my direct show filter. The page opens ok, and everything looks fine. The problem is when I close the program (in debug mode). Then I get an assertion that says that some of the com objects were not released.
This is how I use "OleCreatePropertyFrame":
-
- program only breaks when not running with debugging
by mgilorma
- 14 Replies
- Last post
by P.GopalaKrishna
- I have an app that has some sort of memory problem going on where I get the following message sometimes: The instruction at 0x7c9111cd referenced memory at 0x0504da88. The memory could not be "read". The addresses change every time I get the message. I also get unhandled exception errors and sometimes the program just shuts down. I was thinking it had to do something with unmanaged mem
-
- Warning 8101007f from mt.exe during build
by Bill Arnette
- 0 Replies
- Last post
by Bill Arnette
- I get the following warning during the build of my unmanaged COM servers (DirectShow filter dlls actually). What does it mean and how do I eliminate it 9>Embedding manifest... 9>../include/ClipWriter.tlb:general warning 8101007f:Failed to load the typelib file. Using an empty string as the resource identity. The .tlb is specified in the Project Properties/Manifest Tool/Isolated COM/Type Li
-
- How to Check Excel file Exists or not?
by Ajax24
- 3 Replies
- Last post
by Sarath.
- hi, i wanna write the code to check the excel file exists or not , if not i need to create a new excel file in writing mode any help appreciated. Regards, Ajax
-
- Check Boxes
by SaintAnger
- 3 Replies
- Last post
by SaintAnger
- Hi,
I know this might be in front of me ready to bite my head of but i dont seem to see it...
Basically i want to initialise my checkbox to be checked when the program runs and my frame appears. I have checked the properties of the checkBox but i do not seem to find the solution to this.
Any suggestions will be much appreciated!
Cheers
Anger.
-
- Problem in disable and enable main menu using mfc
by Dravid
- 3 Replies
- Last post
by scor7910
- Hi, In my project i want to disable and enable Main Menu at run time using mfc . I had try to run the following code, but don't send error occurred CMenu* mmenu = GetMenu(); CMenu* submenu = mmenu->GetSubMenu(0); submenu->EnableMenuItem(ID_FILE_NEW,MF_DISABLED | MF_GRAYED); Please help me How to Disable/Enable Main Menu using View class
-
- createremotethread
by cadouthat
- 14 Replies
- Last post
by cadouthat
- ive been messin around with threads and processes and stuff lately (i was just curious) and i found a function called createremotethread(), it is supposed to make a new thread in another process, but even when i set everything up right, the process i create the thread in "has an error and needed to close"... i checked the exit code and it had to do with access rights - does this mean tha
-
- Linker warning
by CTStiff
- 1 Replies
- Last post
by Holger Grund
- 1>------ Build started: Project: LongLeafGrowth, Configuration: Release Win32 ------
1>Compiling...
1>longLeafGrowth.cpp
1>longleafFunctions.cpp
1>Generating Code...
1>Compiling manifest to resources...
1>Linking...
1>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/OPT:ICF' specification
1> Creating library Release\LongLeafGrowth.lib and
-
- Convert project .dsw from VS 6 to VS 2005 from command-line
by CDQ
- 7 Replies
- Last post
by mary_kim_ngoc
- Hi, I was wondering how to compile a .dsw project written in Visual Studio 6 in Visual Studio 2005 from the command-line. The GUI would give me an option to convert but I need to use the command-line in Dos to compile from a script. When I try to use devenv project.dsw /upgrade, it just doesn't work. It prompted me to convert the project first. Does anyone know how to force it or work around Is t
-
- XP styles support
by Alex1st
- 5 Replies
- Last post
by Bite Qiu - MSFT
- I migrated my project from VC6 to VC8. Unfortunatlly my application doesn't respect XP styles. I have manifest from all modules, but that not helps. I even think that during the load I have in memory latest version of common control library (ver 6 i guess). What I need to do see all common controls in my app. recpectevly to XP selected theme and style.
When I creating new MFC dialog application
-
- Why wcstombs is not working?
by ketu0001
- 4 Replies
- Last post
by Sdi
- Hi All I have russian characters in SQL database. I am fetching data using C++ code and storing it in xml file.I am using visual studio 6.0 and Micrsoft SQL server 2005. I get right outout with widechartomultibyte. But it's not able to fetch unicode data when I use wcstombs instead of widechartomultibyte function. why wcstombs is not working Can anybody please help following is my code: #define
-
- HBITMAP to BITMAPINFO casting.
by THE_SATAN
- 3 Replies
- Last post
by Bite Qiu - MSFT
- HI everyone
I wanted to ask that is there any way by which i can cast the handle to a bitmap form CreateDibSection() method to BITMAPINFO structure's object.
and also can how a bitmap can be displayed useing the handle to a bitmap form CreateDibSection() method.
Regards
-
- linking error
by Beck.Yang
- 3 Replies
- Last post
by Beck.Yang
- Dear all, when I complie my project that needed to link ddk library, I got linking error below:
Linking... Searching libraries Searching C:\Coreco\Sapera\Lib\corapi.lib: Searching C:\WINDDK\3790.1830\lib\crt\i386\libcmt.lib: Searching C:\WINDDK\3790.1830\lib\crt\i386\libcpmt.lib: Searching C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\lib\kernel32.lib: Searching C:\Progra
-
- Visual C++ 2005 compiler/linker bug?
by AllenDing
- 3 Replies
- Last post
by AllenDing
- The following code seems to cause an issue in Visual C++ 2005 SP1 where the proper instantiations for some member functions are not being generated in a class template. Trying to compile this results in LNK2019 errors.
Code Snippet
class Person { public: virtual ~Person() {} }; template <typename T> class Sarah : public Person { public: virtual void Something()=0; }; templat
-
- How to modify or change password - gui visual c++ .net
by agent14
- 7 Replies
- Last post
by agent14
- Hey everyone...I'm doing a project for school in visual c++ and I'm using .Net framework 2.0...with clr enabled...I am able to create usernames and passwords...however I'm not sure how I could modify the username or password...any tips guys One thing to note though, I created my login files using an .xml file, I'm not sure if that would make a difference. Thanks.
-
- Calling MS Access VBA code
by Charles Tam
- 3 Replies
- Last post
by Simple Samples
- I would like my C++/CLI (vs2005) app to invoke a couple of functions on a MS Access 97 database. These functions are implemented in VBA.
Is it possible If so, please provide me with starting points and links.
If not, what are my options
-
- Templated friend function and namespace issues
by RobYull
- 4 Replies
- Last post
by RobYull
- // Stripped down version of my code. Compiled in Visual Studio 2005 SP1
#include <deque>
namespace KS
{
namespace Threads
{
struct SingleThreadModel
{
class Mutex
{
public :
void lock() {}
void unlock() {}
};
};
}
namespace IO
{
template < typename ThreadingPolicy = KS::Threads::SingleThreadModel>
class CSe
-
- Suddenly the DLL MFC80D.dll is not found. ??
by alan93
- 6 Replies
- Last post
by alan93
- I have been using VS 2005 for about a year now and all of a sudden I get this message in debug mode:
"This application has failed to start because MFC80D.DLL was not found. Re-installing the application may fix this problem."
The file already exists on my system here:
C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugMFC_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_c8452471
and her
-
- Entry Point Not Found
by Hooper
- 12 Replies
- Last post
by Hooper
- Hi,
We have an older MFC app that was probably developed using VS6 and I am now maintaining it in VS2005 and everything works fine. A user tried running it on a Win2000 based machine and got a dialog named,
Entry Point Not Found and a message,
The procedure entry point I_RpcExceptionFilter could not be located in the dynamic link library RPCRT4.dll.
Anyone know what this means
A ne
-
- Search for values of data in .ini file
by mactick
- 1 Replies
- Last post
by Simple Samples
- hi,
i would like to know the steps in searching for the values of data in a .ini file...
example, i have these data in the .ini file:
DCDInterval=10 UCDInterval=15 T1=5 T2= 10
and i wish to know the values of DCDInterval, UCDInterval, T1 and T2...
on the click of a button...the values of the respective data would appear in it's respective textboxes.
how do i achiev
-
- Different of Single thread to Multithread
by Multitask
- 8 Replies
- Last post
by Ben Anderson MSFT
- Hi Guys,
As I known, the older version of MS Visual Studio C++ do not applies the multithread processes. I am wondering how do the multithread applies into the newer version of MS Visual Studio C++ How do I differentiate the single thread and multithread application Is it, in the header file which differentiate it this both application
I am using MS Visual Studio C++ 6.0, is this
-
- Illegal System DLL Relocation
by H
- 9 Replies
- Last post
by Philt_UK1
- Just want to say thank to Matt & Mike.
This problem was driving me mad, and now is fix thanks to you both.
Regards
H
-
- Mix C++ application deployment
by M.Joe
- 8 Replies
- Last post
by M.Joe
- I had write the simple c++ 'clr console' program. In the main entry point function there has such following code:
Code Snippet
_tprintf(_T( "Hello World!\n" ));
System::Console::WriteLine(L "I'm managed 'Hello World'.\n" );
return 0;
Then, build it with /clr compiler option, and /MANIFEST link option, and built it ok.
So, I run it on my win2k
-
- Visual Studio 2005 - Do I need VS2005 Team System in order to build ia64 executables now?
by hoobler
- 3 Replies
- Last post
by hoobler
-
I am a little confused, when I read this:
http://msdn2.microsoft.com/en-us/library/hs24szh9(VS.80).aspx
Does this mean I need to buy VS2005 Team System in order to build ia64 executables now or does this mean I need VS2005 Team System if I want to build on the itanium platform
Anyone know