Answer Questions
Ross Feickert error LNK2028: unresolved token (0A000019) "int __stdcall LoadString
Please help I try to acces the resurce file using LoadString. I recivede the error: Linking... ClaseImpl.obj : error LNK2028: unresolved token (0A000019) "int __stdcall LoadStringA(struct HINSTANCE__ *,unsigned int,char *,int)" ( LoadStringA@@$$J216YGHPAUHINSTANCE__@@IPADH@Z) referenced in function "public: void __clrcall AccesResurse::initResLabel(class System::Windows::Forms::Label ^,unsigned int)" ( initResLabel@ ...Show All
Anthony Tarlano error LNK2001: unresolved external symbol __CxxFrameHandler3
Hi, I am working on ODBC project migrating from VC 6.0 to VC 8.0. This project works fine for machine:X86. Now I want the same project work for machine:X64 also. When compiled this project for machine:X64 on VC 8.0(VS 2005) I see a Linker problem show below. ==================================================== sample.obj : error LNK2001: unresolved external symbol __CxxFrameHandler3 .\Debug/sample.dll : fatal error LNK1120: 1 unresolved ext ...Show All
Sachin Agarwal VS .Net 2005, how to disable intellisense...
Hi I am really frustrated with the performance of VS .Net 2005. This is because I always see at the bottom "updating intellisense..." and it uses 60% to 70% of CPU. How to disable this updating of intellisense... Please this is making Visual studio unusable. Thanks Chandra Hi, The same problem, but with one advantage, I can share the code. It is actually the open-source library ITK (www.itk.org). The funny th ...Show All
Bobmmp Mutual class denpencies
Is the feature Mutual Class Dependency no longer a standard ISO C++ e.g. class xxx1; class xxx2 { xxx1 r; ..... }; class xxx1 { xxx2 s; ..... }; MS C++ compiler version 12 does not compile the above code. This feature has never been supported in C++ (and it can't be). This has never been allowed by Standard C++ - you need to add an ind ...Show All
Greg.A Interop with Struct
If I have following class in C++. How should I declare the unmanaged code in C# typedef void * MQISDPCH; /* Connection Handle */ /* Information required for MQIsdp server connection */ typedef struct struct_SVRS { long portNumber; char ipAddress[MQISDP_INET_ADDR_LENGTH]; } MQISDP_SVR; /* Connect parameters - fixed length portion*/ typedef struct struct_CP { long version; long strucLength; /* Fixed length plus variable ...Show All
sqluser In VC++ 8, does "Disable Language Extensions" mean no __declspec?
I have been using VC++ 8 Express for the last day or so. Today I noticed the "Disable Language Extensions" in the Project Properties -> Configuration Properites -> C/C++ -> Language page. What does turing this to Yes mean for creating a dll file After removing all "__declspec(dllexport)" declarations, do ALL functions and classes get exported to the lib/dll, just as if you had put that on everything ...Show All
Brian Kinder Setting a Program Icon
I am trying to set a program's icon though the use of the this->icon statement. However, this only sets the program's icon in the title bar of the program, and doesn't set the icon for the executable itself. Is there a way to set the icon for the executable as well as the title bar Thanks. ps, I am using c++ 2005 express, and I am programming a managed app, but not using a windows forms application project. ...Show All
sparkplug array of characters function question
the code below worked on dev c++. then i put the c code into visual studio and i get the following errors: error C2143: syntax error : missing ';' before '[' warning C4091: ' ' : ignored on left of 'char ' when no variable is declared error C2143: syntax error : missing ';' before 'type' error C2143: syntax error : missing ';' before 'type' error C2065: 'pASCII' : undeclared identifier error C2100: illegal indirection error C2100: illegal indir ...Show All
Jørn Andre How to compile my C++/CLI classes in VC++ 2005 using Microsoft .NET framework 1.1?
This post is related to my previous post, http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=358605&SiteID=1 The problem that I had is the DLL which I builded in VC++ 2005 using .NET framework 2.0. Is there anyway to specified my output DLL is target for .NET framework 1.1 during compilation I am tried by adding app.config file to my project, by it would not work. My app.config file look like below: < configuration > < ...Show All
hariram_1975 modify 802.1x setting programatically for wired LAN
Hi, I am new to microsoft forum. I think this is not the right place to put new thread for asking networking issue. So any body can tell me where should I start new thread for asking the networking issues Well I m developing a DLL in VC++ which provides functionality to communicate with wireless devices(adapters). I m able to set the wireless user profile programatically but I don't know how to modify the profile on (wired)LAN specially 8 ...Show All
fhcole How to get the size of a double char pointer?
Basically, I want to get the size of a double char pointer, EG char **x; Not the elements of the individual arrays, but the actual number of elements inside the pointer. I don't want to use vectors or Strings either, I know how to do it that way, but it looks ugly. So if I could get some feedback on this, it would be appreciated. :-) You're right. Something like: int xsize = 20; char** x = malloc(xsize ...Show All
gchornenkyy Progress Bar assistance
I am new to using Visual C++. I used a Control box in the Resource view tab to create the progress bar in the dialog box. This puts all the information in one file. In another file, I want to update the same progress bar so that it looks like it is downloading. How do I do that I've tried everything I could think of which is not much since I am new to this and they don't work. For example: one file Progress.cpp: Member variable,m_pBar, is wha ...Show All
s_a_p_k_o_t_a What is the equivalent in Visual C++?
I wanted to convert a code from Visual Basic to Visual C++. I am seeing a code like this. Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "Comdlg32.ocx" Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX" What is the equivalent Using "MSCOMCTL.OCX" Any clue/Help Thanks, I believe that the following will work: #import <comdlg32.ocx> #import <mscomctl.ocx> You should lookup #import on MSDN to see ...Show All
KayKay1027 How to call a Dialog Box?
Hi! I'm new to VS and I need some help! I've made a main form and another (i'll use it as a dialog box). I have a Main Menu on the main form and I want to call dialog box (form 2) when I press menu item. I know where tu insert the call code but I dont know what code to use. Help!!! Another question: As for the cpp files included in the project....which one is the main one (is it the one with WinMain function ) Does this mean that I can't have ...Show All
DaVince GDI+ Display JPG
Hi all, I am new in Visual C++ and GDI+. I am currently using VC++ express to display a jpg file. I basically, copy from PSDK example and paste it on my program as follow: WM_paint: Image myImage(L"Climber.jpg"); myGraphics.DrawImage(&myImage, 10, 10); It didn't even compile. I am sure, I must have done something incorrectly or not doing something else in the first place. All other example I see in the internet ...Show All
