- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
45 Posted Topics
Using Winsock and C++, I have successfully created a server which runs on my pc good and well. The problem is, I would like this same (console) server to run at a different IP address (that is not my home IP address). If my server (which is called server.exe) is … | |
Hello everyone. I would like to know if it is possible to double buffer a .png image using GDI+ Can anyone help me? Below is the code I used to display a png image with alpha transparency, however, I do not know how to double buffer it! Please help. DrawPng … | |
Hello everyone. I've recently written a program which draws some stuff to a DC; however, on a screen invalidation, the things drawn on the DC, dissapear (get erased.) Does anyone know how one would be able to draw to this dc, and have whatever was drawn to the dc remain … | |
Hello all. I've been trying to create a paintbrush with win32, but to no avail. The best that I've been able to do is plot a few pixels here and there (with SetPixel(), but never in a straight, seamless line (the way the pencil tool works in Microsoft paint for … | |
I have a program which consists of two windows (hWnd, and picturewind). I would like to write code which takes an action every time a person clicks inside of the second window (picturewind) but not when the person clicks in the first window (hWnd). Can anyone tell me how I … | |
Does anyone know any good resources where one could learn GDI+ (Gdi plus) with the Win32 api? There are many resources for learning Gdi+ with MFC, but not with win32. I tried learning gdi plus with win32 on my own, but ran into the following problem: [CODE]Graphics graphics(hdc); Pen blackPen(Color(255,0,0,0), … | |
Does anyone know if it is possible to create a program which runs on windows.. but has a [b]Macintosh[/b] Window appearance? I would like to have a Mac. appearing window.. on windows.. Example: Instead of the close, minimize, and maximize being red, blue, and blue (Windows 7).. I would like … | |
Does anyone know how one would be able to replicate photoshop's resolution option? I normally do not mess around with resolution.. but recently.. I changed the resolution value accidentally and had some pretty astounding results. For those of you who have never used photoshop before.. the resolution option simply increases … | |
Re: If you have the money to pay for all of those positions you require to complete your game.. you might as well start your own company. Anywho.. you are not looking for a "game developer..." but a game programmer.. Depending on what you're willing to pay.. I may be able … | |
I've recently heard that using a .gif image in a commercial software... is strictly prohibited.. without first aquring a commercial license from Compuserve (the makers of the .gif image format). Does anyone know if it is actually true that a commercial license has to be bought in order to use … | |
Does anyone know the event that causes the carriage return animation to play? I would like to have the carriage return animation to play after clicking in a box.. that is not a textfield. Essentially.. I am attempting to create a custom text field. (In case you do not already … | |
Does anyone know how one would go about creating a "custom" file type? (Such as Macromedia Flash's .swf.. or quicktime's .mov) Also.. once I have created a custom file type... how would I make sure that my file is always associated with a given icon (that I will create).. and … | |
I realize that there are plenty of tutorials on how to create a "Custom Win32 Title Bar." The problem is.. none of the tutorials I have found so far.. discusses how a person would be able to "drag" the replaced title bar.. as one would drag the "normal" title bar. … | |
Re: If you would like to move from Console applications.. to graphical applications.. you could try learning Windows Programming. Though you do not need to learn windows programming to be able to display graphics with C++.. I believe it is much easier then learning OpenGL. You can find a tutorial for … | |
I've already tried rendering text using the "CreateFont()" function, however, I am unable to achieve "clear" text. My text always looks.. blurry. I would like to achieve clear results as the results of Macromedia Flash's "Bitmap text" option, or even its "Anti-Alias for readability." Also, does anyone know how I … | |
Hi everyone. I already know how to create a program using just one window.. but I'm having trouble creating a program with 2 windows. I used CreateWindow() to create my second window, however, my second window displays exactly what is on my main window! I figured the reason was because … | |
I have recently stumbled upon a program that permits a person to have an animated image "dance" across the users' current active window. The problem is.. something very strange occurs when I have this animated image dancing across MY program's main window. For some reason, whenever I either maximize or … | |
Re: If your game must be created with "pure" C++, then you are going to be left with pretty simple, and pretty boring, console stuff. However, if you are asking how you should get started in game developement, my suggestion would be to learn Windows Programming (A.k.a. Win32 Programming). A game … | |
Re: If you are reffering to an "Online" text based game, such as Immortal Night, you would need to learn javascript (or a similar scripting language) to handle all of the user interactions, as well as learning both php and mysql (for storing user information inside of a database.. such as … | |
Does anyone know how to "disable" the windows taskbar.. or at least "hide" it, using Win32? I've seen it done in another program.. but I was clueless as to how the person did it. I would like to be able to display one of my programs on the entire screen, … | |
Hi everyone.. I've recently switched over from Visual Studio 6.0 to visual Studio 2010.. The problem is studio 2010 does not have an "execute .exe button," as version 6 does. Is there a way to manually place an execute .exe button inside of visual 2010? | |
Hello everyone. I know how to create a .exe file, but I do not know how to "install" my .exe on another persons' computer. I realize that I could just make all images, sounds, etc, into resources, and simply have someone execute my .exe file, but I want to "install" … | |
Re: For "Web" applications, you definitely want to look into Java/Java Swing/Java Applets. C++ is more for desktop software applications, such as Macromedia Flash, Adobe Photoshop, etc. If you already know C++, your best bet is to look up "Windows Programming, or Win32 tutorials". QT is a bit complicated for a … | |
Hello all. Can someone please show me how to display index.html on my home page? What my home page currently displays, is my IP address, followed by a list of all of the files currently stored inside of my root directory. Thank you. | |
Hello everyone. I have seen in quite a few programs, a menu that is actually scrollable. Not a scroll-bar (that can be implemented on a window via the WS_HSCROLL|ES_AUTOHSCROLL flags) but a scroller menu. The menu I am reffering to is often seen inside of windows folders, where the menu … | |
Hello everyone. I have already read the "MySQL C API Programming" tutorial found at: zetcode.com/tutorials/mysqlcapitutorial. The problem is, the tutorial does not show how a person would display the results obtained from the [u]SELECT FROM[/u] statement in a char * format. Does anyone know if it is possible to convert … | |
Hello everyone. I am creating a very large gaming server which will have thousands of individuals inserting data into an mysql database, most of which will be doing so simultaneously. I need desperate help in knowing what values (such as max_connections, etc) should be altered in my.ini (running a windows … | |
Hello everyone. Does anyone know if a database has a maximum capacity to much data can be stored inside of it? Someone told me that the max info a given database can hold is 4 gigabytes. Also, if there IS maximum capacity per database, does anyone know how to INCREASE … | |
Hello everyone. I am trying to make a simple, one lined text field, which permits users to enter text into it. The text field I am reffering to is the type that has a carriage return blinker to signify that a user can type there. I have looked up "text … | |
Hello everyone. I am attempting to build a "form" using Win32 and C++, which contains all of the necessary elements (drop down menus, radio buttons, and check boxes). The problem is, I can find absolutely no resources as to how I would code a drop down list within Win32. The … | |
Hello everyone. I already know the C code required to use SQL statements within C++. Using mysql_real_connect, I was able to establish a connection to a remote MySQL server. The problem is, even though mysql_real_connect did not RETURN NULL, (meaning that a connection to the mysql server was established) I … | |
Hello everyone. I have tried to fully install MySQL on Windows Server 2003 for a few days now, with no success. There are two things stopping me from completing the install: 1) I forgot the initial password that was used for the root user 2) Every time I get to … | |
Hello everyone. I have managed to connect a winsock client to a server application; however, I do not know how to display the results that are recieved inside of my "recv" buffer as a unified string, as apposed to the char array format it is currently in. I would like … | |
Hello everyone.. When working with Visual Studio 2010, the "MessageBox" function displays chinese characters, instead of english ones. Example: I attempted to prompt a message to myself using the messagebox function, saying "Success!" However, the message box pops up a message in chinese, and not in english. I am able … | |
Hello everyone. Working with winsock, I have successfully been able to connect a client application to a server application that is running on the SAME computer. My problem is, I cannot, for the life of me, get a client application to "connect" to a server application that is running on … | |
Re: If your database is "online," it is rather easy to access it with C++. To make things even simpler, you would probably want to use something like MySQL as your online database, but it's all a matter of taste really. Now, onto the steps you'd take to access your online … | |
Re: If you are talking about "pre-made" 3d models, such as .3ds, .obj, etc, your best bet is going to be: [url]http://spacesimulator.net[/url] Otherwise, you can google search: Displaying .3ds with OpenGL/C++. (replace .3ds with the type of 3d file you are using) (Please note: You are going to HAVE to learn … | |
Hi all. I need help "binding" to a specific IP address. My program is able to "bind" when using inaddr_any, but I can't seem to bind to a specific IP address using inet_addr("...."). I am basically trying to "bind" a socket to MY home pc's IP address, and a random … | |
Re: I'm not sure if Win32 can be combined with OpenGL, but if it can, you could also just go with displaying bitmap images with BitBlt for your 2d stuff. A good display bitmap tutorial can be found on gamedev.com's website, inside of a tutorial called genesis. Just go to google.com, … | |
Re: Your best bet is to use the clone stamp tool. Simply select the clone stamp tool, hold down the "alt" key (on the keyboard), select a location on your image that you would like to copy (left click, that is), and then "paint" that copied location over your red dots. … | |
Re: You can use an animated gif for the slow fade-out effect too; however, the animated gif itself would have to be a slow animation of the effect you desired. On mouse focus lost, play your slow gif image. On the other hand, flash is far easier to use for the … | |
Hello everyone. I have recently finished a Winsock Server, and a Winsock Client. The problem is, I do not know what type of a domain/and or server I would have to buy to be able to connect my Winsock Server, to it. I already know that Winsock uses the inet_addr() … | |
Hello all. I've completed both a Winsock server, AND a Winsock client using C++. The problem comes in when I attempt to bind a socket to a remote IP address. I get the message "Unable to bind to "IP address" port 80. I know for a fact that both the … | |
Re: If you already know C++, then I suggest you pick up Windows Programing (A.K.A. Win32 Programming). Game programming is nothing more than creating software with animated pictures. | |
Hello. I am currently creating a software that requires the detection of "cheating." While my software is open, players will not be allowed to have certain types of content open. Ex: --- Lets say that my software, is a Chess Server. In order to prevent cheating, my software must be … |
The End.