-
- Need info about New Certifications in VC++
by L.P.G
- 3 Replies
- Last post
by Ramkrishna Pawar
- Hi,
Is there any certification available for VC++ in the new generation of certifications released by MicroSoft
Please give details about the certifications available for VC++.
Any useful info is very much appreciated.
Thanks
-
- New programmer getting a conversion error
by RayFantasia
- 6 Replies
- Last post
by RayFantasia
- Hi,
I'm hoping someone can help me with this error
I have a class called CListLib which has a function with the following prototype:
ListStruct *FRYSortList(int (*compareContent)(void *, void *), int order);
My code call the function as follows:
if(SchedFileList.FRYSortList(SortSchedOnList, LIST_SORT_ASCENDING) == NULL){ .....;
}
The SortSchedOnList function is declared
-
- Is it possible to use MFC42 (compile and link) under VC++ 8 (MSVS 2005)?
by JaMDataApex
- 12 Replies
- Last post
by Ted.
- May be rather weird idea, but one of our customer using our SDK is demanding it. Thank you for hints.
-
- Creating UNICODE file
by sdiaconescu2001
- 3 Replies
- Last post
by spurandare
- How can I create a UNICODE file
The following sequence do not creat a UNICODE file but an ANSI file:
// UNICODE.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
int _tmain( int argc, _TCHAR* argv[])
{
wchar_t * expandedTreeFileName = _T( "C:\\TEMP\\UNICODE_file.txt" );
FILE * _pExpandedTreeFile = 0;
_pE
-
- Application stopped running in other computers - Please help
by Marsze
- 9 Replies
- Last post
by Marsze
- Hi I'm writing a form application in Visual C++ Express. Earlier versions of the application were running fine in other computers, given they installed the DotNet and the VC runtime libraries.
After making some changes, the application is failing to start in other computers, producing the following error: "the application has failed to start because the application configuration is incorre
-
- problems in rebuilding msdn/sample/1566 (win32 hooks) sample application using makefile
by alex.tabac
- 1 Replies
- Last post
by Simple Samples
- has anyone tried to build the sample file 1566 (about win32 hooks by Kyle Marsh) using make file
I encountered LIBCMTD.lib(crt0.obj) : error LNK2019: unresolved external symbol _main referenc ed in function ___tmainCRTStartup hooksdll.dll : fatal error LNK1120: 1 unresolved externals NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\l ink.EXE"' : return c
-
- C1083 error on linking a VERY large project
by bobpitbull
- 13 Replies
- Last post
by crescens2k
- When I turn on "Whole Program Optimization" on our project, I eventually hit a C1083 error during linking.. the file it's attempting to load is fine - it loads fine if I turn WPO off. So.. it looks like the Linker is running out of workspace.
Our project is VERY large... so that's entirely possible.
My question: How can I help the linker Is there a way to increase the space
-
- VS2003->VS2005 Designer Conversion Problem
by Balboos
- 4 Replies
- Last post
by Balboos
- I am converting VC++.NET Forms application from VS2003 to VS2005, and have come up with a rather annoying (perhaps fatal to conversion) problem:
The Form cannot be viewed in designer mode . I've made all the appropriate tweaks and the app builds and runs, but no designer means no rational way to update the design. Note that SP1 has not yet been applied to app - but I did download it this AM
-
- How to set the datagrid marker
by The Cube
- 1 Replies
- Last post
by Bite Qiu - MSFT
- Hello to all...
I am trying to manually sort rows one index up at a time by clicking a button repeatedly as required.
Can you advise pls how I might go about setting the marker / current row selector in a Win Form c++ datagrid. I can access the property using:
this ->previewGridView2->CurrentRow->Index
but I can t determine code to set it (after
-
- Creating an array of variable dimensions
by OilsFan
- 10 Replies
- Last post
by Giovanni Dicanio
- How do I create arrays using a varible as the array size Not something like a #define size 3 - an int passed to a function, for example.
In a program I'm writing, I use
double * values;
values = ( double *) calloc(number, sizeof ( double ));
Where number is an integer. This was the syntax selected by a book I have, but the'array' is initialised with only one element, despite
-
- Copying file trees in a custom build
by John J Stephen
- 8 Replies
- Last post
by John J Stephen
- I have a large number of files which I want to include as part of my build process but which only need to be copied to the output directory in the same relative folder that they're in for the project (ie, if the file is in Documentation/Images/Header.jpg relative to the project then I want to copy it to $(OutputDir)/Documentation/Images/Header.jpg). I can create the custom build steps for these fi
-
- integrating VC++ and C# GUIs
by DavidRaines
- 4 Replies
- Last post
by DavidRaines
- ( sorry for cross posting with the C# forum)
I'm trying to integrate an unmanaged VC++ MFC GUI application with a new C# library. The C# library is a GIS library (i.e., it draws maps to the screen), and I'd like to (somehow) tell it to draw to one of the HWND window handles that was defined in VC++. The C# library allows the user to set the window handle for it to use (it accepts the standard I
-
- Small Linker Problem
by chris_14
- 14 Replies
- Last post
by TilakGopi
- Hi folks, Would you please be so kind to have a quick look at my code I'm trying to compile code for the WinCE platform using Visual C++ 6, but I always get a linker error. The Windows CE SDK has been installed, as project I've selected a simple WinCE Application in Visual C++. This is the source code, found at http://www.codeguru.com/cpp/w-p/ce/embeddedvisualc/print.php/c9799__1/ #include <m
-
- C, C++, C#?
by Marius F
- 2 Replies
- Last post
by Bruno van Dooren
- what's the best language to learn
being a student i have little knowledge of all of them (except C++)
i'll appreciate the if u can give me a strait answer (i mean i don't like answers like "Learn what you like, or what's easier or etc...")
what is the best (and by best i mean what are the most companies out there looking for )
-
- SetWindowTextW function generating Error 122 (The data area passed to a system call is too small)
by Rakesh Simpi
- 8 Replies
- Last post
by TilakGopi
- hi,
i have a native win32 dll.. in which..
# i accept a handle of a textbox from a .net project
like functionname(textbox1.handle)
in my dll,
myFunction(HWND h){
CWnd *handle=CWnd::FromHandle(h);
handle->SetWindowTextW(_T("test"));
GetLastError(); //prompting error no. 122 : "The data area passed to a system call is too small&q
-
- How to get a bitmap from a invisible source window?
by Jakein2006
- 1 Replies
- Last post
by einaros
- I use the following function to get a bitmap from a invisible source window, but everytime it seems that the bitmap I get from that window is not repaint completely, please tell me how to make the following code better to get a refreshing bitmap of a invisible source window:
I appreciate your help.
CopyToClipboard(HWND hSrcWnd) { int nResult = FALSE;
if (hSrcWnd ) { // can we do
-
- To Create a Scrolling Banner in VC++
by Ajax24
- 5 Replies
- Last post
by Ajax24
- Hi, I like to create a Scrolling banner without any user interface, i,e the program should take commandline argument (string) and display that as a scrolling banner on the top or bottom of display unit. can this be achieved by VC++ , as i need to give commandline arguments will this be achieved with MFC's or Console Applications if yes some description or links about how to create it. Regards,
-
- Serialport sending bytes > 127
by Sam Wane
- 14 Replies
- Last post
by Simple Samples
- Hi,
I'm trying to send bytes in the range 0-255 to the serial port in VC++ 2005.
I have tried the following code but it will not send characters >127, I think the problem is in the ToChar conversion. Can a string have 'illegal' characters (e.g. 255). Could anyone help
unsigned int ch1=200;
unsigned int ch2=251;
unsigned int ch3=252;
char op1=Convert::ToChar(ch
-
- private assemblies search path
by Sebastian Tusk
- 3 Replies
- Last post
by crescens2k
- I would like to use private assemblies stored in subfolders. It exists a mechanism to do this. (probing, privatePath) see http://msdn2.microsoft.com/en-us/library/823z9h8w.aspx Unfortunately this doesn't work for me. It seems you need a CLR application to have that. Is there any way to do something equivalent for pure native applications
-
- Linking within Visual C++ Express IDE
by Kelly
- 1 Replies
- Last post
by crescens2k
- I'm sure this question has been answered before but i've spent the last 45 minutes beating my head against the desk trying to figure it out....
How do i link to a .dll file from withing the visual studio express development environment I have no issues with the command line but for some reason i can't seem to find it.
In visual stuiod 6.0 which was the last version i have used i was
-
- mangled name
by Shouvik
- 14 Replies
- Last post
by Holger Grund
- Is there any API to retrieve the address of a method (private/public) using the mangled name. the method is supposed to be a class member.
we can know the mangled name from the .map file in VC++ 6.0
Please also suggest a method of using this in GCC.
-
- Bug in C++/CLI call to String::Format passing an IFormatProvider in generic function
by eldiener
- 2 Replies
- Last post
by eldiener
- Attempting to call String::Format, using the overload which takes a System::IFormatProvider as the first parameter, fails when the third parameter, a params array is a generic type. When not using a generic function, and therefore a generic type as the third parameter, the same call to the overload succeeds. Header file TestCode.h:
Code Snippet
#pragma once using namespace System; name
-
- Runtime library error
by ojcn
- 1 Replies
- Last post
by Marius Bancila
- I'm using Microsoft Visual C++ .NET 2003, and I'm developing my own program. I get an error that only says: "Runtime error! Program: my_ program This application has requested the Runtime to terminate it in a unusual way. Please contact the application's support team for more information" I do not know how to recover it because I do not have more info. Could you help me Thanks
-
- Upgraded project from old vs.net to vs2005 gives following error any suggestions?
by snay
- 2 Replies
- Last post
by aao123
- C:\Program Files\Microsoft Visual Studio 8\VC\include\iosfwd(343) error C2039: 'wmemcpy_s' : is not a member of '`global namespace''error C2039: 'wmemcpy_s' : is not a member of '`global namespace''
-
- Purpose of warning C4793: 'virtual-call thunks are native with /clr' ?
by Werner Siemes
- 4 Replies
- Last post
by Werner Siemes
- When compiling with /clr, simply taking the address of a virtual function with native calling convention triggers warning C4793: 'virtual-call thunks are native with /clr' : causes native code generation for function ... See code snippet below. I would appreciate if anybody could explain, why this warning is given. What is the purpose OK, when calling through a pointer to that function, double th