Click here to Skip to main content
Page 1 of 49
Page Size: 10 · 25 · 50


Tag filtered by:  C++/CLI [x]
Question 13 May 2013   license: CPOL
I am stucked in a problem assigning a string, converted by using stringify, to a character pointer. It seemed that the character pointer(char * particleVS ) is taking only first 256 character of the string. My working in 64bit platform. Also the same code works fine for 32bit platform. I...
Catalog 12 May 2013   license: Commercial
Unsurpassed Documentation Comment generation and updating for C#, Visual Basic, C++/CLI, C++, C, Java and UnrealScript code. Keep your comments readable and in sync with the code with a minimum of effort. Plus other coding utilities.
Catalog 11 May 2013   license: Limited Time Trial
IncrediBuild is an easy-to-use platform for accelerating Windows-based processes through advanced Grid Computing technology. IncrediBuild speeds up Visual Studio and make based code builds as well as data builds, scripts and applications.
Article 10 May 2013   license: CPOL
tracking faces and recognizing them
Answer 9 May 2013   license: CPOL
Hi Uday,First of all, as far as I'm aware there is no such function as ReadPrivateProfileString. The function is GetPrivateProfileString.Secondly, both that function and WritePrivateProfileString, as MSDN says, are "provided only for compatibility with 16-bit Windows-based applications." ...
Answer 9 May 2013   license: CPOL
You may find many articles about, here at CodeProject[^]
Question 9 May 2013   license: CPOL
I need to save some data from a dialog like height and width but i don't know to how to do it using ReadPrivateProfileString and writePrivateProfileString.can i get any example regarding this or any article how to save the settings in INI file.Regards,Uday.
Tip/Trick 7 May 2013   license: CPOL
This tip/trick discusses about hosting a Windows Form user control in an MFC dialog box and View windows.
Answer 6 May 2013   license: CPOL
Have a look at "Bit fields in C#"[^] question at Stack Overflow.
Question 6 May 2013   license: CPOL
Hi i have this struct in C++,how to get an equivalent struct in C#typedef struct{ BYTE a :4 ; BYTE b :4 ; BYTE c :4; BYTE d :4 ; BYTE e :4; BYTE f :1; BYTE g :1; BYTE h :1; BYTE i:1; BYTE j :4 ; BYTE k :4 ;}demostruct;
Answer 6 May 2013   license: CPOL
it is a thread issue. Be care to launch your app in a separate thread.
Question 6 May 2013   license: CPOL
Hi,I am developing C++/CLI Plugin for Third party software which supports only c++.My C++/CLI plugin is working as interface between this third party software and my already developed c# code.C++/CLI calls C# GUI API .My C# code generates form as follows:if (mTestUI ==...
Question 3 May 2013   license: CPOL
Hello Everyone.. My question is: How can I design a form like i want, meaning I want to make this form (compiled with Visual Studio C++/CLR) new, like i want, modern, beautifull.. but I cant do this with visual studio 2008... I can create just a form that is like Windows XP theme.......
Answer 3 May 2013   license: CPOL
You can do it by doing some really thoughtful, beautiful design and development work, based on beautiful experience. The common recommendations cannot fit in a Quick Answer, but please see some of my past answers:GUI Apperance - C#.Net [in brief],GUI Apperance - C#.Net [more detailed],Code...
Catalog 2 May 2013   license: Commercial
Help authoring tool. Create CHM help files, manuals in PDF, Web help, RTF files, QtHelp, JavaHelp, EPUB and MOBI and even publish to WordPress. WYSIWYG editor with spellchecker and styles. Screenshot capture and image editor.
Article 1 May 2013   license: CPOL
My journey to migrate pInvoke code to C++/CLI
Question 30 Apr 2013   license: CPOL
I am writing a code where I am enumarating all jobs in printer spooler and getting JOB_INFO_4 (http://msdn.microsoft.com/en-us/library/windows/desktop/dd145022(v=vs.85).aspx[^]);if (::EnumJobs(hPrinter_, 0, 1, 2, pBuffer, bufferSize, &sizeNeeded, &numJobs) == 0) { //DEVMODE...
Answer 29 Apr 2013   license: CPOL
you only need to call the c-func in a member function. But you better do some error checking around it.If you link the dll with "delayload" you will get some startup benefit.
Question 29 Apr 2013   license: CPOL
Hello,I have a C function without a class. its just a function in a header file.I want to expose it as managed code, so i am creating a new C++ file which hadextern "C"{ #include "cfile.h"}public ref class managedClass{ public: ///// I want to expose the...
Question 29 Apr 2013   license: CPOL
Hi Guys!!I'm beginner in Visual C++, so I want your help.I wrote simple application, which need database (PostgreSQL). The source code in c++ is ok,(I hope so :)). In this application is DataViewGird which should connect to database and show me rows and column, but after compilation...
Question 25 Apr 2013   license: CPOL
Hi,I want to do the operation of check disk through program.. Is it possible?If yes, How can it be done ?If no, How does backup softwares does this operation? Is there any alternative method?Thanks
Answer 24 Apr 2013   license: CPOL
Have you read http://msdn.microsoft.com/en-us/library/windows/desktop/ff468901(v=vs.85).aspx[^]?
Answer 22 Apr 2013   license: CPOL
Whenever you get an error that says "inaccessible" it means that you are attempting inter-class access of either data or a method that is protected from that type of access.The target class (the one you are trying to access) has an object marked "private" or "protected" and you are trying to...
Question 22 Apr 2013   license: CPOL
I need to transfer data from treeView1 control to some .txt file.I am using streamwriter for creating file from System::IO..This is how treeView looks:http://postimg.org/image/pwnc4s01v/[^]And here is code , which won't work, i tried to transfer from Private only to txt first then i...
Answer 21 Apr 2013   license: CPOL
Posted to remove from the unanswered list.The OP was trying to call a private function from a secondary form. Changing the accessibility to public answered his query. See the comments.
Question 21 Apr 2013   license: CPOL
I need to send some data from Form7 to From1.In Form7 you eneter text in textbox and click button okwhen Form1 load it will show text from Form7 in one lalbel called class_name_lbl..Here is code for FORM7:private: String^ class_name() { ...
Answer 21 Apr 2013   license: CPOL
Inno setup - free, power and simple.www.jrsoftware.org/isinfo.php[^]
Answer 21 Apr 2013   license: CPOL
I use Microsoft's ClickOnce (the Publish feature in Visual Studio) if my users are all on a local area network or have access to a web server. Otherwise, I use the free InstallShield Limited Edition software that owners of Visual Studio 2012 can download to create a setup program on a USB Flash...
Answer 21 Apr 2013   license: CPOL
Use Boost library for serialization.// create and open a character archive for output std::ofstream ofs("filename.txt"); // create class instance TreeView *tree = new TreeView(); // save data to archive { boost::archive::text_oarchive oa(ofs); //...
Question 21 Apr 2013   license: CPOL
Which software should i use for making installations, any suggestion?TNX!
Question 21 Apr 2013   license: CPOL
I need to save all text from TREEVIEW to TXT file, anyone help..I made StremWriter , but i don't know how to read all text from treeView?TNX!
Answer 18 Apr 2013   license: CPOL
I don't normally do anything from C# to C++ (I just stay 100% C++). Usually debug assertions in that have to do with handles and stuff.Looking at that file, on line 21 I see the followingAFXWIN_INLINE HINSTANCE AFXAPI AfxGetInstanceHandle() { ASSERT(afxCurrentInstanceHandle !=...
Article 18 Apr 2013   license: CPOL
This is a printing example for all who program in C++/CLI.
Answer 18 Apr 2013   license: CPOL
It might be easier to create a C++ application that directly uses the DLL and debug that application using the native debugger. It might be a console application that just call same code that would be called when you click on the buttons in C# application.Have you enabled debug information...
Answer 17 Apr 2013   license: CPOL
Hi,you should use WinDbg Quick-start-to-using-WinDbg
Answer 17 Apr 2013   license: CPOL
Make the Native C++ workspace as the startup project.In Release mode, disable optimization from Project -> Properties -> Configuration Properties -> C/C++ -> Optimization.Set the break point and press F5.When it asks for the executable, browse to the EXE that loads this DLL.
Answer 17 Apr 2013   license: CPOL
I got the method from here.http://stackoverflow.com/questions/57840/how-to-attach-debugger-to-step-into-native-c-code-from-a-managed-c-wrappe[^]but i want to fix the exception , i am trying .
Question 17 Apr 2013   license: CPOL
i am writting a program using Native C++ as dll , C++ CLI as a wrapper and C# for the UI. When I build it in Debug mode, it works fine , but in Release mode it throws an Access Exception. what's worse , when i debug it from C# code,i could not debug into the CLI code,much less the Native C++...
Answer 17 Apr 2013   license: CPOL
It's not automatic in C++/CLI. You have to set it up manually. Start by Add New Item, Utility, Configuration File. That will create the app.config file in your solution. It should also open the app.config xml file in the editor window. Unfortunately, there's no nice editor, but the intellisense...
Question 17 Apr 2013   license: CPOL
I have a solution with a c# project, Managed c++ and Native c++.I call a function in the native c++ which hasAfxBeginThread( Start_new_child_process, (LPVOID)Setting, NULL, 0, 0, NULL ...
Article 17 Apr 2013   license: CPL
A brief introduction to a C++ String Tokenizer implementation
Answer 16 Apr 2013   license: CPOL
Here is the idea: who needs MDI, ever? Why torturing yourself and scaring off your users?Do yourself a great favor: do not use MDI at all. You can do much easier to implement design without it, with much better quality. MDI is highly discouraged even by Microsoft, in fact, Microsoft dropped it...
Question 16 Apr 2013   license: CPOL
i have this code in c++ windows form application... but it print blank page... how to fix this?what im doing wrong?#pragma endregion // Declare the PrintDocument object. private: System::Void Button1_Click_1(System::Object^ sender, System::EventArgs^ e) { ...
Answer 16 Apr 2013   license: CPOL
You can, but… do yourself a great favor: don't go there, don't waste your time. If you want to use .NET at all, you will much easier migrate to .NET completely, compared to a mixed-mode project with MFC.If you really want to do it: use Windows API SetParent:...
Question 16 Apr 2013   license: CPOL
HiI have a project in Visual Studio 2010 and my solution explorer have two project, the first project is a MFC(Main System) and the second is a C++/CLI(Sub System). I have Windows form from C++/CLI project (second project) and I want call it from MFC project (first project),But I want to set...
Answer 14 Apr 2013   license: CPOL
Thanks for everyones help. heres my solution.#include #include #ifdef WIN32FILE *popen ( const char* command, const char* flags) {return _popen(command,flags);}int pclose ( FILE* fd) { return _pclose(fd);}#endifint main(int argc, char* argv[]){ char psBuffer[128]; ...
Answer 13 Apr 2013   license: CPOL
you can also use this below C/C++ code #include #include #include using namespace std;int main(){ //set up our variables and buffers. DWORD dwType = 0; wchar_t szVersion[1024] = {0}; DWORD dwDataSize = 1024; HKEY hkeyDotNetVer =...
Answer 13 Apr 2013   license: CPOL
Easiest way for you would be to use batch script, since you are not so well versed with C/C++so i would suggest you to copy/paste below lines to notepad, save it as .bat and execute.@ECHO OFF@reg query "HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727" /v Version@if...
Question 13 Apr 2013   license: CPOL
Hey guys, this might sound like an absolutely stupid question, but how can I type cast a variable of type DWORDLONG to integer.Typical DWORDLONG variables can be found in a structure:typedef struct _MEMORYSTATUSEX { DWORD dwLength; DWORD dwMemoryLoad; DWORDLONG...

Page 1 of 49
1 2 3 4 5 6 7 8 9 10


Advertise | Privacy | Mobile
Web04 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid