Ok, thanks!
Type: Posts; User: Opariti
Ok, thanks!
Hi,
I have used long time ago ODBC to connect in C with database engine drivers. I would like to know what would be the currently best opensource library so that I can use external SQL databases...
Thanks again, useful exchange, I'm on the same page with you. To clarify, OpenSSL does more than I need, but I found the solution.
Thanks, interesting. What would be the options, knowing that my C app is server and the client is Angular. This said, what would be the appropriate C solution/library?
I have a C project in Visual Studio 2017.
I need to hash as SHA1 string a message to generate a session ID. Looking for a hash function I've been driven to OpenSSL library but I have the feeling...
Thanks Salem for your assistance.
I have solved the problem, which, in fact, was about event + callback. I just used signal(SIGINT, callback) in main, and raise(SIGINT) in the thread.
Now about...
In fact this is my top description case:
I have a main program in C that does machine learning in an infinite loop, just printing out from time to time, at the console, about different processing...
You are right regarding the architecture complexity. But there are several reasons for taking out message processing from the TCP server (one is multi-user).
Now, to structure my need:
- I have a...
I need to add a TCP server to an existing code. The TCP server is started as a thread and it should raise an event to the parent as soon as a message is received in the socket from a client. The...
Hi,
I am looking for a tutorial or a reference of how to use wbtrv32.dll API in a C program.
Thanks to anyone having a link or hands-on experience with this API.
Thanks everybody for the time spent on this issue. I have tried the template and inline options, it builds ok but error in link. The phantomotap explanation is rigurous, the solution is heeeeeeavy...
Thanks Jim,
I keep my question because, as I've mentioned, I have to do so. But what would be the code then as you propose?
Thanks
Hi,
I need to define a macro in a header file in C++ which is called lots of time in the application (for particular, thus non-negociable, log reasons).
I have created the macro as following:
...
Many thanks freddie, that's it! Somewhere in my mind 'string' was in the C++ language set, which is not true, it is a class. The reference to use is char* or char[].
I'm using Visual Studio 2010 Professional - old, but I have to use this one. The build toolset is marked as V100.
I create a C++ empty project, with, for the beginning, just <Windows.h> to include....
Hi,
I'm developing for Android NDK under Eclipse in Ubuntu.
Lately I have to create a C++11 .so shared library and call it by a JNI code.
I'm not mastering the Android NDK build process and...
Hi guys,
I have a C/C++ project coded with conditional compiling in the header files, that I initially created with Visual Studio 2010/Windows 7/32 bit. And it built and ran perfectly.
Then I...
Thanks. I have arrived to compare OpenSL ES and ALSA. While ALSA is the lowest level to the Linux kernel its use doesn't provide portability. The Android interface to it is OpenSL ES which is a...
Hi,
I am currently doing audio development in Java under Android, and experiencing significant latency, which is very upsetting. I am skilled in using the NDK and doing C/C++ coding at sysinternals...
Hi,
I'd like to know if there is an elegant way in .net for temporarily locking the access to a set of files to other users.
I can handle (copy, move etc.) something like 100 files in one shot, the...
Hi,
I'd like to know if there is any mean of accessing a native window win32 structure from its handle passed to a .net assembly.
In theory it would be possible since the handle is a system unique...
Thanks, that's it, I've already tried with & and went on.
The explanation is clear!
Just in case, though out of the forum: do you know how could I pick up the handle as a IntPtr in C# (from a 4...
Thanks Bubba!
I've got the solution from Microsoft. There is no other method for this mechanism. Therefore, using ExecuteInDefaultAppDomain is the only one allowed to do that and it sends a string...
Hi experts!
I'm trying to use a memory shared (memory mapped files) mechanism to transmit a window handle (HWND type) from C to C#. I've successfully used it to transmit strings.
In the case of...
Hi,
I'm using a very simple Inter Process Communication using the ICLRRuntimeHost interface and it's method ExecuteInDefaultAppDomain.
This approach allows to make communications between a C...