00:00
00:00
Newgrounds Background Image Theme

CloudSavage just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

Programming Regs Lounge

715,548 Views | 15,737 Replies
New Topic Respond to this Topic

Response to Programming Regs Lounge 2006-09-23 13:21:03


At 9/23/06 09:59 AM, Elemento wrote:
At 9/21/06 05:20 PM, Jordan wrote:
At 9/21/06 04:26 PM, elbekko wrote: I dislike the For Dummies books =/ They always think I'm stupid. Tried reading one on C once.
Yeah, they do assume you are somebody who has only been using a computer for a day and don't even know how to open up a program :(
Yeah, its really anoying, and also, its likely that it doesnt really teach as much as a "real" book on programming.
My first programming book was "The C Programming Lenguage" excelent book, just excelent.

Wholeheartedly agree.

My first programming book was actually Visual Basic 3.0 for Windows
though I really never read it, I pretty much just followed the examples.

I'm working on a pretty cool project at school now, having alot of troubles though,
I'm making a remote control for windows media player and winamp on a pocket pc.
I've made everything work, it now plays, stops, pauses, sets to fullscreen mode, next previous, fast forward etc. but I have a big problem namely to retrieve the playlist!
I thought it would be pretty straight forward by just using the windows message queue to retrieve elements, text string by text string, but appearantly, they're using the ATL ListView control, which does some freaky stuff.
On the normal listbox control, you can just send LB_GETITEMTEXT to retrieve data so that one's simple, in listview they have a LVM_GETITEMTEXT which theoretically should work similar... but nooo, for some reason, it needs a pointer to a structure, now in plain C++, this would be simple, but problem is; I'm using C# which isn't a problem in most cases, BUT in C#, you can only use pointers to primitives, ie int *, byte* float * etc, but not structures. This would still not be a problem, because I could just point to a byte * an retrieve data "manually" from there since I know what the structure looks like, problem is; the field I want, is a LPSTR within the structure, which makes the whole scheme alot harder, so I started making a managed DLL in C++ to implement in my project, which would be the logical step. But then I encountered a new problem...
The linker complains about a missing entry point, stdcall_ malloc, so I changed it to new; new linker problem, missing entry point stdcall_ new. It seems they have forcibly removed the unmanaged memory allocation functions for some reason. So I thought I should start being clever, so I did this :

thestruct.lpName = "(tons of whitespace)";

to force the string to allocate some memory in stack.

Build->Run
Console output (client)
server : ELLO MOTO!
me : ELLO!
server : FLESH
me : PLAYLIST

Windows Media Player has encountered a problem and needs to close. We are sorry for the inconvenience.

And I was like " : / "

Oops, too long text? sorry to ditch you off topic, I just wanted to share :)


"no sound in ass"

Response to Programming Regs Lounge 2006-09-23 13:31:49


At 9/20/06 11:08 PM, kb-resin wrote: I just got Skype working so I can talk to my sister in france. Because I have it, I figured I'd ask you guys if any of you were interested in setting up skype and using it? If we get enough people we could always hold a conference.

I'm always in conferences :) (Well, kinda...)

Add JacNet, i forgot my old username which had about 30 of my contacts on...

Response to Programming Regs Lounge 2006-09-23 13:32:49


Nooooo!

I missed my 1000th post.

1001 post FTW!

Response to Programming Regs Lounge 2006-09-23 13:43:09


At 9/23/06 01:39 PM, Onnet wrote: R u shur?

Sure as one could be.

Response to Programming Regs Lounge 2006-09-23 13:50:56


At 9/23/06 01:21 PM, CronoMan wrote: LOTS OF LONG STUFF

Yeah, C# is wonderfull, until you have to start doing bizarre stuff becuase ms forgot that their apis should work 100% in their programming lenguage. But, well, except for that its worth coding in, specially when you get used to the OOP.

Response to Programming Regs Lounge 2006-09-23 14:48:41


alright. http://www.pastebin.ca is down. Is there any other place i can add code like that?

i forgot the other links...

Hello, from the past!

[ PHP: Main ]

BBS Signature

Response to Programming Regs Lounge 2006-09-23 22:01:56


At 9/23/06 09:33 PM, JesusCyborg wrote: Post 1337 is more important anyway

You're right but ya can't stay at 1337 forever

Response to Programming Regs Lounge 2006-09-24 13:01:49


At 9/23/06 09:33 PM, JesusCyborg wrote: Post 1337 is more important anyway

I should try to get a ban from my 1337th post to make me 1337 for longer.

P

Response to Programming Regs Lounge 2006-09-24 13:44:36


At 9/23/06 09:33 PM, JesusCyborg wrote: Post 1337 is more important anyway

I have a screenshot of that! =P

The image is too large too post apparently =/


"My software never has bugs. It just develops random features. " - Unknown

[ FluxBB developer | Quickmarks 0.5.1 | Strings & Ints - my blog ]

BBS Signature

Response to Programming Regs Lounge 2006-09-24 14:37:36


At 9/24/06 01:44 PM, elbekko wrote: The image is too large too post apparently =/

Then crop & shrink it

umm yeah

Response to Programming Regs Lounge 2006-09-24 14:42:29


At 9/24/06 02:37 PM, Jessii wrote: Then crop & shrink it

I meant in file size =/ Chopped the message part off now:

Programming Regs Lounge


"My software never has bugs. It just develops random features. " - Unknown

[ FluxBB developer | Quickmarks 0.5.1 | Strings & Ints - my blog ]

BBS Signature

Response to Programming Regs Lounge 2006-09-24 15:05:22


NOT FAKE.

Programming Regs Lounge

Response to Programming Regs Lounge 2006-09-24 15:11:00


At 9/23/06 02:48 PM, Momo-the-Monkey wrote: alright. http://www.pastebin.ca is down. Is there any other place i can add code like that?

i forgot the other links...

No, it's up

Response to Programming Regs Lounge 2006-09-24 15:11:45


At 9/24/06 03:05 PM, Jordan wrote: NOT FAKE.

Sure thing. > 300 posts just got deleted? =P


"My software never has bugs. It just develops random features. " - Unknown

[ FluxBB developer | Quickmarks 0.5.1 | Strings & Ints - my blog ]

BBS Signature

Response to Programming Regs Lounge 2006-09-24 15:13:26


At 9/24/06 03:11 PM, elbekko wrote: Sure thing. > 300 posts just got deleted? =P

Yeah, i sold 300 posts to a mod who will go unnamed.

Response to Programming Regs Lounge 2006-09-27 19:39:04


Ok so what happened to this thread?

Anyway, I'm just bored and stressed at the same time, bleh. How's everyone else's week going?

Response to Programming Regs Lounge 2006-09-27 19:42:22


At 9/27/06 07:39 PM, Jessii wrote: Anyway, I'm just bored and stressed at the same time, bleh. How's everyone else's week going?

Meh...about the same. Got a few stress things...but I did buy a new pair of drum sticks. That was happy :)

Response to Programming Regs Lounge 2006-09-27 19:43:26


At 9/24/06 01:01 PM, Jordan wrote:
At 9/23/06 09:33 PM, JesusCyborg wrote: Post 1337 is more important anyway
I should try to get a ban from my 1337th post to make me 1337 for longer.

P

Easy as pie :}

Response to Programming Regs Lounge 2006-09-27 19:46:11


At 9/27/06 07:39 PM, Jessii wrote: Anyway, I'm just bored and stressed at the same time, bleh. How's everyone else's week going?

I wish I was bored.

Both of my parents had colds, and just today I got this terrible sore throat. I feel miserable. AUGH.

Response to Programming Regs Lounge 2006-09-27 20:23:18


I wish i had money.. :( Anyone mind donating.. lets say.. 200$??

Response to Programming Regs Lounge 2006-09-27 21:00:22


At 9/27/06 08:23 PM, seel wrote: I wish i had money.. :( Anyone mind donating.. lets say.. 200$??

Yeah, lemme just wire it to you.

</sarcasm>

Nah, I need money too...I gotta buy the rest of my drum set...total should come to a little less than 500...so yeah, I have no spare change.

Response to Programming Regs Lounge 2006-09-27 21:11:45


At 9/27/06 09:00 PM, WoogieNoogie wrote:
At 9/27/06 08:23 PM, seel wrote: I wish i had money.. :( Anyone mind donating.. lets say.. 200$??
Yeah, lemme just wire it to you.

</sarcasm>
Nah, I need money too...I gotta buy the rest of my drum set...total should come to a little less than 500...so yeah, I have no spare change.

Wow. Nice. I bought my drumset for 400$ (worth like 1500-2000) from my drum instructor who's wife wanted him to get something quieter (like an electric one). But it's been 5 years, and he still doesn't have an electric one ;)

I'm saving up for the educational ver. of dreamweaver...only 100$ something to go!


Hello, from the past!

[ PHP: Main ]

BBS Signature

Response to Programming Regs Lounge 2006-09-27 21:29:17


At 9/27/06 09:11 PM, Momo-the-Monkey wrote: Wow. Nice. I bought my drumset for 400$ (worth like 1500-2000) from my drum instructor

Don't take this personally...but...I hate you :(

Response to Programming Regs Lounge 2006-09-27 21:35:23


At 9/27/06 09:29 PM, WoogieNoogie wrote:
At 9/27/06 09:11 PM, Momo-the-Monkey wrote: Wow. Nice. I bought my drumset for 400$ (worth like 1500-2000) from my drum instructor
Don't take this personally...but...I hate you :(

Lol. You jelous? I can tell ;)

no offense taken....lol

Hello, from the past!

[ PHP: Main ]

BBS Signature

Response to Programming Regs Lounge 2006-09-27 21:40:09


At 9/27/06 09:35 PM, Momo-the-Monkey wrote: Lol. You jelous? I can tell ;)

Oh, and I have to say...pics or it didn't happen.

Response to Programming Regs Lounge 2006-09-27 21:42:40


At 9/27/06 09:40 PM, WoogieNoogie wrote:
At 9/27/06 09:35 PM, Momo-the-Monkey wrote: Lol. You jelous? I can tell ;)
Oh, and I have to say...pics or it didn't happen.

Sorry, i don't have a digital camera, and really, I haven't taken any pictures of it....

It's a pearl, and it has a green-to-black color (where look at it one way it green, and other way it black)

Toms need to be tuned horribly, and it didn't come with snare or symbols. I already had a snare, but spent an extra 500 on symbals alone. Nice all together for practice......

But sorry, no pics on record... :/


Hello, from the past!

[ PHP: Main ]

BBS Signature

Response to Programming Regs Lounge 2006-09-27 22:12:26


At 9/27/06 07:46 PM, DFox wrote: Both of my parents had colds, and just today I got this terrible sore throat. I feel miserable. AUGH.

That sucks! That sounds like me though, I've had a headache/sore throat but I know it's allergies due to the changing of the seasons (the headache is part allergies and part stress because the buyers for one of our customers don't know how to communicate w/each other and so they ask the same questions over and over...).

Response to Programming Regs Lounge 2006-09-27 22:14:01


At 9/27/06 10:12 PM, Jessii wrote: That sucks! That sounds like me though, I've had a headache/sore throat but I know it's allergies due to the changing of the seasons (the headache is part allergies and part stress because the buyers for one of our customers don't know how to communicate w/each other and so they ask the same questions over and over...).

Aww :( Allergies suck. I'm lucky as I only get them for a few weeks each year and not around now.

Hope you feel better :)

Response to Programming Regs Lounge 2006-09-27 22:24:11


At 9/27/06 10:14 PM, DFox wrote: Hope you feel better :)

Thanks! I'm stuck with them year round, mostly when the weather changes and I've been doing a lot of stuff with dusty, moldy old boxes (some boxes are more than 20 yrs old). So yeah, it's definitely one of the reasons why I have a headache lol. The rest is customer related.

Response to Programming Regs Lounge 2006-09-27 22:32:05


At 9/27/06 10:24 PM, Jessii wrote: Thanks! I'm stuck with them year round, mostly when the weather changes and I've been doing a lot of stuff with dusty, moldy old boxes (some boxes are more than 20 yrs old). So yeah, it's definitely one of the reasons why I have a headache lol. The rest is customer related.

Oh god, I can only imagine how bad year round allergies must be. I get them for a few weeks a year like I said because of all the pollen, and I'm miserable for that short period of time. I really can't imagine having them all year around. It must suck.