I'm trying to figure out how i can find the path to my program that I'm running. eg. if the program is in c:\myprog.exe, then the variable would be "c:\myprog.exe"
I know how to do this in C++ with argc and argv. then, all I need to do is take the value from argv[0]. However, my...
I'm writing a program that needs to be able to connect to an Access database. Does anyone have any suggestions as to where I can get information regarding this? I've done a lot of work with Access using ADO in VB, but my program that I have is written in C++... Thanks
Hello. I have an app that uses a lot of bitmaps... Is it possible to have a dll file that stores the bitmaps and allows me to import the images in my main program? If so, how do i go about doing it?
thanks in advance
thiefmaster
Hi. I have a menu and a status bar in my program. I found this article on the net -> http://www5.zdnet.com/pcmag/pctech/content/15/04/pp1504.001.html <- which showed how to make it so that when you went over items, it would update the status bar accordingly. The only problem with this code is...
my only problem was that I was stupid and didn't include <richedit.h>... slight oversight on my part... I had to read through a japanese website and look at only the code to figure it out... :)
maybe this will help.
Hi. I'm trying to figure out how to antialias a font so that it looks right in comparison to the rest of my bitmap. Here's the code that I'm already using:
bitm = LoadBitmap(hInst, MAKEINTRESOURCE(IDB_BITMAP2));
GetBitmapDimensionEx(bitm, &size);
GetClientRect (hDlg, &rect);
hdc1 =...
I figured out how to display a rich edit box and to get my text in it superscripted, but I ran into another problem. How can I make it so that the superscripted text is not cut off? As it is now, you cannot see what is in superscript.
I've already adjusted the control's editing rectange by...
1. Type your main program and save the file in a directory.
2. Create the project file in Visual C++.
a. File. New...
b. Win32 Application. Click Next.
c. A new window will open with properties for your new project. Select "An empty project" and click finish.
3. Add your program...
i had written myelements2[i] = myelements[i], but forgot to enclose it by the code TGML... :)
I needed to have an array that was only as large as it needed to be because it is a class... If i remember from when I did a sizeof, each one is around 100 bytes (i think)... therefore, if it has 100...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.