|
|
Thank you but there is also note:
This SDK does not support working with Microsoft Visual C/C++®, 6.0 as support for VC 6.0 has ended
rrrado
|
|
|
|
|
sorry last answer had to be for previous link.
This one seems to be working, thank you !
rrrado
|
|
|
|
|
Hi all,
i want to access remote folders in a network. I am using NetUseAdd(...) Api, i am able to establish a connection to the Remote Machine what shall i do to access the Remote Folders.
thanks,
uday.
uday kiran
uday kiran
|
|
|
|
|
Would be simpler to just open "\\MachineNameInYourNetwork\SharedFolder\"? Any problem with that? Good luck!
|
|
|
|
|
Once you have mapped a drive letter to the remote machine, accessing a folder on it is done exactly like you would for any other folder on your local machine.
However, you might be better served to use UNC instead of bothering with NetUseAdd() and drive letters.
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
|
|
|
|
|
You can use normal SDK function FindFristFile/FindNextFile() with WIN32_FIND_DATA's cFilename as "\\<server>\<share folder="" which="" you="" want="" to="" access="">\" .Make sure to share the folder.
Best Regards,
Deepu
|
|
|
|
|
I'm not asking how to do this, but I am asking if there is an alternative to using Automation.
After running some tests I am not happy with the performance. 1000 rows of 20 columns being read in 30 seconds, obviously cpu speed changes this, and my machine is quite fast. This is pure read and does not accout for the time taken to create an Excel object.
So has anybody come across any alternatives or third party libraries? A raw read of the xls file would be great, and anything that doesn't require MS Excel to be installed would be a good compromise.
Most of what I can find are shareware/buyware often with limitations.
|
|
|
|
|
If you're just using it as a data source, rather then trying to use any of it's automation features, you can get the data via ODBC, which I've found to be a lot quicker then using it via automation.
- Dy
|
|
|
|
|
Thanks for the suggestion. Yes I'm using it as a datasource, basically get the data from a cell and append it to the exe's own file system. So I am only ever reading and never writing.
|
|
|
|
|
|
After doing some further reading about ODBC, I have discovered that it would still require an Excel driver to be installed on the machine, and that this driver is part of the MS Excel installation.
I have however found a few projects on sourceforge which read the xls file directly, however they are written in foreign to me programin languages namely C# and .NET. I have decided to add another project to my "things to do" list, and that is to create a BIFF reader in plain C.
|
|
|
|
|
hi all,
how to acess messages from MSMQ Events when message arrived from source to Destination in OnArrived() function.
thanks,
uday.
uday kiran
-- modified at 7:33 Wednesday 12th April, 2006
|
|
|
|
|
TMetafile *pMetafile = new TMetafile;<br />
TMetafileCanvas *pCanvas = new TMetafileCanvas(pMetafile, 0);<br />
pCanvas->Brush->Color = clRed;<br />
pCanvas->Ellipse(0,0,100,100);<br />
<br />
FILE *fpW;<br />
fpW=fopen("h","wb") ;<br />
fwrite(pMetafile,sizeof(*pMetafile),1,fpW);<br />
fclose(fpW);<br />
delete pCanvas;<br />
<big>delete pMetafile;
<br />
TMetafile *pMetafile1 = new TMetafile;<br />
fpW=fopen("h","rb");<br />
fread(pMetafile1,sizeof(*pMetafile1),1,fpW);<br />
fclose(fpW) ;<br />
Form1->Canvas->Draw(0,0,pMetafile1);
If the pMetafile is deleted after saving the data into file then the code will not draw Ellipse. Is it there any way to store and retrive the Metafile Info.
|
|
|
|
|
Try sizeof(TMetafile),looks like you did not save the metafile.
Best Regards,
Deepu
|
|
|
|
|
Dear friends,
is there any one help me to develop an IVR(Interactive Voice Response) system using TAPI and any language(i prefer VisualC).
Thanks alot
-- modified at 7:18 Tuesday 11th April, 2006
|
|
|
|
|
|
asdf1753 wrote: is there any one help me to develop an IVR(Interactive Voice Response) system using TAPI and any language(i prefer VisualC).
Start reading article on tapi, here would be good start http://www.codeproject.com/vbscript/tapi.asp
|
|
|
|
|
i have read all of these articles but none of them not about IVR, and they are about data communication and playback wave and record wave only.
|
|
|
|
|
|
|
I've created a dll in C++ which I would like to import in a C# project.
I managed to import the dll and create an object of 1 of the classes, but none of the functions are exposed into the .NET project.
What have I done wrong? All the functions are public.
Code looks like this:
<br />
namespace MyNS {<br />
public class MyClass : public COleDispatchDriver{<br />
public:<br />
MyClass() {}
MyClass(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}<br />
MyClass(const Iicall& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}<br />
<br />
public:<br />
<br />
public:<br />
};<br />
}<br />
There is also a thread in the C# forum, I know, I'm looking for this for some time and I just can't find the solution
tnx in advance.
Coulda, woulda, shoulda doesn't matter if you don't.
|
|
|
|
|
C# is like Managed C++...
moreover, i think there might be a problem with the namespace.
|
|
|
|
|
v2.0 wrote: C# is like Managed C++...
yes, kinda, but I don't understand what that's got to do with it.
v2.0 wrote: there might be a problem with the namespace
What do you mean? Anyway, I managed the same without the namespace (but still no exposed functions).
tnx for the answer.
Coulda, woulda, shoulda doesn't matter if you don't.
|
|
|
|
|
V. wrote: yes, kinda, but I don't understand what that's got to do with it.
i dont know MC++, but isn't there any __gc stuff to place somewhere ?
|
|
|
|