I am developing a small application using tapi. Well main problem is i can not have input and output voice at same time.after many search i found i should have full-duplex modem and TSP. But my modem is full-duplex so i guess all these problems is because of unimodem.tsp which does not support full-duplex. I decided to use other TSPs , but i do not know how to tell my TAPI object use another TSP not always unimodem.
Well with this situation, i should have one way voice, ok? (cause unimodem is half-duplex) but here we have another problem. I do not have any voice, not out going and neither incoming voice. It is weird. in events first i receive
but after it another event raise, it says
I found this error into callmedia event:
JulMar.Tapi3.TapiException (0x8007000E): Not enough storage is available to complete this operation.
What it means "Not enough storage is available to complete this operation"?
I have much free memory, So what is it trying to say!?
I increased PageFile for virtual memory. Nothing changed.
I read somewhere i should not call COM object many times. But I have no idea, Cause it is event, i have no control how much event Tapi server raise.
[It is with Julmar and c#, but why i post this here, cause i think it is more ralted to COM and unmanaged tapi codes, and maybe memory management. ]
I haven't direct experience with the issue, but as far I can see the error isn't to be interpreted as memory problem, but missing resource.
Probably what is not found is the codec, specifically the ACM.
Try to look if it is available and connected.
Thank you to reply.
I forgot to say, in 4days before it was working, and i could hear one way voice(outgoing call in dialing, and incoming voice when answer call), also i could play wave file, and record conversations. I do not know what happened exactly, but i guess i changed modem .INF file in trying to full-duplex support, and all failed after it, then i reinstalled previous modem.
Also i do not know about ACM Codecs, i google it when i be in my work place.
I have Binary Data to be included in a DLL. The Tool I have developed to generate this data, currently creates a BYTE array in a CPP File. This File is subsequently compiled into an .obj File as part of the project, and linked in the normal way with the linker. The next step forward would be to have the Tool produce an obj file in the first place. Anyone any ideas how to do this? Microsoft maintains that .obj files are standard COFF Files. I know from experience that this is not strictly the case. In any case there is very little documentation about the further details, such as identification of sections of the Obj File, etc. I would need to produce a File that meets the minimum MS Linking Spec. There is only One 'C' linkable variable, the name of the array.
Has anyone any ideas?
The format MS uses is standard indeeded, it is named PE (portable executable), and you can get whole documentation here[^]. It is made public to avoid penalties from antitrust because, if hided, it could be seen as an abuse.
It is based on COFF, and its almost the same, apart from the interpretation of location offsets that are different.
You can create a PE object header, include your data in an initialized data section and create a symbbol in relocation..
But if only need to access that data in the DLL the really easy solution is, as they already told you, to create a resource and use it.
I am looking for an automated tool or script that will take a huge Borland C++ buider project and convert it into Visual Studio .NET project. A full conversion is not necessary, rather a starting point for manual intervention.
So, after researches, i focused on the vcl conversion part to .Net, win api, so i want to know if is there a tool that can do this , at worst, just partially,
I converted MFC application to 64 bit using VS 2013. My exe is working in Release build.But As I run in Debug Build,it pops up with Window error saying "The Application was unable to start correctly(0x0c000007b).Click OK to close the application."
After Google, I tried different methods As suggested [Copied mfc100.dll,mfc00u.dll,msvcp100.dll,msvcr100.dll,msvcr100_clr0400.dll] to System32 folder.
I installed vs2010,vs2013 redistributable package too bt no Luck.
Debug builds are not intended to be run on other machines than the development system. So try to start your program in the debugger of your VS. If that works, all is OK.
Debug builds are linked to special versions of the runtime DLLs which did not exist on machines that have no VS installed. While it would be possible to copy these special DLLs, you should know that you are not allowed to do so.
Check the debug output window to see when the error appears. You may set a breakpoint at your InitInstance method. If the error appears before that it may be some DLL that does not match. Does your application uses some self-build or other non-MS DLLs? If so ensure that these DLLs are present as 64-bit versions. Check also your debug project settings for those DDLs to ensure that there is no entry to an old one.
The MS / MFC specific debug DLLs should be already present on your system (they have the letter 'd' at the end of the name).
This error comes on 64bits OS's when the loader try to link a wrong DLL (typically a 32bits DLL in a 64bits executable).
Check again your project and verify that you are correctly linking to 64bits versions of all DLL's.
Maybe your program use a DLL built for 32bits. The linking could complete even with wrong import library, then the error is triggered at loading time.
The most common case is when a manifest is present in whichever library reporting X86 build, the loader, and this made me mad, testardly try to load 32bits version of commctl32.dll
Using Excel Automation in Visual Studio 2010 C++, how do I define a name? As a user of Excel, you can enter a name that then can be used in formulas to refer to a range of cells. The range changes as the user inserts columns or rows. My program has worked with various versions of Excel dating back to the early 2000’s. I have a bunch of classes derived from COleDispatchDriver: CXLApplication, CXLRange, CXLWorkbook, CXLWorkbooks, and CXLWorksheet that have many functions, but I have no documentation (anybody have any clues on where to find documentation?). Anyone know how to define a named range using functions of these classes (probably CXLRange)?
These classes were generated years ago from the Excel type library using Class Wizard. I note that these classes can be generated using Class Wizard on Visual Studio 2010 as well: MFC Class Wizard->Add Class (arrow)->MFC Class from Typelib...->Add Class from Typelib Wizard->Available Type libraries: Microsoft Excel 15.0 Object Library<1.8>. Then you add the classes, using whatever names you want and the files are automatically generated. However, the classes in my legacy code are a bit different than later versions of Excel. Also if you know where to find documentation for these classes, it would be much appreciated.
I have tried making the preprocessor directive in the funcdefs.h file lower case (didn't make any difference) and have checked the include path using -H and it seems to find the file but cannot get it to link.