Search:
Type: Posts; User: daddy8ball
Search:
Search took 0.05 seconds.
-
I'm trying to get a binary value from the registry. I am missing something here. Can anyone help?
//Assume key is open.
DWORD cbData = sizeof(int); //This is probably wrong.
DWORD type =...
-
Why does this work???
if( fFile != NULL )
{
int len = iPos+iLen;
char* buf = new char[fileSize];
fread( buf, sizeof(char),fileSize, fCurrentFile );
fwrite( buf,...
-
I am jumping through hoops here trying to do something I imagine would be relatively simple. I am trying to insert
some text at a specific location into an html file. For instance, immediately after...
-
April 30th, 2002, 05:40 AM
That sounds pretty good, but is it 'better' than just decaring a gobal pointer to the class?
-
April 29th, 2002, 10:22 AM
I have a static LRESULT CALLBACK DialogProc function which is called from my class like so:
void CMyClass::DialogBox()
{
INT_PTR res;
res = DialogBox( _Module.GetModuleInstance(),...
-
April 26th, 2002, 11:17 PM
Hey...I used a static stl map today at work. I am pretty proud of myself. In all the schooling I have ever had, in all the c++ books I have ever read, I have never seen the like. Go ahead gurus and...
-
April 25th, 2002, 07:17 AM
>> "Most of the Windows API callbacks offer this feature by having a "user data" which will arrive as one of the function parameters of the callback, you can then typecast this user data into a...
-
April 24th, 2002, 02:59 PM
Phillip's suggestion to use scope operator fixed the problem. But now I am having a whole new set of problems.
The whole reason I wanted to incorporate that particular function ( DialogProc ) into...
-
April 24th, 2002, 02:39 PM
You are the man!! Thanks! :)
-
April 24th, 2002, 02:29 PM
No matter what I do in the .cpp file, nothing compiles. I either get an unresolved external symobl or the
program no longer recognizes basic Win32 dialog box functions.
If I do this:
// In...
-
April 24th, 2002, 01:50 PM
This is often posted question on codeguru. It has been answered many times. I know the answer to my question.
I need to declare my LRESULT CALLBACK funcion as static. Well, I do but it still doesn't...
-
April 23rd, 2002, 02:21 PM
You guys, Alex & Paul seem to know quite a bit. Does this come from reading a lot of books? Experience? Going to
a really good college? Just being super smart? I guess what I'm getting at is: How...
-
April 23rd, 2002, 01:03 PM
Thanks! Finally, someone who knows what the hell I'm talking about. How, though, do I add RT_DIALOG
to the .exe file? I am trying to do this within a .dll. Hell, is this even possible? I haven't...
-
April 23rd, 2002, 10:46 AM
Here's what's in the resource file....
#define IDD_DIALOG1 203
Here's where I create the dialog..
INT_PTR res;
res = DialogBox( GetModuleHandle(0),...
-
April 22nd, 2002, 02:19 PM
I need to create a dialog box in a non MFC dll. Does anybody have any clue at all on
how to do this? Seriously, I've looked at examples on MSDN, they are all using
MFC. I need win32 dialog in a...
-
April 22nd, 2002, 12:17 PM
I am attempting to create a dialog in memory using a dialog template in a Win32 IE Toolbar control. ( a .dll )
I have pretty much lifted the source code straight off of MSDN, but when I invoke the...
-
April 19th, 2002, 01:34 PM
Thanks a lot guys. Really appreciate your help! What it was an OLD version of one dll and the WRONG build of another .dll with completely different settings. A lot of trial and error finally fixed...
-
April 19th, 2002, 11:02 AM
Paul M.
You are current resident Guru on this thread. I suspect a configuration error. Off the top of your
head, anything it might be? It seems that it registers correctly in debug but NOT in...
-
April 19th, 2002, 10:49 AM
I am thinking it has something to do with the ReleaseMinDependency build. That screws everything up.
What exactly is the difference in the registry ( if any ) that these builds will generate? What...
-
April 19th, 2002, 10:33 AM
What are you talking about??? Can you give me an example of a command line that would work?
-
April 19th, 2002, 10:00 AM
App is IE toolbar button.
I build app in debug & it works good. ( Toolbar button show up on IE toolbar. )
I build app in ReleaseMinDependency. ( No friggin toolbar..must not be registered...
-
April 17th, 2002, 01:46 PM
Not really programming questions, but I figure someone here might know the answer:
Is it possible to change the default system tray icon in a given application. For instance, can you change
the...
-
April 15th, 2002, 06:15 AM
>>No offense, but it sounds like you aren't too familiar with Windows basics.
No offense taken. However, I usually work in an MFC supported environment. I am very
familiar and confortable in...
-
April 12th, 2002, 10:30 AM
Sigh..I have a *NON-MFC* and I need to add a dialog, add buttons, edit boxes etc on this dialog and so on and so forth. I really don't have the
faintest idea on what functions to use, call, lookup,...
-
April 12th, 2002, 07:25 AM
This is regarding a previous post ( Crawling around office whimpering..etc. )
What is the difference between
char* base = new char(20);
and
char* base = new char[20];
Declaring base the...
|
Click Here to Expand Forum to Full Width
|