-
- windn32 dlls with ref class
by sabarish_s
- 1 Replies
- Last post
by Ramkrishna Pawar
- Hi everyone,
We have a VC++ RPC Server developed in VC8 . This server hosts a number of drivers developed as Win32 dlls...
We now have a new requirement, we need this RPC Server to host some dlls developed in c#. Since the RPC Server cannot host C# dlls, we have a developed a intrefacing module developed as a Win32 dll. This dll has a unmanaged section as well as a managed section (developed
-
- Difference between Windows Platform SDK and Windows SDK?
by Leonard51607
- 6 Replies
- Last post
by Bite Qiu - MSFT
- I'm using VC++ 2005 express edition so I need SDK to build native win32 applications. But it seems there are two choices for SDK: Windows platform SDK ( http://www.microsoft.com/downloads/details.aspx FamilyId=0BAF2B35-C656-4969-ACE8-E4C0C0716ADB&displaylang=en )
and Windows SDK ( http://www.microsoft.com/downloads/details.aspx FamilyId=7614FE22-8A64-4DFB-AA0C-DB53035F40A0&displaylang=e
-
- Win32API Programming
by VCWinUser
- 6 Replies
- Last post
by VCWinUser
- Hi
I am a newbie to Win32Api Programming.
I am using VC++(2005) to compile Win32Api programs.
My First program Contains a function
LoadString(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING);
where IDS_APP_TITLE is integer identifier to a string.
In resource.h file all such identifiers are assigned with some integer values.
Are these values fixed How are these values actual
-
- Win32 C++: How do I change the window icon during runtime?
by soconne
- 2 Replies
- Last post
by soconne
- Is there a way to do this during runtime AFTER the window has been created
-
- Declaring vectors
by ~O~
- 6 Replies
- Last post
by einaros
- I'm working on the development of a strategy game wherin specific characters could have other characters of the same type as followers. So obviously I need an array or vector embedded in the Character class. This is what I've got:
#include <vector>
...
std::vector<Character> followers;
This is running into all sorts of problems, though:
C:\Program Files\M
-
- mfcs80d.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined
by Luke DeStevens
- 8 Replies
- Last post
by Simple Samples
- Hey everyone,
I'm modifying an addin for SolidWorks (a CAD tool) built by my predecessor that allows a user to export SolidWorks files in FBX format. I'm pretty sure it's unmanaged. It worked fine, but I wanted to add a Progress window (since it can take awhile and seem locked up). I found and added the source files from this:
http://www.codeproject.com/miscctrl/progresswnd.asp
-
- Quick help needed -- CComboBox! (really quick question)
by phalaris_trip
- 1 Replies
- Last post
by phalaris_trip
- Hi guys, My CComboBox doesn't display any items.. I initialised it in the class header file: CComboBox SortListComboBox; and in the implementation file I've got SortListComboBox.InitStorage(3,20); and I've tried using SortListComboBox.AddString(CString("stuff")); and SortListComboBox.AddString(_T("stuff")); and SortListComboBox.InsertString(0, CString("stuff")); and S
-
- SAPI 5.1 TTS engine implementation
by MrCarlos
- 1 Replies
- Last post
by Bite Qiu - MSFT
- Hello,
I have implemented TTS engine. It works just perfect, but while I change the voice's language setup in the registry token "language" ( HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Speech\Voices\Tokens\MyVoice\Attributes ) to value different to English, in my case from 409 (English) to 405 (Czech), the procedure Speak in an application returns error SPERR_NOT_FOUND (0x8004503a), which
-
- Why Program works in debug but not release mode
by Photomultiplier
- 2 Replies
- Last post
by Ramkrishna Pawar
- I have an application that uses MFC to create a window in visual studio 2005 c++.Net. It was develop in visual studio 2003. Since then it has been upgrade to visual studio 2005.
The way the application should work
When the application works correctly there is one box area for data input and the three sub forms for output are displayed on the screen.
The users input data in the dat
-
- Convert LPWSTR to CString
by Amr Ouf
- 1 Replies
- Last post
by Amr Ouf
- I'm using MFC and I want to convert LPWSTR to CString. Note that I've got that string from GetClassName Here's a portion of the code ::GetClassName(wndControl->m_hWnd,pstrClassName,256); USES_CONVERSION; strClassName = W2CA(pstrClassName); Any Suggestions
-
- How to add MFC support in this project?
by WooJin
- 5 Replies
- Last post
by Simple Samples
- Hi I've donwnloaded a solution form the link below and compiled it.
http://my.opera.com/Diniska/homes/files/test.zip
It worked fine, but when I went to project settings and set "Use MFC in a shared DLL."
Once I've set this option and re-compiled, it gave me LNK2019 error.
It was about not being able to find __imp__CreateWindowExA@48 , __imp__GetWindowLongA@8 , __imp__SetWin
-
- How to access ListView in other window
by hacer
- 5 Replies
- Last post
by hacer
- Hi! I was wondering, is it possible to access elements of ListView in other application. I retrived handle to parent window using Spy++ and to LIstView as well, and do i have to use some functions or treat it like normal ListView created in my app If this would change something, i can tell that other app is written in C++ Builder. I'm using VC 2k3
-
- Need Help with Reg-Free COM and side-by-side assembly
by gscott2112
- 2 Replies
- Last post
by Bite Qiu - MSFT
- I hope somebody can give me some insights on distributing a COM dll as a side-by-side assembly.
I have a DLL that has an embedded assembly manifest and all works well on XP when using this from an application which has a manifest listing the dll as a dependency.
However when running on Vista the application always fails to create the COM object. I get either 0x800401f3 (bad class string)
-
- How to close a dialog without closing the whole application?
by Bomberofdoom
- 9 Replies
- Last post
by Simple Samples
- Hey guys,
I've tried to do searchs for DialogBox closing functions, no success yet, so I wanted to ask you guys if you know what is the function I need to use in order to close one of the Dialog boxes of the application without closing it all
The point is that after I press a button in one dialog, I want to move to the main one and destory the previous one, without closing the whole app
-
- Error: LNK2001
by fusswolf
- 4 Replies
- Last post
by fusswolf
- i got this errror after i copy the vc programme to anther location. i copied everything in the folder. the error is: FileTiff.obj : error LNK2001: unresolved external symbol _QCam_is16bit@4 FileTiff.obj : error LNK2001: unresolved external symbol _QCam_CalcImageSize@12 Debug/Temporal.exe : fatal error LNK1120: 2 unresolved externals Error executing link.exe. Can someone tell me why thank you.
-
- Converting char[24] to a LPCTSTR
by REspawn
- 6 Replies
- Last post
by Holger Grund
- Hi, I have a MFC app and im trying to add the data char[24] to an mfc listbox, and I need the string to be in LPCTSTR format. I tried creating a TCHAR array and swprintf the value into it but with no luck. Any help would be excellent, -Dave
-
- i want to get the max element of array
by greatWorld
- 3 Replies
- Last post
by einaros
- hello every body; i want to get the max element in array like that int arr[5] = {1 , 6 , 5 , 9, 3}; max of arr is 9
-
- Run 32-bit application in WOW environment of Windows XP Profession X64 Edition
by Squall
- 4 Replies
- Last post
by Bite Qiu - MSFT
- I wrote a simple 32-bit C++ program in VS2005 under Windows XP operating system. If the "Runtime Library" of the project is set to "Multi-threaded Debug (/MTd)", it works correctly both in Windows XP and WOW of Windows XP Profession X64 Edition. However, if the "Runtime Library" of the project is set to "Multi-threaded Debug DLL (/MDd)", in Windows XP it wor
-
- How to retrieve the ORACLE_HOME location from Registry Editor through VC++ irrespective of ORACLE Version???
by Athish
- 2 Replies
- Last post
by Brian Kramer
- How to retrieve the ORACLE_HOME location from Registry Editor through VC++ irrespective of ORACLE Version
-
- Zipping files and folders
by Charles Tam
- 2 Replies
- Last post
by w014nd
- From a C++/CLI console application, I would like to zip up a group of files and directories.
What library should I be using
-
- how to trim integer!
by Memoona
- 14 Replies
- Last post
by Simple Samples
- hello all!!! i have a problem regarding int.i have a number like year suppose 2007 in an int variable and now i want only the last two digits of this integer...i mean i have yera in four digits but i want it to be in two digits...fot dat matter i have to trim the first two digits.....can nyone help me out... regards
-
- C++/CLI Destructor/Finalizer pattern
by Hugo Rumayor
- 10 Replies
- Last post
by Hugo Rumayor
- The destructor/finalizer pattern in I mplementation A as Microsoft recommends it on several examples they provide so metimes it fails under concurrent calls; Implementation B seems to work fine in all situations.
Has anyone encountered a similar problem or knows why this is happening
public ref class MHImage
{
private :
Hobject* _hIma
-
- Issue converting a DLL project from VC++ 6.0 to VC++ 2005 (8.0)
by Phillip Carruthers
- 0 Replies
- Last post
by Phillip Carruthers
- Hi,
I am in the process of moving to VS 2005 C++ professional from VS 6.0 C++. I have 6 projects to that I need to move over, 2 generate .exe's and 4 generate .DLL's. All have been built successfully and run ok except 1 DLL project.
The DLL project is our own ODBC driver DLL. It builds OK but the size of the DLL is about a third of the size of the DLL when built with VS C++ 6.0. When trying
-
- Edit And Continue stops working after some time.
by Am_ac1
- 6 Replies
- Last post
by Am_ac1
- When I start my application in debug mode, initially the Edit And Continue feature works properly. But after some time, if I restart the application, it stops working completely.
I tried rebuilding application, removed .ilk file but of no use.
Any guess
-
- Thank you But...
by Randy Rhods
- 3 Replies
- Last post
by Bite Qiu - MSFT
- there is a vague error. the message is "fatal error C1067: compiler limit : debug information module size exceeded"
my enviroment is Visual sutdio 6.0, many files have big size(3~40k),
i think this error is caused by big file size. i have been heard that the compiler generate a error if the file size is over 24K.
Is it right and Please let me know how i can fix this error. it ma