|
You can always write another msvcrt.dll and so, on the instalation directory of your component. Your dll will be loaded instead of the \<win..>\System32
Furor fit laesa saepius patientia
|
|
|
|
|
Matrix theory
I am looking for something along the lines of crossword finder or word search.
The user enters in the dimentions along with the letters in each RowxColumn if yu have the double looping structure please let me know
thanks
karen
kginsberg@hotmail.com
|
|
|
|
|
I'm trying to write a program which needs access to the id3v2 tags in some MP3s I have downloaded and compiled id3lib from sourceforge successfully (to a dll).
http://id3lib.sourceforge.net/
I am now trying to write the code in my program.
I have looked at the documentation for the API online:
http://id3lib.sourceforge.net/api/index.html
I have tried copying some of the code snippets from the first page (that is the only help they give you!). I have tried to alter it so that it reads the TIT2 field from a sample mp3 as a test. I renamed one of my MP3s to song.mp3 put it in the directory with the compiled exe and ran the program. It should have printed the title on the screen (it is a simple console program just for testing). It doesn't but I don't know what I am doing wrong.
What I would like to request is some proper sample code, with explanations, for a program which uses id3lib to read the title tag from an mp3 file and prints it to the screen. A helpful addition to make it useful to everyone would be code for writing a new title to the mp3 file.
Please help
Thankyou in advance.
|
|
|
|
|
Hi,
I have a snapshot file (.snp) Certain tools are available which read the code and display the formatted contents. Is there any way to convert this into a normal text file, or a doc (ms word) file?? Can i get the source code of the snapshot viewer or get my hands on the syntax of a snapshot file??
Any help would be welcome.
Thanks.
Ankur.
|
|
|
|
|
Hi.
I would like to know how an application to block/release access to the network by the IP from the station.
Why do I wannt to do it?
I have a network with 16 win 9x that my clients can access the web. they pay per minute, sou I want develop a program to be installed at each machine that do this:
- my custumers will choose how many time they will be connected,
- they will click on start button and then they will acess;
- 5 minutes before the time expires they will be prompted to renew the connection;
- at the end of the time they must be blocked.
I need some ideas how to do this.
Thanks in advance
Marco Andrieli
|
|
|
|
|
This might not be relevant, but I will post anyway...
You could probably do this without coding much if you use Mirosoft ISA server. If you are not familair with ISA server, check out http://www.isaserver.org
What you could do is create an ALLOW or DENY protocol rule for certain IPs or users. You would then schedule these rules so you could enable these rules for certain times only (eg. Now till 15 mins more).
ISA server could be configured from a scripting language, so you could make a script that will help you configure ISA server (calculating of schedules,payments etc..).
Notifications 5 mins before would have to be coded seperately, however, that is the easy part.
If you try this out, let me know!
Jeremy.
"Hey man, Taliban, Tali me Banana."
|
|
|
|
|
I have added a 'version' resource to my project, and am using a build auto increment add in. How can I read the current build number from within my program to display it in the about box.
Thank you,
Novice
|
|
|
|
|
I am trying to use this API function but having a lot of troulbe. When I try to compile it does not recognize the BROWSEINFO structure. Is there a header I need to include. What about shell32.dll, if so how do I include it in my project.
Thank You,
Novice
|
|
|
|
|
shlobj.h
---
Better to be silent and thought the fool, than to open your mouth and prove it!
|
|
|
|
|
PJ Arends:
Thank you, thank you, thank you ...wasted half a day on this...thanks again
|
|
|
|
|
I am trying to find some code which will enable me to determine what domain or workgroup a given host is in.
There is a function available on Win2000 (NetGetJoinInformation), but I am using NT4.
Any ideas?
---
"The way of a fool seems right to him, but a wise man listens to advice" - Proverbs 12:15 (NIV)
|
|
|
|
|
|
Hi,
I try to implement an ActiveX that creates a thread (through AfxBeginThread). This thread is calling a custom event. When I try to terminating the thread, it makes an uncaught exception. Even, when I try to communicate from the custom event with the activeX (by testing a property for example), I get a memory problem.
How can I solve these problems ?
thank you very much for your help.
|
|
|
|
|
Hi all,
I need to find a way to put scancodes in the keyboardbuffer. I need scancodes because serveral apps on the system only react to scancodes (most of them are accessibility tools like JAWS) On Win2K I'm using SendInput and that works fine but I can't find anything similar on Win9X.
Any thoughts ?
|
|
|
|
|
SendInput() works on 98. For 95 try keybd_event().
--Mike--
http://home.inreach.com/mdunn/
Ford: How would you react if I said that I'm not from Guildford after all, but from a small planet somewhere in the vicinity of Betelguese?
Arthur: I don't know. Why, do you think it's the sort of thing you're likely to say?
|
|
|
|
|
SendInput works on 98 for VK's but not with scancodes.( Unless I'm overlooking something)
|
|
|
|
|
I can create a link to a file programmatically, but I would like to create a link to a folder?
Thanks
|
|
|
|
|
Alright, first, a quick explaination of my problem.
I make a piece of software that the company i work for uses to control logons to a computer. It is a computer rental place, and upon timing out the login screen has to pop up to the top of ANYTHING that could be running and stay there.
I have it running in Windows 9X, and is quite secure. I hide it from Control Alt Del menu right off the bat, and on the login screen i press it to the front with a collection of APIs called many times a second.
But we are considering moving to windows XP. Its task manager can see (and end) my process at any time, regardless of any API i have seen so far. Task manager cant stay in front of the login screen, but when someone logs in (the login screen goes away) they can simply end the task for the software!
Not Good!
So, I've been reading up on how this all works, and I have a couple ideas on how to fix it but no idea how to approach any of them.
#1: Run the program under alternate credentials. This WORKS (access denied trying to end my task), but damit, have to enter the password every time (very bad, many computers). Anyone know how to start a task under alternate credentials and have it start automatically? this would solve the problem, and i think it would be best. Storing the password in a batch file in plain text is NOT an option. some of our users are fairly good with computers.
#2: Run a stub-service that that checks for status of my login program, and starts it again if it disapears. Since the users will be low-access and the service runs under ./SYSTEM, it can't be stoped. so if anyone kills the task they will be greeted with the login screen when it starts back up. This would also work, but i have no idea how services work.
#3: Find an API that lets me once again hide the task completely like 9x. I dont like this at all, but if its the only way it will have to do.
#4: Any other sugestions?
Can anyone reccommend anything that would help me on this problem? we can keep using 9x for a while, but it would be nice to have XP in order to start pimping it when it hits the streets. That means i have to start working on it now to have it on systems by the 25th of oct.
\\ Rock
|
|
|
|
|
I am attempting to create a control grid inside of a DLL file, to be called from another program. Has anyone done this? Is this possible? Any information is much appreciated???
Thank You!
TheDeveloper
|
|
|
|
|
Do you know where can I get a source code of any proxy server, working under Windows writen in C/C++??? I need it so!!! Thanks in advance.
|
|
|
|
|
Man u just gotta go see this link :
http://www.codeguru.com/internet/http_proxy.shtml
no prob.
Papa Charchabil.
|
|
|
|
|
Good evening,
I have been searching around a bit and there is one thing I am missing a little discussion (maybe some sample code as well) on; developing a GUI under DirectX.
Resently, I started experimenting with DirectX and I found that there is no methods for displaying simple things like Buttons, Static Text Controls, List Boxes, etc. So I started thinking, it must be possible to make a class (or classes) that handle these issues under DirectX. A class that would take care of loading graphics associated with a control, displaying text on a control, handling scrollbars and events (such as mouse over, mouse click events and many of the other events we find in MFC controls).
Right now, I am stuck with just manually drawing each control (code gets long and messy after a whole), and I just wonder if maybe someone out there already thought about this problem and can lead me in the right direction, maybe show me some sample source code or links to other pages where such information can be found.
Thank you very much,
Ken V. Nordberg
elevator@encasa.org
|
|
|
|
|
In DX SDK there was a GUI example that had controls but didn't look at it closely. Try checking that out.
-Matt Newman
|
|
|
|
|
I think that sample had the DirectX example in a frame on the left adn all of the controls on the right using normal MFC code. I know that is what I had done for some medical software. That works ok, but is not what you are asking for. I think that you could do a custom drawn control and then just do the drawing yourself. In this case it would be drawing using DirectX. There are samples of custom drawn controls in the articles section. It should not be too bad to do some of it using DirectX instead. Controls with scrollbars will be the hardest I bet.
Steve Maier, MCSD
|
|
|
|
|
I already tried subclassing some of the standard MFC controls, but I want to be able to customize the way they look as well as draw them using DirectDraw or Direct3D. I also want to use DirectInput for events. The event part I have pretty much nailed down, I can create any control (invisible since I haven't drawn it) and have it correctly respond to any event, so I am using that right now in my program while hardcoding buttons and the other controls I need. However, it does get very messy and hard to understand after a while, so wrapping everything into a bunch of classes would definetly help a lot.
I saw some postings here for the Crystal Space 3D engine and also the source for Allegro (although not DirectX) and they seem to have some interresting approaches.
Right now, I welcome any tips/code on how this can be done efficiently. Thank you both for your reply. I failed to find any GUI examples in my copy of the DirectX SDK (I have version 7 and 8). Please let me know if it's available in any earlier versions of the SDK.
Thanks again,
Ken Nordberg
elevator@encasa.org
|
|
|
|