Type: Posts; User: Bob H
Search took 0.01 seconds.
July 17th, 2013, 11:48 AM
Setting the working directory fixed the problems. Thanks.
I guess it wasn't necessary when I was compiling with Visual C++ 6.
July 16th, 2013, 04:37 PM
When the file that my application saves is opened using right-click/Open with, there are many mysterious problems:
1) AfxMessageBox will not work (based on a small sample) from anywhere in the...
December 19th, 2012, 09:01 AM
I recently switched from Visual C++ 6.0 to Visual C++ 2008.
With Visual C++ 6.0, I used a callback method to get available font styles for a given font. I don't think that is working correctly...
December 7th, 2010, 09:45 AM
Thanks, I did the manual replace. With some other related changes, I got it to compile.
December 5th, 2010, 09:59 AM
#define long long __int64
typedef __int64 long long
Both produce compiler errors.
December 5th, 2010, 07:57 AM
I am trying to compile third party c code in Visual C++ (10 years old).
Long long data type is used extensively (thousands of times).
Example: PrintLongInteger(void *,char *,long long);
August 30th, 2008, 06:08 PM
I am using CMapStringToOb. Is it necessary to call InitHashTable(...) before inserting elements into the map? I don't know the size at that point in time.
This question was asked previously on...
February 14th, 2007, 02:29 PM
Is impossible for an application created in Visual C++ 6.0 to receive a "Certified for Vista" logo.
If so, what are the reasons?
Is one of them the inability to embed a manifest suitable for...
November 14th, 2006, 08:19 AM
I am still struggling with the first problem. You created a string using hex constants. How do I create that string if the code points are variables? In other works, how do I form an escaped hex...
November 14th, 2006, 07:31 AM
How do I go the other direction -- from a unicode string to code points?
November 14th, 2006, 06:59 AM
Thank you. I have been searching for days on how to do this.
November 13th, 2006, 04:38 PM
How do I convert a unicode code point into a UTF-16 encoded string in Visual C++ 6?
I believe there is a .net function called ConvertFromUtf32 which does what I want.
June 19th, 2006, 08:38 AM
All image formats (jpg, gif, png, etc).
I believe that GDI+ only comes with Windows XP. I don't want to have to dramatically alter my program and installation to simply get image dimensions.
June 18th, 2006, 07:50 AM
When I mouse over image files in Explorer, the dimensions of the image along with file size display in a tooltip popup.
Is there a simple command that will provide the dimensions of an image file...
October 13th, 2004, 04:48 PM
I want to allocate the heap size in Visual C++ using Project > Settings > Link tab. It seems like it is only possible to allocate the stack size using this screen. There should be a way to add /heap:...
January 13th, 2004, 11:54 AM
In using SetDIBits to assign an array of bitmap bits to an bitmap, is the array of bitmap bits automatically destructed when the bitmap is destructed or do both have to be destructed separately?
September 29th, 2003, 01:18 PM
I know how to do that. Thanks.
I got this Office XP menu code off CodeProject. I have posted on the forum associated with the code if this approach of excluding calls to the code at runtime will...
September 29th, 2003, 09:40 AM
I am getting runtime errors when the application runs on Window 95 machines like "... exe file is linked to missing export USER32.DLL: Track Mouse event".
I believe I can solve this by excluding...
September 29th, 2003, 09:11 AM
I want to conditionally compile sections of code if the Windows version is not Windows 95.
Am I correct in assuming that I can't use ::GetVersionEx?
Am I correct that #if (WINVER > 0x400) will...
July 21st, 2003, 11:12 AM
Do you have a link for this application? It does not turn up in a search on the internet or on Microsoft. Also, the Microsoft link is no longer valid.
I want to destroy it before the parent is destroyed. The toolbar has a very short lifetime on the order of a minute. It is a fly-out toolbar.
June 29th, 2003, 08:42 AM
How do I destroy a toolbar created with new operator?
Do I use the same technique as I would with a modeless dialog box -- call DestroyWindow() and create a PostNCDestroy with a delete this or is...
April 4th, 2003, 03:33 PM
I have seen several examples of tabs in a tab control that are indented from the left side
+--+ +-+ +------------
I can't find any commands that...
March 19th, 2003, 11:14 AM
Thanks. GetModuleFileName works.
It is odd that when I run the application from the developer environment I get long file names and when I run it by double-clicking on the project file, I get...
March 19th, 2003, 08:39 AM
How do I get the directory of the .exe application? It is not necessarily the current working directory because the project file may have been opened by double-clicking? I need to get a path for...
Click Here to Expand Forum to Full Width