exporting a function from a static library.
I am interested in using my static lib to create a dll (implicitly linking). which means I need to (in vs2008) create a dll project that should generate the following:
1. header file (which have exported function declarations. These are simple wrappers to actual functions in the static lib and are using __declspec(dllexport) which are in the dll centric .cpp file)
2. import lib which will be made as a result of creating the dll
3. the actual dll which is created.
Now this is what I have:
I have made a test program that will utilize the above dll(including the import lib/header files) to test it. in this I have included all the three items. now the exe compiles/links without issue.
however in the main.cpp when I call the exported functions they seem to see the exported dlls.but can't seem to execute the static library functions which they wrap.
1. how do I get them to see those functions?
2. is there an easier way to do this such that I still share my static library but now if anyone wants to create a dll they can because I have added "the exported functioncapability" to my static lib? OR do I just need to provide them with a imported library from my dll which has all my static library obj files as well? (I thought I did that when I made my dll but maybe just adding that as a reference to create the dll in vs2008 does not work?
ntdll.dll not found
While running a VC++ code [visual studio 6], I got error : NTDLL.DLL not found and every VC++ project is failing to run.
I am working on this project for a month. Now I don't know what happened?
I am trying to register a dll on one of our employees computers, it has XP service pack 2, and when I run regsvr32 it just sits there if I go into Task Manager under Processes, you can see it there but it's getting no time.
I even set the priority to high and nothing. I have run regsvr32 on other computers with no problems. how can I get this to run successfully. I am trying to register a crystal reports dll.
craxdrt9.dll it's a pretty common dll, and like I said I have no problems with other computers.
force a process to release a dll
I got one of those lovely spyware things where it says u have a virus download the new software then it opens ie and says DOWNLOAD NOW!.
I have been able to track which dll file it uses (tntftqqf.dll), its in the system32 folder.and not even in safe mode will it let me delete, because its in use.
user32.dll was relocated in memory
While I am trying to install a I am getting a error that user32.dll was relocated in memory.the application will not run properly.the relocation occurred because the dll c:\windows\system32\shell32.dll occupied an address range reserved for windows system dlls.the vendor supplying the dll should be contacted for a new dll.
so I cannot able to install thesoftware.
Error loading Iernonce.dll
When any of the users set up on my PC logs in, the following message is displayed:
Error loading C:\windows\system32\iernonce.dll
The specified module could not be found.
I press OK and experience no system problems, what is causing this and how do I fix it?
I have Windows 7 32 bit Intel core i5 processor SP1 4.5 GB RAM
Modifying "Save in:" in Windows 7
I would like to modify the left portion of the Save file/attachment/etc. window. Currently it shows the following:
My Recent Documents
My Network Places
I have been burnt in the past with a lockup or crash which has made me re-think the way I use hard drives. Now only the OS and programs are installed on the "C" drive, with the "D" drive containing my Downloads, My Documents, My Pictures, etc. files.
I want to add these as locations to save to from Windows Explorer, or applications. To do this, I have to modify the Save In portion of the save windows for those applications.
Is there an easy (or moderately difficult) means to do this? It would sure make life easier. Now I have to go to My Computer and then through all the folders on my D drive to get to where I want to go.
Even the "My Recent Documents" doesn't always show any locations on the 'D' drive. Is there a common place or adjustment for all applications, or is this application dependent?
PS I do not like the "Libraries" feature of Windows 7 - it adds too much overhead. I have to scroll past the default settings to get to my usable locations.
Limit on opening multiple documents from Windows Explorer
Today I tried to open of the Word documents in a directory. something I've done routinely in every version of Windows since Windows NT. and nothing happened.
My usual technique is to select all of the files I want to open and press Enter. When that failed, I tried right click/Open. That didn't work either; the Open command wasn't on the menu.
I found that I can open 15 files at once, but not 16.
This is not a Word problem. When I try to open multiple PDFs, the same thing happens.
saving from e-mail or...
When I use tools>save as, of something coming in through e-mail, where do I find it? I am not given a choice of " documents," to save it in, only various html archives. sambacat
Save client-side modified excel file to database
I have a webform which has iframes and one of iframes rendering excel content that users modify. I want to save modified excel page clicking a button (saving client-side then uploading file is not acceptable way because users have no save permissions) to webserver thus database.
How can I do this? Note: this is a local application meaning runs on intranet.
Can't download .exe files to my desktop
When I save an .exe file to my desktop, this is the error message:
"Could not be saved because you cannot change the contents of that folder. Change the folder properties and try again or try to save to a different location"
I want to save the .exe to my desktop like I've done it a hundred times before with no problem then install the program to a designated location on my C/D drive.
Open Like Program Next To Each Other On Task Bar
On my home computer, when I have many program open, If I open something like firefox all the firefoxes are next to each other, NOT grouped.
They just open next to each other. Anyone know how this functionality is controlled? I have the Anthracite Vista theme installed on both computers by the way.
No Administrator Permission to save file
This is a boring error and I am sure there is a simple answer but it has defeated me.
My PC is a stand alone built tower desktop linked to the Internet with password access. There is no one else who uses the kit. I have Windows 7 Home Premium and Microsoft Office 2007.
Why is it that when I try to save anything I download into a folder in the My Document's library I am informed that I do not have permission and but it can be saved in the Owners area?
I usually backtrack and save it on the desktop. That is allowed but I then have to transfer the file. Tedious and time consuming and irritating!
My removable drive won't open
I having a problem with my removable drive, when I go to My Computer and try to open it by double clicking it, a box appears that says Open With and then it list a bunch of programs. While on My Computer if I try to open it by doing right click instead of getting the Open and Explore options I just get this weird symbols: o'?a(O) something like that. It was working before.
Multimonitor Window Placement
New PC. Windows 7. My video card controls my multiple monitors as one big desktop (through Catalyst Control Center).
How do I set the default location for windows opened by Windows 7 itself?
Programs are pretty much going where I want them to go.
But Windows dialog boxes (like "open" and "save") and warning boxes are popping up right in the middle of my monitor set - divided by the physical edges of the monitors.
Is there a way to set these so that they open something like 10% of the pixels from the top, and 10% from the left?
Word and excel opening/reading problem
I have a problem of opening ms word and excel files on my computer. The files are there for a long time. I use to open and modify them. Suddenly, when I try to open the word files, a dialog box appears that says "There was an error opening the file".
when I try to open the excel files, a dialog box appears that says "File format not valid". I have tried to create a new word and excel files, save them and when I try to open these new files, they are opened with no error.
However, all the older files do not open and show the above message. I also tried to repair and reload office 2003, system restore, but the problem is there.
I can open any new word and excel files, but the problem is with the older ones. I don't think the problem is with ms office. Because, if the problem is with ms office, it wouldn't have opened the new files.
Microsoft Excel 2007 automatically opening PERSONAL.XLSB
When I currently open Excel 2007, Excel automatically opens PERSONAL.XLSB.
I want Excel to automatically open a new sheet instead, (like it used to). Is there any way to do this while still having the macros in PERSONAL.XLSB available?
I've located the file at .\AppData\Roaming\Microsoft\Excel\XLSTART, but if I remove the file the macros are no longer available.
Using windows 7 ultimate.
I generally start working on the spreadsheet that opens up, and it doesn't occur to me to save as a different file since I use quick save shortcuts (Ctrl-S). I have added macros to PERSONAL.XLSB, and don't want to remove them.
I don't want to have to Close the file and open a new one every time I start,
save changes in a shared workbook
I made an excel sheet and enabled the "shared workbook" option. now when I open it and save the changes that I have made it is showing an error message :
"File is locked"
MSDOS - How to open multiple programs from one batch script
I have a batch file that opens several programs as shown below:
rem Open Desktop Weather
"C:\Program Files\The Weather Channel FW\Desktop Weather\DesktopWeather.exe"
rem Open powerpoint into slide show
"C:\Program Files\Microsoft Office\OFFICE11\POWERPNT.exe" /s "C:\Documents and Settings\clintad\Desktop\template.ppt"
the script won't open the next program unless the first application is closed. I don't want to close any programs but open them all up.
Win 7 - Windows Explorer - Adobe Acrobat issue
I have Adobe Acrobat 10x deployed on both my Win7 desktop and WinXP laptop. When I open a PDF in the Win7 desktop, I cannot make changes and save the file. I get a File In Use error message. When I open the same file from the same directory using my WinXP desktop, I can edit and save the file normally.
No issues When I save the file to my Desktop and open directly from there (rather than finding it in an Explorer Window and opening it from there) I can edit and save the file normally.
No issues. If I get a PDF via email, I can open it, edit and save normally. No issues.
Thus, this issue only occurs with Adobe Acrobat, not any other programs. It only occurs when I drill down and find the file via Windows Explorer (or whatever it's called in Win7).
It appears to me that selecting the file in a Win7 Explorer Window locks the file as being in use.