MAN OF THE HOUR!!! I LOVE YOU!!!!! Haha sry if you are the woman of the hour it doesn't say. Anyways replaced
stringList = (char **) malloc (1);
// and later
char **temp = (char**)...
Type: Posts; User: xixpsychoxix
MAN OF THE HOUR!!! I LOVE YOU!!!!! Haha sry if you are the woman of the hour it doesn't say. Anyways replaced
stringList = (char **) malloc (1);
// and later
char **temp = (char**)...
I didn't PRETEND to know anything. I know most of the standard library functions but I took a C++ course alongside a Java course that took most of my focus. I am still in school and have not reached...
I think it has to do with the fact that the DarkGDK is really more based on C than C++. It is built based on Windows APIs and the Directx toolkit. I can use c++ classes and new and delete keywords,...
I know that the c standard library is working; I have other functions that rely on it and they are working. The conflicting library is libcmt.lib. I definitely have use of malloc, realloc, free, and...
Here are the specific libraries that get ignored with this toolkit:
libcmtd, msvcrt, atls
I suppose that they feel that their toolkit contains enough functionality to deal with whatever...
I do know alot about the c++ library... <string> does not seem to be at all compatible with the graphics library I am using, DarkGDK. I cannot use it because under Visual C++ I have to omit libraries...
Hello guys!!! It's been a long time since I have been here but I ran into a problem today. I am trying to populate a list of strings (I am not using the string library here, pointers. I know strings...
??? Ok, now im really confused. i changed my function to the call you said to, but it still wont work. I'm really lost. maybe i'll try to read up on it tomorrow some more?
I am trying to write a dll file with visual studio 2008 and i am having a problem. here is the source code for the dll:
#include <windows.h>
#include <winsock.h>
BOOL WINAPI DllMain...
i got it... i didnt realize that i needed to pass it as "(LPBYTE) ®_value" and not "(LPBYTE) reg_value". Thanks!
I think im still missing something... is it right to cast reg_value to LPBYTE to pass it in, or does reg_value need to be a pointer? I just can't understand why this is goin on...
reg_value is declared as a DWORD, not a float. I want to get 16dec into the variable reg_value which should work. Actually in my program I did use the fourth parameter and I am getting the correct...
Ok, so i can get the registry to give me a string, but i have a problem with getting a dword value. Here is an example of what i am trying to do:
DWORD reg_value, dw;
if (RegQueryValueEx...
Sry to bump my own post, but i just found this on theForger's Win32 API Tutorial site:
So this is an inaccurate statement. just wanted to let u guys know that.
Ok. I made some changes, just to get the window to show up right. The changes i made caused the window to show up, but now it wont move, minimize, or close for me w/ the DefWindowProc as it should:
...
That had no effect. i actually omitted it because I was having a problem with the Dialog Procedure. If it helps at all this also happens when I use modal dialogs created with ResEdit. I dont...
Ok, so I recently took up windows programming again and wanted to create a simple modeless dialog. I downloaded Resedit to make the file and am using Visual C++ Express 2008 to compile and debug the...
You know, i didnt check to see if the segment registers are set up right. I suppose I should've done that though. Are we guessing that is the problem then? I'll try that.
Would you happen to be able to point me to a copy of Turbo C++? I searched it on google but i can't seem to find the latest version. My search only turned up Turbo C 2.something. Oh, and would the...
The assembler is now generating the 16-bit code that I want and a test program ran successfully, but this program will not:
C source (called kernel.c):
__asm (".code16");
extern void...
I need a compiler / linker that will put out 16-bit binary images to produce an operating system that i am writing. I was using djgpp, but from what i understand it's binaries will only operate...
Well, I don't use MFC at all as I only have the express edition of visual c++, and i don't like to use resource files to do the work; i enjoy being able to create on the fly. Is there a class for a...
I was wondering if there is a Window class for making window tabs, like the tabs in the Display pane in the control panel. i want to add multiple tabs to my window, but not with MDI, just add them as...
Here is how my window is created:
bool AbstractWindow::Create (char *name, int x, int y, int width, int height)
{
_hwnd = CreateWindowEx (0, _className, name, WS_OVERLAPPEDWINDOW, x, y,...
I have a question about sending messages using ::SendMessage (). I am trying to communicate between windows using it like so:
void FirstWindow::SendNotify (unsigned int notification)
{...