|
Use Visual Studio to open the .exe as a resource.
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
|
|
|
|
|
What version of Visual Studio I should use if my operating system is windows-Xp sp2.
oh is it on the net for free download??
thanks
After all, Today is the Tomorrow you worried about Yesterday
|
|
|
|
|
rain711 wrote:
What version of Visual Studio I should use if my operating system is windows-Xp sp2.
Whichever one is supported on that platform.
rain711 wrote:
oh is it on the net for free download??
If "it" refers to Visual Studio, the answer is no.
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
|
|
|
|
|
|
Resource hacker extrat dialog boxex and icon stuff
but I think when I disasmble my exe. It said thet the EXE has no dialog or any resources . But indeed when you execute the EXE and when I hit "Enter" on the keyboard a dialog box popup for chating and I have to hit "Enter" again if I want to send the message.
After all, Today is the Tomorrow you worried about Yesterday
|
|
|
|
|
hi all,
i would like to parse the html code to reach the url in the web page, i had get the html code already, so how do i parse till i get to the links?
thnx in advance
|
|
|
|
|
You can use regular expressions to do this. I don't have the exact formula offhand, but a quick search at Google returned this page, which should give you the idea.
Processing HTML using Regular Expressions
Pssst. You see that little light on your monitor? That's actually a government installed spy camera. Smile and wave to big brother!
|
|
|
|
|
thnx Jack.
i know i can do it by hand, but it is a headache.
i've seen some vb6.0 code that do this parsing using classes like HTMLLinkElement,MSHTML.HTMLDocument. is there any classes in vc++ equivelant to thease?
|
|
|
|
|
I've never actually used HTML in vc++ for anything other than to simply display a page. (CHtmlView)
I just tried a search at CP, and it returned this article:
http://www.codeproject.com/internet/parse_html.asp
which looks like it might be what you're after, or should at least lead you to something you could use.
Pssst. You see that little light on your monitor? That's actually a government installed spy camera. Smile and wave to big brother!
|
|
|
|
|
Thanks Jack for your help.
it is what i need
|
|
|
|
|
Hi,
I have created a stand alone application (exe) file using matlab,and VC++ compiler, but my problem is that it works only on my computer, On other computers it gives the following error:
The dynamic link liberary libmmfile.dll could not be found in the specified path c:\......
any suggestions friends?
Thanks and have a great week-end.
Irene
|
|
|
|
|
irene_haydon wrote:
The dynamic link liberary libmmfile.dll could not be found in the specified path c:\......
Distribute the file libmmfile.dll with the app.
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03
"Obviously ??? You're definitely a superstar!!!" mYkel - 21 Jun '04
Within you lies the power for good - Use it! Honoured as one of The Most Helpful Members of 2004
|
|
|
|
|
Hello, Irene
It looks like your application is dependent from one of the MatLab's libraries. So, if you want your application to work on other computers (where MatLab is not installed) you need to distribute these libraries with you application. Try to search MatLab documentation for redistributing applications created with MatLab or just copy all dll’s, which are missed. You can use "Dependency Walker" tool to resolve all needed libraries.
With best regards,
Andrew
|
|
|
|
|
I created an Studio 6.0 SDI program called ShowWinTest with the defaults. In the ClassWizard, I added a function for WM_SHOWWINDOW in both the CMainFrm and CShowWinTestView classes. Then I placed a ::MessageBox call in each of the OnShowWindow callbacks. When I run the program, I see the ::MessagesBox dialog boxes on startup as expected. When I hide (by clicking on a window BEHIND the ShowWinTest window), or show (by clicking the ShowWinTest task bar button), or iconify (by clicking the ShowWinTest MINIMIZE button), or restore the window ( again by clicking the ShowWinTest task bar button), no ::MessageBox dialogs appear! When I terminate the program (by clicking the CLOSE "X" button), I get the ::MessageBox dialog only for the MainFrm callback.
The docs clearly state the WM_SHOWWINDOW windows message will be sent (which should then call my OnShowWindow callbacks) when any of these hide/show activities are taking place:
"The framework calls this member function when the CWnd object is about to be hidden or shown. A window is hidden or shown when the ShowWindow member function is called, when an overlapped window is maximized or restored, or when an overlapped or pop-up window is closed (made iconic) or opened (displayed on the screen). When an overlapped window is closed, all pop-up windows associated with that window are hidden."
What am I missing?
Stephen Freeland
|
|
|
|
|
Hi all,
I'm a newbie programmer, somewhat comfortable programming my own applications from scratch in Win32API or .NET. What I'm having trouble though, is understanding and working with other people's code, like various SDKs and source code widely available on the internet. I just don't know what to do after I unzip the file.
For example, I'd download the source code of some open source application, unzip it in some directory, and notice that there's a bunch of directories, a bunch of project files, maybe a couple solution files, hundreds of .h files, hundreds of .c files and so on and so forth.
Forgive my ignorance, but what on earth am I supposed to be doing with all this? I understand that I'd need to compile something, probably, but which project or which solution am I supposed to compile? If I pick a random one and compile it, I end up with a bunch of errors I am clueless about. and then what? I'd have to figure out how the program works, but with hundreds of files floating around, where do I begin? (assuming no helpful documentation...)
I've learned to program mostly on my own, reading books and tutorials, but no books out there seem to talk about how to figure out stuff other's have written. Perhaps it's supposed to be obvious. Well, it isn't for me.
Anyhow, I know that this forum is filled with experienced programmers, and they all must have had a transition from being able to program things on their own to being able to work with stuff other's have written. So if anyone could share their experience with learning how to do this, I'd be much indebted!
|
|
|
|
|
Hah you sound just like me a few years ago ... lots of ambition but no idea where to start.
First off, lets get specific. What SDK's are you trying to install and use? Most of them have documentation located in the start menu under the title of your SDK.
For example, if you install the DirectX9 SDK, right next to it on the start menu is a "DirectX Documentation for C++" which holds ALMOST every data type and method used by Direct X.
Secondly, what compiler are you using? If using Visual Studio, most of the SDK's when installed actually add their info to the Help Index inside of the program. This allows you to search for specific topics, methods, or data types you will need in order to use the language.
But you've got the right idea. Being a programmer means you have to read a lot, and sometimes you have to read things that aren't written too well. Reading the documentation will usually help you out exponentially, if you can find them heh.
But let me know which compiler you're using and which SDK's you're trying to load up and I'll see if I have any more specific info for ya man.
good luck
jc0de
|
|
|
|
|
Haha, great assessment. lots of ambition but no idea where to start.. you got that right!
My problem isn't so much using various funtions in the SDK, but rather compiling the source code and making sense of the numerous files and directories they usually come with. I've successfully written an audio header reader program for mp3, ogg, ape files, using dll / lib files I downloaded and functions that I looked up in the documentation.
But take the Musepack (lossy audio codec) project for example. I downloaded the source code (http://www.musepack.net/index.php?pg=src), unzipped and placed it in a directory. Among the numerous files I'm unfamiliar with, I see a .sln file and open it, in VS.NET2003. But I get a couple error messages along the lines of "The project file 'C:... .dsp' has been corruped and cannot be opened". I ignore all these messages and build the solution, and end up with a bunch of errors. Some syntax errors, some complaining that a file doesn't exist, and indeed they don't exist! I searched for them but couldn't find them.
I end up with a similar experience with the foobar2000 SDK (http://www.foobar2000.org/), projects that are supposedly corrupted, files that are missing, etc..
None of these seem to have any documentation on how to build the solutions, so I'm left clueless. I do wonder, however, why I would have to do anything in order to get them to compile in the first place.
I wonder if I need to get a book specifically on using VisualStudio?
Anyways, thanks so much for your help! It's much appreciated.
|
|
|
|
|
Well I've been programming on my own for a couple years, then at Full Sail for game design currently.
Lots and lots of reading and testing with Visual Studio is imperitive to working with other peoples projects. Many of them include library files, include files, preprocessor directives, etc. which can be found in your project's properties and in the properties of Visual Studio itself.
Just a note, the project's properties and Visual Studios properties are COMPLETELY seperate!
Example: If you are required to add a library file to reference certain functions in a project you will have to tell Visual Studio where the library file is AND the project where the library file or you will get linker errors.
Another example: I had to write a plug-in for maya using MEL and c++. The Maya C++ API has decent documentation but doesn't tell you all the files you need to include. I was constantly getting linker errors before a friend explained you have to have Maya linked to your program thru Visual Studio AND my project itself.
But when it all boils down to it I would love to by a VS book myself because it's a very powerful tool and is almost a necessity to create quick and/or appealing projects.
We also have been told at Full Sail that XnA the new compiler from Microsoft is supposed to encapsulate much of these third party libraries and make them easier to implement in your own projects. But that's just words at the moment.
Anyways hopefully I helped a little, I consider myself a decent programmer and can create things I never could have imagined, but I read so much my eyes will probably fall out of my head by 30. heh.
Good luck,
j
|
|
|
|
|
psasidisrcum wrote:
None of these seem to have any documentation on how to build the solutions, so I'm left clueless.
Have you tried downloading & using samples from code project? Most of the authors seem more than willing to help guide someone through a little trouble (as long as the person has attempted to figure it out on their own).
-------------------------------
|
|
|
|
|
I'm writing a program that needs to copy files to a DVR writer on another computer on my network. I want to be able to use CopyFile() specifying the destination path as z::\folder\filename.ext. How do I get connection to the remote computer (named lounge) disk (say f::\) and map that to a local drive letter (in this example, z::\) Can someone point me in the right direction - I can't seem to find the right path in the VC++ documention. (I hope it's not too obvious, otherwise I'll be embarresed ) Thanks in advance !
Doug
|
|
|
|
|
O.K., I'm embarresed !!! Not only am I answering my own question, but the answer is also trivial !! I have now discovered that the operands to CopyFile() will allow useage of the computer name - in my example, the destination path can be set to \\lounge\f\test.txt (and the use of drive mapping is not needed). In my own defence, the documentation to CopyFile does not actually state that network drives can be accessed by prefixing the path with the computer name.
Doug
|
|
|
|
|
DougButtimer wrote:
In my own defence, the documentation to CopyFile does not actually state that network drives can be accessed by prefixing the path with the computer name.
It does if you click the File Name Conventions link.
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
|
|
|
|
|
After using CreatePipe() to establish pipes between server and child, is it possible to disconnect those pipes without killing child process (both are still alive)?
includeh10
|
|
|
|
|
CreatePipe() is just a wrapper around CreateNamedPipe(). If you used CreateNamedPipe() directly, instead of CreatePipe(), you can call DisconnectNamedPipe() and CloseHandle() to disconnect those pipes without killing child process.
|
|
|
|
|
Anonymous wrote:
CreatePipe() is just a wrapper around CreateNamedPipe().
Any hint for creating my own wrapper of CreatePipe from CreateNamedPipe()?
Basically, CreatePipe() has 2 handles as parameters, how to use thr 2 params in CreateNamedPipe()?
includeh10
|
|
|
|