Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
win32api
- Page 1
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
3 Days Ago
by david.tigner
This one is becoming more perplexing. After adding in the PHPMailer coding, page would crash (e.g. blank white screen, HTML file that would display the screen doesn't even start at all, e.g. error in the 1st running PHP file). Adding the semi-colon at end of line 18 (in previously discussed code) did not work and funny thing is, the original coding…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Day Ago
by Chris_103
It seems like you're experiencing issues with PHP-based email functionality, where submissions are not triggering emails to be sent. Let's dive into the code snippet you provided and see if we can identify any potential issues or improvements.
Re: AirTM API: How to Build a Form?
Programming
Web Development
4 Weeks Ago
by Dani
I can see that the URL that you linked me to has 4 steps to create a purchase. The first one is to create a Purchase via an HTTP POST request. That can be done with a cURL request. cURL requests require some backend programming such as via PHP or some other language. Are you using a server-side language to write your web app? If so, which one so…
APIs and SDKs in a PHP project
Programming
Web Development
2 Weeks Ago
by FarrisFahad
I want to understand how I can add an SDK to my PHP projects to make APIs calls. I noticed that every software company have an SDK. I also noticed that most SDKs use Composer. I don't know what composer is and do I need to have it for every SDK? I am also using PHP procedural programming and I noticed that these SDKs use OOP. Can someone help…
Re: APIs and SDKs in a PHP project
Programming
Web Development
2 Weeks Ago
by rproffitt
> A software development kit is a collection of software development tools in one installable package. As such your last question doesn't make sense. The SDK installs your software development tools and your code would be where the API is called but not a call to the SDK!
Question Answering with YouTube Videos Using RAG in LangChain
Programming
Computer Science
1 Week Ago
by usmanmalik57
In previous articles, I explained how to use natural language to interact with [PDF documents](https://www.daniweb.com/programming/computer-science/tutorials/541732/paris-olympics-ticket-information-chatbot-with-memory-using-langchain) and [SQL databases](https://www.daniweb.com/programming/computer-science/tutorials/541771/using-natural-language-…
Re: Read file properties of video files in C++
Programming
Software Development
3 Weeks Ago
by Thomasio
Yes, I know, Windows doesn't report details for all video files, sometime it just doesn't and I already guessed that may be because of a file format Windows cannot read correctly. But then for the video files where Windows does report details within the file properties it gets them correct and it does that in near no time which makes me believe …
Re: Read file properties of video files in C++
Programming
Software Development
2 Weeks Ago
by toneewa
The [Windows Media Foundation API](https://learn.microsoft.com/en-us/windows/win32/api/mfmediaengine/nf-mfmediaengine-imfmediaengine-getduration#requirements) is probably what you are thinking of. You also can just use my example, using the ffmpeg library. Just change the filename. extern "C" { #include <libavformat/…
Paris Olympics Ticket Information Chatbot with Memory Using LangChain
Programming
Computer Science
4 Weeks Ago
by usmanmalik57
In my previous article, I explained how I developed a simple chatbot using LangChain and Chat-GPT that can answer queries related to Paris Olympics ticket prices. However, one major drawback with that chatbot is that it can only generate a single response based on user queries. It can not answer follow-up questions. In short, the chatbot has no …
Read file properties of video files in C++
Programming
Software Development
3 Weeks Ago
by Thomasio
I want to figure out what Windows does when you right-click a video file and check properties and I would like to write a similar piece of code in C++. I should be able to figure out how to read the file type and size, but I'm lost in how to get details of the video like resolution and runtime. Which API commands does Windows use there?
Re: Read file properties of video files in C++
Programming
Software Development
3 Weeks Ago
by Thomasio
How would that help me? That's just another program that does more or less the same Windows does, but doesn't mention which API commands one needs to get this output. It's open source, meaning one could look into the code and try to figure out the relevant commands but we all know figuring out what someone elses code does takes far longer than …
Re: Read file properties of video files in C++
Programming
Software Development
3 Weeks Ago
by pritaeas
> It's open source, meaning one could look into the code That's the way I learn... There is no real Windows API to read video info, as this info is different for each video format. With the Windows Property System you can read some information, but it is not accessible with all platforms. Personally I'd choose to learn how to read the …
Re: How NOT to do business online
Digital Media
Digital Marketing
3 Weeks Ago
by Dani
Not that it is an excuse, but I would like to offer up an explanation, if I may. You can [see here](https://www.daniweb.com/programming/web-development/threads/541688/airtm-api-how-to-build-a-form) that only 4 days ago, FarrisFahad had a button to pay by Paypal on his website, and wants to convert it into utilizing a payment API (e.g. something …
Re: DaniWeb Auto Answer A.I. feature
Community Center
Meta DaniWeb
2 Weeks Ago
by toneewa
An RTX 30 or 40 series card with 8GB of VRAM. ~$299. There is no support with Wine a user has reported. There was a link to a [python api](https://github.com/rpehkone/Chat-With-RTX-python-api). That was just an example and a thought, but not limited there. There's creative solutions. Having only users with an RTX card can use the feature, …
Re: Do you participate in any other communities?
Community Center
Geeks' Lounge
4 Weeks Ago
by Dani
Oh, and as for Reddit, Google has taken a very keen interest in Reddit as of recently. They just began paying them for full access to their internal API to get a stream of all Reddit content. Plus they just very recently IPO'ed a few days ago and their stock is doing quite well. (I bought a little on opening day).
Re: DaniWeb Auto Answer A.I. feature
Community Center
Meta DaniWeb
2 Weeks Ago
by Dani
Currently, when you ask a question on DaniWeb, as you type in the title and message, we perform a search against all of our existing content to see if a similar question has already been asked. However, I do admit that I don't have any experience with ChatGPT nor do I know how to train an AI model. From my understanding, the API costs money, …
Re: DaniWeb Auto Answer A.I. feature
Community Center
Meta DaniWeb
2 Weeks Ago
by Dani
That looks interesting. It’s not relevant to us because we would need an expensive GTX video card, Windows computer, and there’s no API … but it looks intriguing :)
Re: DaniWeb Auto Answer A.I. feature
Community Center
Meta DaniWeb
2 Weeks Ago
by Dani
Pardon my cluelessness here. A $300 video card can efficiently perform complex AI tasks against DaniWeb’s entire database in real time? Missed the link to the Python API.
Re: DaniWeb Auto Answer A.I. feature
Community Center
Meta DaniWeb
2 Weeks Ago
by toneewa
I did some sample testing, and parsed a thread topic for the dataset. Reducing the footprint from 220kb to 26.5kb. All in 0.43 seconds. It doesn't use any API. Just the patterns I saw in the code. It took another 6 seconds to embed too Chat with RTX. Then, not deducting for the deleted threads, this could be a lot smaller, and quicker than …
Re: Improve HAVING BY performance
Programming
Databases
3 Weeks Ago
by Dani
I'm too exhausted for an in depth explanation right now but 90% of web development is optimizing for performance. The average DaniWeb page takes anywhere from 80ms up to 250ms to load the HTML (when dealing with low network latency), depending on the type of page, so shaving 50ms off of that is a huge win.
Re: Improve HAVING BY performance
Programming
Databases
3 Weeks Ago
by Dani
> Point #2 would apply if the improvement was noticible but I doubt anyone could seriously comment, "I think this page rendered 50ms faster than it used to", especially considering all the other things that affect timing, for example, the current loading on my ISP servers, anything else running on my computer or home network, etc. …
Re: AirTM API: How to Build a Form?
Programming
Web Development
4 Weeks Ago
by pritaeas
You cannot safely use a form to post directly to AirTM. Post to your own PHP script, which can then use curl to make the request, including headers.
Re: AirTM API: How to Build a Form?
Programming
Web Development
2 Weeks Ago
by pritaeas
https://docs.airtm.com/purchases-payins/create-purchase You can choose PHP in the dropdown above the sample code. That way you can see what your PHP should contain.
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
3 Weeks Ago
by david.tigner
Ran into some new issues. Here goes. In order to download PHPMailer, must download Composer. In order to install Composer, need a Command Line PHP.exe file. I do not have one of these. I have been using PHP services from URL provider, 1 & 1/Ionos since 2011. They said in order to get a Command Line PHP.exe file, requires SSH to 'Connect to …
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
3 Weeks Ago
by Biiim
You don't need composer or access to the php.exe. just locate the PHPmailer Directory into your web root, to keep it simple and the require links should point to where it is located. mine is `require 'includes/PHPMailer/src/PHPMailer.php';` cause I put it in a folder called includes, this should be relative to the file that is using it.…
Re: Read file properties of video files in C++
Programming
Software Development
3 Weeks Ago
by pritaeas
Here's a good place to start: https://mediaarea.net/en/MediaInfo
Re: Read file properties of video files in C++
Programming
Software Development
3 Weeks Ago
by rproffitt
When you asked for runtime you triggered a memory from long ago where MP3 runtimes were at times wildly inaccurate. Just like the man who was turned into a newt in Monty Python who said "I got better", such are better now but I still read complaints it's not exact. So here's the thing, you may want that runtime but it's not always …
Re: Read file properties of video files in C++
Programming
Software Development
3 Weeks Ago
by rproffitt
Regarding "doesn't open the file". I've used so many tools over the years to profile and log what apps access that I can write that Windows does open the file for a peek. And then we have the problem that many files don't have duration. https://www.loc.gov/preservation/digital/formats/fdd/fdd000105.shtml is for MP3 and it's not in …
Re: Read file properties of video files in C++
Programming
Software Development
3 Weeks Ago
by Salem
If you want to know what windows is up to when you do something, then try using https://learn.microsoft.com/en-us/sysinternals/downloads/procmon
Re: Read file properties of video files in C++
Programming
Software Development
2 Weeks Ago
by Thomasio
Thanks @toneewa that looks like what I want, at least a basis from where I can try to work it out for my needs.
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC