Type: Posts; User: bioHzrdmX
Search took 0.01 seconds.
November 12th, 2011, 12:22 AM
I'm writing an small library to wrap some Win32 functions for windowing, and i'm having an small issue with modal 'dialogs'. I've created a wrapper for the basic windows (CWindow) and derived...
November 9th, 2011, 01:45 PM
Thanks Paul, I will try with your method.
So it goes like this: get everything as TCHAR, store and then cast/parse as required. I guess this is the way in which MFC does it.
Again, thanks for...
November 9th, 2011, 01:16 PM
I've read the ODBC section of the WinSDK back and forth and never got this clear, so thanks again for your reply.
So it leads to another (and the last one, I promise) question:...
November 9th, 2011, 12:37 PM
I'm working on a set of classes to wrap some of the ODBC functionality (connection, statements and resultsets) on Win32 using VC++.
Connection and statements were pretty easy, the...
April 28th, 2011, 07:04 PM
Here's the code. :)
It was very hard for me to find out how to do this, there is a lot of information for C# and WPF but not so much for VC... I've also found a couple of interesting tutorials:
April 28th, 2011, 04:18 PM
This could be easily done even without using WPF :)
Just extend the non-client area into the client area (using DwmExtendFrameIntoClientArea) and drop a few owner-drawn or custom controls in the...
April 28th, 2011, 02:50 PM
I'm writting an administrative system for an elementary school (using MFC) that will connect to a database to store the student's data, payments, etc... The system will run on a Windows XP...
December 16th, 2010, 06:50 PM
MFC is one of the most powerful frameworks out there, it has a great set of classes to do a lot of things, and if you know how, you can expand them to do almost everything.
July 23rd, 2010, 06:17 PM
Hi! The font creation functions will *never* fail, because the system will return the handle to a font that is similar to the one you described with the fontfamily, pitch, width, etc... parameters...
July 23rd, 2010, 03:52 PM
Hi, the problem here is that your friend hasn't the runtime files required by VC executables to run. To fix this, simply go to the microsoft downloads site and search for 'VC2010 runtime...
July 22nd, 2010, 12:11 PM
Hi, sorry about the PM thing, i just forgot to turn it on :-)
Unicode may be a bit confussing for some people (it was for me) but once you learn how to interact with it, you'll be ready to work...
July 22nd, 2010, 10:46 AM
Sorry, i forgot the HWND parameter, i wrote that code on an MFC app so it just needed the string parameter (as Dadidum said).
To get the code working just change:
July 21st, 2010, 06:11 PM
It's because you're using Unicode:
Windows has two ways of managing characters, the simple, common form (char type) and another, more 'advanced' that supports foreign-language symbols, that used...
July 21st, 2010, 05:48 PM
Just an small example, this will retrieve your windows product name from the registry, should work with XP/Vista/7, just check how you must open the key and then read the value you want, i don't know...
July 21st, 2010, 05:34 PM
Everytime you want to get something from windows, you should add <windows.h> as it automatically adds all the headers from the sdk folder (installed with the vc++ compiler).
For registry functions...
July 21st, 2010, 05:14 PM
To check whether you have MSDN installed or not, simply hit F1 from inside the VS IDE, the help system will popup, just go to the Index tab and write RegOpenKeyEx, if the entry is found within the...
July 21st, 2010, 05:07 PM
Thanks for all your support!
Finally i got this fixed, and guess what... It was a faulty pointer in one of the base classes and a .h file not being update (it had the wrong class declarations),...
July 21st, 2010, 04:00 PM
Have you tried plain win32 API? I know is hard to get this to work for the first time, but i'm pretty sure you'll get a best result if you write your own code.
Check the MSDN (or the VS docs if...
July 21st, 2010, 03:53 PM
Jajaja!! Thanks for the feedback, i'm pretty sure it's a bug from my own code, i'm checking every line to try to find the cause. Also thanks to VictorN, and to Paul McKenzie: i will try to leave the...
July 21st, 2010, 03:10 PM
Thanks for the reply, i'll try that but in the meantime, i've added a dummy variable below the m_rcMargins and voila! no more access violation, well, amost. Now i have a debug assertion on 'dbgrpt.c'...
July 21st, 2010, 02:45 PM
Hi everyone, i'm having a very strange and annoying issue on a code i'm working on, i've tried a lot of things but none of them has worked so any help will be greatly appreciated.
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!