Type: Posts; User: c94wjpn
Search took 0.02 seconds.
[ I concur with Hannes and DataMiser (see below); Question is therefore reinstated -BioPhysEngr ]
I know this sounds like a simple question, but let's not forget we're using MS technologies here....
If I declare a function in a header to be C-linkage, do I also need to declare its definition in the source file?
I've deleted your caveat, otherwise thanks for the answer.
I'm building a project, which is set to create a dll, and it's producing LNK2019 linking errors. ie it can't find dependencies. I thought that when you built a library you didn't need to provide it...
April 12th, 2012, 06:53 AM
I expect there is a privilege that will enable it. Which one?
April 12th, 2012, 03:32 AM
I'm calling BlockInput in user32.dll, and it's failing with 5 Access Denied when UAC is on. How do I deal with this?
April 5th, 2012, 12:20 PM
no, actually I think I need to look up boost BOOST_ALL_NO_LIB option.
April 5th, 2012, 12:17 PM
I have cleverly discovered what "link library dependencies" is all about. I think it means "link against project dependencies". Are Microsoft good at misleading people?
April 5th, 2012, 11:18 AM
I'm building an app and the error is
1>LINK : fatal error LNK1181: cannot open input file 'libboost_date_time-vc90-mt-sgd-1_42.lib'
and I haven't told it to link against this...
April 5th, 2012, 11:03 AM
... you missed the bit that said
Further, no-one has commented yet on the purpose of the "link library dependencies" option.
April 3rd, 2012, 03:12 AM
you miss the point of my statement "if I build app P against A, it will only do so successfully if project A knows about B's library files." To make it clearer for you, perhaps I should state it...
March 30th, 2012, 09:38 AM
b is what I'm aiming for. I seem to have achieved this, but I'd like confirmation that I'm doing it the right way: how do I build A.lib so as it copies everything it needs from B?
Further, will I...
March 29th, 2012, 11:27 AM
indeed, Paul, but you're not answering my questions. (1) is not going to happen. (2) is not viable either.
March 29th, 2012, 11:03 AM
i) if I tell project A where B's library files are, it produces an A.lib file which is bigger
ii) if I build app P against A, it will only do so successfully if project A knows about B's library...
March 29th, 2012, 10:37 AM
I'm building a library A which calls functions in library B. A depends on B.
I'm making an application P which calls functions in library A. That is, P depends on A. I want to arrange...
March 27th, 2012, 06:25 AM
how do you get windows to show you the security info of a process? If you right-click properties on a process in task manager it helpfully shows you the security details of the file, not...
March 22nd, 2012, 05:17 AM
Thanks for pointing this out. I am now getting the same error back from RegOpenKeyEx.
March 20th, 2012, 06:28 AM
Can someone tell me what I need to do to enumerate the subkeys of a registry key? Is there a special privilege for this which overrides the dacl or do I need to put an entry in the dacl...
September 4th, 2010, 05:31 PM
September 22nd, 2008, 04:05 PM
well done prasad. You're right.
October 23rd, 2007, 01:11 PM
well I think I've outgrown codeguru. Maybe I should quit.
I'm not creating an array. I'm creating a pointer to a memory block.
I think I shall take my problem elsewhere.
October 23rd, 2007, 11:14 AM
engage your brain please.
I can set a pointer to NULL if I want to - I'm not accessing it yet.
I have explicitly supplied a second dimension :
double q = 0; /// not ok. THE 8 IS THE...
October 23rd, 2007, 09:52 AM
Trying to define a pointer to a 2d array which has a stride of 8.
If I know that my doubles are in a consecutive memory block at location p, and the stride is 8, then the notations
October 23rd, 2007, 09:49 AM
you are defining a pointer to an array of pointers.
From looking at the memory blocks in a debugger, it is clear that
does not create an array of pointers.
October 23rd, 2007, 09:37 AM
I'm not defining an array.
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.