Search Results

Showing results 1 to 25 of 25
Search took 0.00 seconds.
Search: Posts Made By: asifjavaid ; Forum: C++ and child forums
Forum: C++ Mar 20th, 2009
Replies: 1
Views: 359
Posted By asifjavaid
Hi,

I have a file of approximately 4.19GB. I want to get the totall size of file using code in VC++, Here is my code

FILE *fptrSampleVideo = fopen(filename,"rb+");

if(fptrSampleVideo)
{
...
Forum: C++ Jan 28th, 2009
Replies: 2
Views: 1,431
Posted By asifjavaid
Hi,



I am in problem. I have written some code in VC++.NET 2008. It is using third part AMT SDK. It is using file handling of C using fopen() function. The file are opened in binary mode (rb)....
Forum: C++ Dec 12th, 2008
Replies: 1
Views: 492
Posted By asifjavaid
Hi,

I have an application which is currently in VC++.NET 2003. It is using two static libraries,

1. mfc71d.lib
2. wsock32.lib.

Now I want to convert this application in VC++.NET 2005. But...
Forum: C++ Dec 5th, 2008
Replies: 4
Views: 561
Posted By asifjavaid
Hi,

These links are for C#.NET. I need to know the COM Programming in C++.NET 2005
Forum: C++ Dec 5th, 2008
Replies: 4
Views: 561
Posted By asifjavaid
Hi,

I am new to COM Programming.

I want to initialize COM library. I am calling

hr = CoInitializeEX(NULL);

but hr = S_FAIL. and my code is stopped.
Forum: C++ Nov 10th, 2008
Replies: 4
Views: 503
Posted By asifjavaid
Thanks a lot.
Ancient Dragon. you have solved my problem. I have register the required dll and now its working perfectly.

--
Regards,
Asif
Forum: C++ Nov 7th, 2008
Replies: 4
Views: 503
Posted By asifjavaid
Hi,

Cryptographer is a namespace. and it has different structs and classes. TMMPlayerHelper is declared as struct in this namespace.

I did not perform any registration step because i did not...
Forum: C++ Nov 7th, 2008
Replies: 5
Views: 416
Posted By asifjavaid
hi,

your mistake is here,


void printPopulations(double startPop, double birthRate, double deathRate, int numYears)
{

for ( int i = 0 ; i < numYears ; i++ )
{
Forum: C++ Nov 7th, 2008
Replies: 2
Views: 688
Posted By asifjavaid
hi
which tool or language you using now.

In VC++.NET or C#,VB, there is property "SelectedItems" which returns a collection(array) of currently selected items.


--
Regards,
Asif
Forum: C++ Nov 7th, 2008
Replies: 8
Views: 500
Posted By asifjavaid
Hi,

Please write the body of move function before bDisplay() function. Your mistake is that
You are calling the move() function before, but you are defining its body after your calling...
Forum: C++ Nov 7th, 2008
Replies: 3
Views: 823
Posted By asifjavaid
Hi,

There are two modes of programming in Borland C++.

1. text mode
2. graphics mode.

In text mode, we have 80 columns and 50 rows in windows xp but in graphics mode, we have 640 columns...
Forum: C++ Nov 7th, 2008
Replies: 4
Views: 503
Posted By asifjavaid
Hi,

I working on COM Components in VC++.NET 2005,


HRESULT hr = spCrypt.CoCreateInstance(__uuidof(Cryptographer::TMMPlayerHelper), 0);
if( FAILED(hr) )
spCrypt = 0;

I am...
Forum: C++ Oct 31st, 2008
Replies: 1
Views: 299
Posted By asifjavaid
I have make a win32 dll in VC++.NET 2005. It contains a simple add funtion.

I have also make a console client application in VC++.NET 2005.
how can i access that add function in my client...
Forum: C++ Oct 31st, 2008
Replies: 1
Views: 1,712
Posted By asifjavaid
Hi sir,


I am making a win32 dll in VC++.NET 2005. I make an add funtion in it and then i call it from C# using System.Runtime.InteropServices;

[DllImport("MXFWrapperMarvel.dll", EntryPoint =...
Forum: C++ Oct 22nd, 2008
Replies: 2
Views: 1,449
Posted By asifjavaid
Hi all guys,

I am using MS VC++.NET 2003
I have also installed MS VS++2005 and 2008 on the same computer.

Now when I ran the previous programs which are programed in VC++2003, now I am facing...
Forum: C++ Sep 29th, 2008
Replies: 0
Views: 395
Posted By asifjavaid
Hi guys,

Hope you are fine by all means.

I am developing a video plugin in VC++.NET by using directshow filters. My software is getting input of wmv file and it will be uncompressed generating...
Forum: C++ Sep 24th, 2008
Replies: 2
Views: 1,242
Posted By asifjavaid
hi guys,

i have declared a char pointer. i am using this in itoa() function to convert integer data into hex data e.g
char * hexData= NULL;
itoa(1484820,hexData,16);
this...
Forum: C++ Sep 19th, 2008
Replies: 8
Views: 745
Posted By asifjavaid
Hi your code is absolutely right. It is working correctly I have tested it. Well I think your calling is not correct.

currnode->contact).print; //this is not correct



...
Forum: C++ Sep 19th, 2008
Replies: 8
Views: 1,998
Posted By asifjavaid
Well hurrah! Ancient Dragon sir you great, Thanks for you good help. I have solved my problem. Many Many.thanks
Forum: C++ Sep 19th, 2008
Replies: 8
Views: 1,998
Posted By asifjavaid
Well sir hurrah! this is now works for me

vt->bstrVal = SysAllocString(L"Video.bin");



But sir another issue now comes that after successfull comiplation of my code when it executing the...
Forum: C++ Sep 19th, 2008
Replies: 8
Views: 1,998
Posted By asifjavaid
yup sir again it was my spelling mistake and now 1st error is removed but still 2nd error comes. It is saying about const OLECHAR *.... see

TestingDirectShowManually.cpp(312) : error C2664:...
Forum: C++ Sep 19th, 2008
Replies: 8
Views: 1,998
Posted By asifjavaid
Yup sorry sir that was my spelling mistake. But now here is another compile response...

error C2039: 'bstr_val' : is not a member of 'tagVARIANT'
: see declaration of 'tagVARIANT'...
Forum: C++ Sep 19th, 2008
Replies: 8
Views: 1,998
Posted By asifjavaid
Thank you so much for reply,

I which header file this function is sysAllocString() resides? Now the compiler gives me the following error.
'SysAllocateString': identifier not found, even with...
Forum: C++ Sep 19th, 2008
Replies: 8
Views: 1,998
Posted By asifjavaid
Hi fellows,

How can I set a value of any type in VARIANT const pointer? I am tried my best but vain. I am facing compile time error.

Here is sample code


VARIANT *v=NULL;
...
Forum: C++ Sep 8th, 2008
Replies: 1
Views: 467
Posted By asifjavaid
Hi all :) ,
I am working on video plug-in in C++.NET. I have a video file. Its size is not fixed. It can be in MBs or GBs. I have calculated sample size and sample count of video file and now I...
Showing results 1 to 25 of 25

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC