Search:
Type: Posts; User: johanneshau
Search:
Search took 0.06 seconds.
-
June 28th, 2013, 04:20 AM
I do not have an MSVC-working source tree but *some* years ago I made a port to MS-DOS. I have it at home and I can provide it to you. Mail me johau (at) gmx (dot) net if you are interested.
The...
-
June 28th, 2013, 03:06 AM
Thank you for the hint!
I made a stripped-down program for better testing. One problem is that it happens sporadic.
After reading more about signals and timers I restructured the code (and added...
-
June 26th, 2013, 03:04 AM
Thanks for the replies so far.
Unforutnately I cannot post the complete code, since it is a commercial project.
The application is not (yet) multithreaded. The only other "thread" which is running...
-
June 25th, 2013, 10:45 AM
I am working on a console application under Linux. It transmits and receives data streams via special communication hardware (developed here in house). I am recording all data in RAM buffers (the...
-
I was doing a porting project from Linux/Unix to Windows, which involved a simple plugin system. It took me some googling and reading to find a working solution. Look at this thread:...
-
April 20th, 2013, 01:21 AM
It turned out that in the real application the declarations and manual loading stuff were quite involved (sometimes more code thatn the actual plugin ...). So I came up with some preprocessor stuff,...
-
April 18th, 2013, 03:43 PM
Thanks again for your time.
You gave me the right hint: I have to manually load the addresses of the symbols I want to use within the plugin in the plugin, best in the init_plugin() function. This...
-
April 18th, 2013, 11:11 AM
I tried "-Wl,--export-all-symbols" already; it did not work. I am using the dlfcn library from Ramiro Polla, which wraps the Windows API calls to the POSIX dlopen()/dlsym()/dlclose() calls. dlsym()...
-
April 18th, 2013, 04:11 AM
I read about these "dllexport" declarations and I would give it a try for a new, Windows-only project, but for my porting project this is not an option (I hope there will be another), since I cannot...
-
April 18th, 2013, 04:05 AM
I added a .zip archive to the original post.
-
April 17th, 2013, 12:02 PM
Hi,
I am porting an application from Linux to Windows. Since it is a GTK app most of the stuff works; I have to touch a little here and there. One problem though I cannot find the solution as it...
-
September 19th, 2011, 05:03 AM
Thanks for the hint! I already use this IO ctrl but somehow I missed the contents of the BATTERY_STATUS struct. As it turns out, the current voltage is not what I want but rather a "design voltage"...
-
September 12th, 2011, 06:32 AM
Hi,
I made a small application which gives the user information about the current state and wear of their's laptop battery. Its functionality and UI is similar to CoconutBattery in the MacOSX...
-
December 3rd, 2009, 05:08 AM
You can use the global variables __argc and __argv (and probably __envp), which contain the cmdline arguments like in a standard C program
-
September 17th, 2009, 06:11 AM
@MoHammaD_93: He is using the MinGW compiler, which IS a Windows compiler...
@computerfreaker:
The Microsoft compiler uses a strange concept using a .lib file. It seems to be some kind of...
-
September 4th, 2009, 04:16 AM
fairly simple ;-)
Thanks!
-
September 2nd, 2009, 08:53 AM
Thank you for the answer, and so quick! Ah, I see. I have to move the loader code to a separate thread and return immediately from the window callback function. When the thread is finished it has to...
-
September 2nd, 2009, 05:22 AM
The correct way to do this is by a read-modify-write operation, this way all other attributes will remain intact:
SetFileAttributes (filename, GetFileAttributes(filename)&~FILE_ATTRIBUTE_ARCHIVE);
-
September 2nd, 2009, 05:11 AM
It depends on the type of the printer. I only recently discovered that there is an lpr.exe program in Windows (at least XP; probably w2k; NT4?, W9x??). How to do it from a program see attached files....
-
September 2nd, 2009, 03:35 AM
Hi,
I am new here and I hope this is the right forum for my question. I am an experienced C programmer but rather in the embedded and/or Linux world. Windows GUI programming seems somewhat .. eh...
|
Click Here to Expand Forum to Full Width
|