Answer Questions
mikey_from_ireland BEGIN error in rc file
After I change something in my dialog box or within my resource and save it, I get 3 erros in my resource file. It turns out that I get some extra code added when I save my resource file. CODE : The part in dark green is added every save. IDD_MESSAGE_DIALOG DIALOGEX 0 , 0 , 164 , 248 STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_SYSMENU FONT 8 , "MS Shell Dlg " , 0 , 0 , 0x0 Why does saving my resource always add ...Show All
xBrioUser Error while compiling (C2664)
Hi, I have this piece of code which I am trying to compile in VS 2005. ///////////////////////////////////////////////////////// TCHAR * strGuid = NULL; UUID myUUID1; UuidCreate( &myUUID1); UuidToString( &myUUID1, &strGuid ); ////////////////////////////////////////////////////////////// This compiles OK in VS 6.00 but it gives an error in VS 2005 (The project setiings has _UNICODE & UNICODE defined). An ...Show All
JimPan LNK2019
Hello, I am getting these horrible Link errors. I have seen some information from other threads, but I am not able to reach those theads today. I get an error message when i do a search for LNK2019... AuditLogDlg.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class ATL::CStringT > > __thiscall CEFTDBRowSet ::GetError(void)" (__imp_ GetError@ $CEFTDBRowSet@VCEFTAuditLog@@@@QAE AV $CStringT@DV $StrTraitMFC_DLL ...Show All
Larry McCay system() command
Does VC++ support a system call command that is similar to system() in Unix If so, what is it Pls email your reply to lenaserg at hotmail.com The following thread may be helpful: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=384296&SiteID=1 ...Show All
frank_wang how to know the window type?
Hi forum members I have a doubt, how i can get the window type from a window handle , i mean to know if the owner of a window handle is a dialog box, button, edit text, listbox or static. Thank you This might be a good place to start: http://msdn.microsoft.com/library/default.asp url=/library/en-us/winui/winui/windowsuserinterface/windowing/windowclasses/windowclassreference/windowclassfunctions/getclassinf ...Show All
Brian Brashear Can't use resource view to edit resource in VC8
When I double click the rc file to edit the resource, the IDE will inform me the "fatal error RC1107" message. Even the resoure file of newly created project by VC8 are not able to be edited. These resource files are valid since I can edit them in VC7. That's a wonderful feature to edit the resource in exe. I haven't heard of that before. It seems that there're still much features I don't know yet, hehe ...Show All
Dogs-R-us Can't use resource view to edit resource in VC8
When I double click the rc file to edit the resource, the IDE will inform me the "fatal error RC1107" message. Even the resoure file of newly created project by VC8 are not able to be edited. These resource files are valid since I can edit them in VC7. That's a wonderful feature to edit the resource in exe. I haven't heard of that before. It seems that there're still much features I don't know yet, hehe ...Show All
Tommyv74 Repedative Syntax error : missing '=' and ')' and ';'
I wrote this section of code here today and everything went bad and i dont have a flipin clue why! More than likely i am simply missing a very minuet error probably from staring at the same lines of code for the past 7 hours. these are the error messages i get ONLY in the section that i just wrote: in_camera.cpp(453) : error C2143: syntax error : missing ';' before ')' in_camera.cpp(454) : error C2143: syntax error : missing ';' be ...Show All
Patricio Fernandes Error C2228;
I am trying to concatenate a first name and last name which are entered seperately. I have had luck with using integers, but not names :(. I want to enter first name, then last name (seperately) then output the names with a space between them (output the whole name). Here is what I have #include "stdafx.h" #using <mscorlib.dll> using namespace System; int _tmain() {   ...Show All
Texas2Wheeler Wrapping Unmanaged Library - Options.
Hello, I'm trying to reuse an existing C++ audio synthesis library ( STK ), from a WPF application written in C#, with a GUI designed in Sparkle. The way I did this was to recompile STK as a CLR library, with wrapper ref classes for each class that was accessed by the C# front end. All other build settings were identical to the native dll build of STK. The GUI-to-STK-wrapper-classes interface is not very chatty. However, going by the clicky aud ...Show All
Daniel Moseley Non standart shape of a form
How can i create a form with a shape of a circle or other nonstandart shape (with mask or w/o it). And not only a form - Buttons and another controls too. How i can now create a non-standart shaped button on my form Alexxey wrote: How i can now create a non-standart shaped button on my form See http://www.codeproject.com/cs/miscctrl/TransButtonNetDemo.asp ...Show All
mthendricks 64bit manifest problem / side by side issue
Hi all, I have a 64bit app that refuses to start, it complains about common controls supposedly amiss (in the event log. the error message popping up when starting the app is something completely useless, of course. "...aplication configuration is incorrect...."). It's built from the same source tree than the corresponding 32bit app, which uses some common controls functionality, however, it used to work and now it suddenly doesn't any more. Any ...Show All
Miguel A. Nievas CFrameWnd::OnSetPreviewMode ASSERTs in VC 2005 but not VC 6.0
I have a VC++ 6.0 MDI project that uses a class derived from CPreviewView to provide some mildly enhanced Print Preview functions. The class is invoked according to the MSDN documentation by calling DoPrintPreview. In Visual Studio 2005 the program asserts in Debug mode at the last line of this fragment from winfrm.cpp: void CFrameWnd::OnSetPreviewMode(BOOL bPreview, CPrintPreviewState* pState) { ...etc... if (bPreview) { // Ente ...Show All
Ani D. need help with c++
hi, im having trouble with getting a certain program to work. Its probably a really simple problem, but i just can't get it to work! I'll seriously pay someone like $5 to do this in c++ by tonight =D just give me yer paypal! white a program for... (Airline Reservations System) A small airline has just purchased a computer for its new automated reservations system. You have been asked to program the new system. You are to write a program to as ...Show All
Sergio_CL Mental Block - CString to Char
I'm using MS VC++ 6.0 to create a data import tool to go from a text file into a specialised database. Anyway, I have a bunch of data records with their values stored in CString arrays, but I need to pass one of those fields as a char into a function. I'm just having one of those days where I know the answer is simple, and I will kick myself after (picture may be provided as evidence), but I just got a mental block right now. Any help would b ...Show All
