This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 11 years ago.
I have two pieces of source code for two dll files. They both work individually, but i need them to be put into one dll file.
The first source is here: http://pastebin.com/vqtNLca8
The second source is here: http://pastebin.com/yvFPEMkf
How can i make this one dll file?
Pass them both to LINK.EXE when you build the DLL.
You'll also want to disable one of the DllMain definitions, to avoid a symbol multiply defined error.
Related
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 10 years ago.
When I try to compile a C code again in DEV C++, the tool gives the error below. If I try to copy the same code in new file it works fine, but again I can't compile new code, needing to copy to another file again.
Permission denied ld returned 1 exit status
The program is probably running. You'll need to kill it before recompiling.
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 10 years ago.
I was just wondering what would be the easiest way to get WIX to append some lines to a configuration file (it is a matlab file) of other application, basically what I need is:
Find where a third party application is installed (that I can handle)
Append some lines to a configuration file of this third party application
I figure I would need to use a custom action right? But what would be the easiest way?
Thanks a lot!
It depends on what format the configuration file is but generally speaking, it's easiest to avoid custom actions altogether if possible.
For INI files, you can use the IniFile Element
For XML files, you can use the XmlConfig Element located in the WiX Util Extension
I ended up using a custom action.
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 10 years ago.
I am working on my minor project. I have to create an image editor in C. For that I want to handle mouse. As I know there are two approaches to handle mouse viz REQUEST MODE and EVENT MODE.
Over the past few days I have learnt Request mode but I'm having difficulty in performing a couple of things with request mode, so I decided to learn second approach i e Event mode. But unfortunately I can't find proper resources. It would be very nice of you if you can get me some examples and explanation of event mode approach.
look at this site
http://www3.telus.net/alexander_russell/course/introduction.htm
its a dos game programming site
there is a mouse section at chapter 4
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 11 years ago.
I'm trying to create a program using Xcode. The program is very simple, it uses threads.
I have done everything right. Or so I thought. This error comes up and I have do ideia what it means!
Command /Developer/usr/bin/gcc-4.2 failed with exit code 1
along with:
ld: duplicate symbol _thr_inc_low in (... a bunch of crap that is the directory of this file) main.o
Can you please help me?
It means you have multiple .o files or libraries that include the symbol _thr_inc_low.
One of the common reasons for this is defining an object in a header file (rather than just declaring it, say with an extern or a prototype) that is included in multiple source files.
Can't tell more without seeing the relevant parts of your source code.
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 12 years ago.
Does anyone have any statistics of how many iPhone/Android/RIM developers are out there?
There is no way to accurately answer that question. Google-ing may give you a good idea though, for example this page