Codeplug,
The memory is not actually leaked, I forgot to include the free statement.
The edit box is actually a text editor window. I am modifying an open source text editor for my own purposes....
Type: Posts; User: josh_d
Codeplug,
The memory is not actually leaked, I forgot to include the free statement.
The edit box is actually a text editor window. I am modifying an open source text editor for my own purposes....
Hi all,
I am new to windows programming (and not much better at programming in general) and am having a problem.
This is the readers digest version of my code (hopefully I havent left out...
No, Its NoteXPad. Its a pretty good little engine.
On the off chance that anyone is interested, I had a flash of inspiration last night, but its sort of a hack.
Im setting up the keystrokes Im looking for as Accelerators in the resource file.
...
Hi All,
I am modifying an open source text editor for use in our test department. We have script files that are a nightmare to interpret and create. I want to modify a text editor to display and...
Hi All,
I have ported a text editor called NoteXpad2 from MSVC to a Dev-C++ project. It works fine, but now im tweaking it for my own nefarious purposes (well, maybe not so nefarious, but its a...
That did it, thanks anon.
Im tweaking an open source Text editor to let me view some testing scripts in a readable format without changing their actual content.
I didnt realize a unicode flag...
Hi all,
Im having problems with the below code. I am trying to add a new menu option to a menu. With the below code I get the menu, but its name is 4 squares (the unprintable control characters ...
Wow, this was a HUGE learning experience for me. I finnaly got it to compile. My thanks to the many folks who helped out.
In the end it came down to something relatively simple. _WIN32_IE is...
This is related to my previous post:
"Dev C++ linker error: undefined reference"
But I have progressed past those symptoms and figured I should start a new thread.
I have imported an MSVC...
No sir,
Win2k pro.
One last piece of probably useless information.
I can explicitly typecast it by:
(DWORD(*)(void*))glLogoDrawThread
and I then go on my merry way to the the "SetLayeredWindowAttributes@16" issue...
Hold the phone. This is just getting more and more bizzarre.
I narrowed the offending parameter to glLogoDrawThread through trial and error. I passed zero for this and it worked, only now the...
Thanks Ken,
That was indeed the solution.
Thanks also for the link to CreateThread information. I dont have a solution yet, but this is my first time working with threads, so thats not...
You probably cant help much without info on the line in question...
glData->hThread = CreateThread(NULL, 0, glLogoDrawThread, glData, 0, &glData->dwThread); // create the rendering thread
...
I didnt like the solution, because it will mask any future changes to this system include, but at I needed to try something.
I copied
BOOL SetLayeredWindowAttributes(
HWND hwnd,
COLORREF...
This is the first time Ive done any programming since a few classes 6 years ago, so the answer is likely to be pretty basic.
I am compliling a Text editor in Dev C++ and getting the following...